excel - function that can pull a word in text cell -
in excel need able find 1 of 2 words in text string, not placed in same area in text string , differ in words.
example:
text cell: front seat asy rhs comp 4way or 4way lhs front seat asy comp. words looking pull 'rhs' or 'lhs' , can see change position within text cell. need function checks see if there words 'rhs' or 'lhs' , display word.
something (assuming rhs
, lhs
have spaces @ beginning , end):
=if(iserror(find(" rhs ",a1)),if(iserror(find(" lhs ",a1)),"not found","lhs"),"rhs")
Comments
Post a Comment