Forum Discussion
j_wilkinson305
Jan 06, 2022Copper Contributor
How to Search text and return multiple values
Hi all, I'm a newbie with Excel formulas and I am struggling with trying to search a product description and return multiple values depending on the content. In the example in the screenshot bel...
- Jan 06, 2022
=IF(OR(ISNUMBER(SEARCH("womens",A1)),ISNUMBER(SEARCH("ladies",A1))),"Ladies",IF(ISNUMBER(SEARCH("boys",A1)),"Boys",IF(ISNUMBER(SEARCH("girls",A1)),"Girls",IF(ISNUMBER(SEARCH("mens",A1)),"Mens",""))))
Is this what you are looking for?
OliverScheurich
Jan 06, 2022Gold Contributor
=IF(OR(ISNUMBER(SEARCH("womens",A1)),ISNUMBER(SEARCH("ladies",A1))),"Ladies",IF(ISNUMBER(SEARCH("boys",A1)),"Boys",IF(ISNUMBER(SEARCH("girls",A1)),"Girls",IF(ISNUMBER(SEARCH("mens",A1)),"Mens",""))))
Is this what you are looking for?
j_wilkinson305
Jan 06, 2022Copper Contributor
OliverScheurich Indeed it is thanks for the quick response! 🙂