All,
Anyone know how to extract the second to last word of a cell using a formula? I am trying to find a way to extract the country name (second to last word of each cell) or have a formula lookup the country in the cell and return a number value based on lookup table. I have not been able to find my answer online so if anyone here can help it would be greatly appreciated!
FYI, I have about 2,000 lines ranging from 20 different countries. The second to last word is the name of the country in all cells. I know I could just do text to columns but not all the cells have the same amount of words so I would rather have a formula spit out what I need.
Example:
Starting in cell A1: Beer Pale Ale England Bottle
Return country name in cell b1: England
Thanks!
Mychal
Anyone know how to extract the second to last word of a cell using a formula? I am trying to find a way to extract the country name (second to last word of each cell) or have a formula lookup the country in the cell and return a number value based on lookup table. I have not been able to find my answer online so if anyone here can help it would be greatly appreciated!
FYI, I have about 2,000 lines ranging from 20 different countries. The second to last word is the name of the country in all cells. I know I could just do text to columns but not all the cells have the same amount of words so I would rather have a formula spit out what I need.
Example:
Starting in cell A1: Beer Pale Ale England Bottle
Return country name in cell b1: England
Thanks!
Mychal