1

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.

2
  • next time pls ask properly
    – user0
    Commented Jan 23, 2019 at 16:40
  • Thanks for editing the question. I should emphasize that I only want to substitute things in a specific column. I have edited the spreadsheet and your answer don't work anymore. Commented Jan 23, 2019 at 18:05

2 Answers 2

0

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

5

1
  • 1
    Thank you MMA, you've been a great help around here! Commented Jan 24, 2019 at 20:26
0

=ARRAYFORMULA(SUBSTITUTE(FILTER(A1:C20, B1:B20=2), "stuff", "blah"))

1

3
  • Thanks for editing the question. I should emphasize that I only want to substitute things in a specific column. I have edited the spreadsheet and your answer don't work anymore. Commented Jan 23, 2019 at 18:05
  • imgur.com/a/ylwZvj4 Commented Jan 24, 2019 at 7:51
  • @AllenSierra I see, added new answer
    – user0
    Commented Jan 24, 2019 at 13:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.