blueguitar23
New Member
Hi all
I want to extract the word Gas from the text string "Walking Gazelle Gas-Water" - text in cell A15. I have a solution, which is:
=MID(A15,FIND(" ",A15,FIND(" ",A15)+1)+1,LEN(A15)-FIND(" ",A15,FIND(" ",A15)+1)-(LEN(A15)-LEN(RIGHT(A15,FIND("-",A15)))+1))
But I did wonder if anyone knew of a shorter, simpler way of solving the problem.
Thanks for reading
Stan
I want to extract the word Gas from the text string "Walking Gazelle Gas-Water" - text in cell A15. I have a solution, which is:
=MID(A15,FIND(" ",A15,FIND(" ",A15)+1)+1,LEN(A15)-FIND(" ",A15,FIND(" ",A15)+1)-(LEN(A15)-LEN(RIGHT(A15,FIND("-",A15)))+1))
But I did wonder if anyone knew of a shorter, simpler way of solving the problem.
Thanks for reading
Stan