Returning the last word of a text string

stuartw

Board Regular
Joined
Dec 5, 2007
Messages
237
Hi All

I'm having a bit of bother with formula where I am trying to return just the last word of a string of text (on multiple rows).

The data looks like this:

New North East Pegasus
New North Technical
New South Sage
New North East Technical

etc etc.

Because there is more than on space I'm having trouble using the the FIND, LEFT, MID formulae, or more to the point I can't quite get the combination right.

Can anyone help?

Thanks in advance
Stuart
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
Hello Stuart,

If data starts at A2 try this formula in B2 copied down

=TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",99)),99))
 

Forum statistics

Threads
1,176,385
Messages
5,902,784
Members
434,996
Latest member
aimeea

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top