Forum Discussion

Philippe_Nicod's avatar
Philippe_Nicod
Copper Contributor
Jul 19, 2022
Solved

IF: how to replace "true" with content from a specific cell?

hello dear Community,   I have a column B with a list of industries (doctor, hairdresser, garage, etc.) and I have a column A with keywords (Super Car Garage, Clear Cut, doctor Martin, etc. ), for...
  • OliverScheurich's avatar
    Jul 19, 2022

    Philippe_Nicod 

    =IFERROR(INDEX($B$1:$B$3,MATCH(TRUE,ISNUMBER(SEARCH($B$1:$B$3,A1)),0)),"")

    You can try this formula. Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.

     

Resources