попробуйте:
=ARRAYFORMULA({Q2:Q, K2:K,
IF(V2:V="Gift Box Set 5lbs", "1", ),
IF(V2:V="Blue Oyster Mushroom 3lbs", "1", )})
или:
=ARRAYFORMULA(FILTER({Q2:Q, K2:K,
IF(V2:V="Gift Box Set 5lbs", "1", ),
IF(V2:V="Blue Oyster Mushroom 3lbs", "1", )},
REGEXMATCH(V2:V, "Gift Box Set 5lbs|Blue Oyster Mushroom 3lbs"))
или:
=QUERY(INDEX(IF(REGEXMATCH(V2:V, "Gift Box Set 5lbs|Blue Oyster Mushroom 3lbs"),
{Q2:Q, K2:K, ROW(A2:A)^0}, )),
"where Col3=1", 0)