Forum Discussion
Anonymous
Jul 25, 2019How can I insert a search box into a spreadsheet that searches comma separated values in cells?
......
SergeiBaklan
Jul 26, 2019Diamond Contributor
Deleted
For such sample
you may use B1 to enter terms, in B2 add the formula
=IFERROR(INDEX($A$11:$A$14,AGGREGATE(15,6,1/ISNUMBER(SEARCH($B$1,$B$11:$B$14))*(ROW($B$11:$B$14)-ROW($B$10)),ROW()-ROW($B$1))),"")
and drag it down.
Please see attached.
Anonymous
Jul 26, 2019......
- SergeiBaklanJul 26, 2019Diamond Contributor
Deleted ,
The workaround could be to wrap keywords by spaces and search for " apple ", not "apple", like
=IFERROR( INDEX($A$11:$A$14, AGGREGATE(15,6, 1/ISNUMBER(SEARCH(" " & $B$1 & " "," " & SUBSTITUTE($B$11:$B$14,","," ")))* (ROW($B$11:$B$14)-ROW($B$10)), ROW()-ROW($B$1) ) ), "")If there are spaces within your keywords you may use any other character instead of space. Please check attached.
- AnonymousJul 31, 2019
......
- SergeiBaklanJul 31, 2019Diamond Contributor
Deleted
This new editor doesn't allow to attach the file, it's the same as previous time, only TEXT(...) is added to the formula.