Extract second name from cell containing 2 names

davistax

New Member
Joined
Apr 2, 2015
Messages
4
Assume I have two names in cell A1 that are always in the same format:

example: John & Mary Smith

I need a formula that will place "Mary" in A2.

Have been stumbling around with this most of the day & am hitting a wall.

Help is greatly appreciated.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi.

So you mean there are never any middle names or other initials present?

Regards
 
Upvote 0
Assume I have two names in cell A1 that are always in the same format:

example: John & Mary Smith

I need a formula that will place "Mary" in A2.
Maybe this (it will handle middle names/abbreviations as well as single names with an ampersand)...

=REPLACE(REPLACE(A1,1,FIND("&",A1&"&")+1,""),FIND(" ",REPLACE(A1,1,FIND("&",A1&"&")+1,"")&" "),99,"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,206,971
Messages
6,075,925
Members
446,170
Latest member
zzzz02

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