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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

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,141,734
Messages
5,708,162
Members
421,549
Latest member
Dtcfire

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