Bobo72
Technical User
- Apr 7, 2004
- 19
Hi all,
I'm trying to look through multiple values in a cell and find out if the cell contains one of more values (OR):
Cell to search (example - cell A1): R10 R40 R44 R56 (text value)
Search function (doesn't work!): =IF(ISERROR(SEARCH("R10" OR "R30" OR "R88");"no match";"match ok"))
My question is: How do I make this work? I cannot use OR, neither '+'? Perhaps I can pass an array as parameter? Anyway I do it, Excel needs to know that as long as it finds one or more of the parameters in the 'array', there is a match.
Br and thanks,
Bo
I'm trying to look through multiple values in a cell and find out if the cell contains one of more values (OR):
Cell to search (example - cell A1): R10 R40 R44 R56 (text value)
Search function (doesn't work!): =IF(ISERROR(SEARCH("R10" OR "R30" OR "R88");"no match";"match ok"))
My question is: How do I make this work? I cannot use OR, neither '+'? Perhaps I can pass an array as parameter? Anyway I do it, Excel needs to know that as long as it finds one or more of the parameters in the 'array', there is a match.
Br and thanks,
Bo