Google-sheets – Perform operation on specific column in filtered range, right after filtering

formulasgoogle sheetsgoogle-sheets-arrayformula

I have this formula in E2: =FILTER(A1:C20,B1:B20=2) and need to perform substitute like:

1

spreadsheet here

I'm hoping to do the formula in a single cell, without additional columns.

Best Answer

=ARRAYFORMULA(FILTER({A1:B, SUBSTITUTE(C1:C, "stuff", "blah")}, B1:B=2))

5