Formula to pull first word from text string in a column
This is great! I've been looking for this... Now, is there a way to extract the last word in a string ONLY if it is not the only word in the string. If it is then i want it to be found in the formula you wrote above. I'm basically trying to extract three names but not always is there a second or even a third name, for example, Cher. I have it all working but the last name will duplicate the first if it is a one word name. :(
On Thursday, January 8, 2009 at 2:00:56 PM UTC-5, David Biddulph wrote:
=LEFT(A2,FIND(" ",A2)-1)
You may want to add some error handling if there isn't always more than one
word.
=IF(ISNUMBER(FIND(" ",A2)-1),LEFT(A2,FIND(" ",A2)-1),A2)
--
David Biddulph
"CrisT" wrote in message
...
Hello, I was hoping someone could help me with a formula. I have a column
in
a spreadsheet that has the following types of text (for example):
Subaru WRX
Subaru STI
Jeep Wrangler
Jeep Grand Cherokee
What I am looking for is a formula to pull the first word from the column
and put it in another column, say column T.
Thank you in advance!
|