вставьте в ячейку D16 и перетащите вправо:
=ARRAYFORMULA(IFERROR(VLOOKUP(
{"Missed Item"; "Keying Error"; "Double Beep"; "Missed Shelf"; "Missed Bay"; "Total"},
{TRANSPOSE(Errors!$B$3:$G$3), IF(
TRANSPOSE(INDIRECT("Errors!"&ADDRESS(MAX(IF(Errors!$A:$A=$B$5,ROW($A:$A), )),
MATCH(FILTER(Errors!2:2, SEARCH(D15, Errors!2:2)), Errors!2:2, 0), 4)&
":"&ADDRESS(MAX(IF(Errors!$A:$A=$B$5,ROW($A:$A), )),
MATCH(FILTER(Errors!2:2, SEARCH(D15, Errors!2:2)), Errors!2:2, 0)+5, 4)))="", 0,
TRANSPOSE(INDIRECT("Errors!"&ADDRESS(MAX(IF(Errors!$A:$A=$B$5,ROW($A:$A), )),
MATCH(FILTER(Errors!2:2, SEARCH(D15, Errors!2:2)), Errors!2:2, 0), 4)&
":"&ADDRESS(MAX(IF(Errors!$A:$A=$B$5,ROW($A:$A), )),
MATCH(FILTER(Errors!2:2, SEARCH(D15, Errors!2:2)), Errors!2:2, 0)+5, 4))))}, 2, 0)))