SOLVED

if function

Copper Contributor

hi, can anybody help me with the if function, is it possible to use the if function but only using part of the text rather than the whole text from the source cell, something like =if(a1 contains the text "concealed","15mm","10mm").  Any suggestions. 

2 Replies
best response confirmed by VI_Migration (Silver Contributor)
Solution

@johnkelly08 

=IF(ISNUMBER(SEARCH("concealed",A1)),"15mm","10mm")

This formula works in my spreadsheet. 

thank you much appreciated. Kindest Regards John
1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Solution

@johnkelly08 

=IF(ISNUMBER(SEARCH("concealed",A1)),"15mm","10mm")

This formula works in my spreadsheet. 

View solution in original post