Extract second word from text tring

monkeyharris

Active Member
Joined
Jan 20, 2008
Messages
358
Office Version
  1. 365
Platform
  1. Windows
I've seen references to this on-line but nothing seems to work.
In column F from F2 i have various text strings IE: "CPI Beaconsfield", "Diverscite Pleinbois", "Hodge Clemco" etc etc... I want to extract the second word so in E2 onwards it reads Beaconsfield, Pleinbois, Clemco etc.......
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Code:
=RIGHT(F2,LEN(F2)-FIND(" ",F2))

This assumes two words with a space. You could also just use text to columns with a space as delimiter.
 
Upvote 0
Sorry, maybe i should have been clearer, i want to extract ONLY the second word. This formula extracts the second word onwards.
 
Upvote 0
i want to extract ONLY the second word. This formula extracts the second word onwards.
Give this formula a try...

=MID(A1,FIND(" ",A1&" "),FIND(" ",A1&" ",FIND(" ",A1&" ")+1)-FIND(" ",A1&" "))

or, alternately, this one...

=TRIM(MID(SUBSTITUTE(A5," ",REPT(" ",99)),100,99))
 
Last edited:
Upvote 1
Rick, the second one worked PERFECT, the first one extracted only the second word but had a space at the beginning. Many thanks.
 
Upvote 0
Rick, the second one worked PERFECT, the first one extracted only the second word but had a space at the beginning. Many thanks.
If you care, here is the fix for that first one..

=MID(A1,FIND(" ",A1&" ")+1,FIND(" ",A1&" ",FIND(" ",A1&" ")+1)-FIND(" ",A1&" ")-1)
 
Upvote 1

Forum statistics

Threads
1,214,614
Messages
6,120,533
Members
448,969
Latest member
mirek8991

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
Back
Top