chaz_mac
Board Regular
- Joined
- Mar 9, 2007
- Messages
- 76
I wish to search within a string for one of three words, and depending on which one i find further parse the string contents.
An equation like
IF(SEARCH("WORD 1",$A$1,1)<>VALUE, MID(), IF(SEARCH("WORD 2") ...
always does not work because the #VALUE! error code is returned for the words not found, making the whole equation return the error code.
Must I write a custom function to avoid this?
Thanks to all the people who help on the board -
C
An equation like
IF(SEARCH("WORD 1",$A$1,1)<>VALUE, MID(), IF(SEARCH("WORD 2") ...
always does not work because the #VALUE! error code is returned for the words not found, making the whole equation return the error code.
Must I write a custom function to avoid this?
Thanks to all the people who help on the board -
C