Changing family name-maiden name

Lucien

Board Regular
Joined
Oct 16, 2002
Messages
131
Hi All,
I have two separate sheets with names which I want to link using V-lookup using False as criteria (exact finding). However in one sheet voor women the maiden name is in front.
For example:
- sheet one: Jansen-Bush
- sheet two: Bush-Jansen

I want also in sheet two the notation Jansen-Bush.

I can only solve this problem with a very large formula. Has some of you a solution??

Thanks!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
WELCOME TO THE BOARD!

This will convert it for you:

=RIGHT(A1,LEN(A1)-SEARCH("-",A1,1))&"-"&LEFT(A1,SEARCH("-",A1,1)-1)

You can either convert it and use the results in your VLOOKUP, or put that formula in the lookup portion of your VLOOKUP.

Does this help?
 
Upvote 0
Hi;

Not a professional alternative as phantom's answer but, this the one i've thought; ( you may need to change ";" with "," )

=MID(A4;FIND("-";A4;1)+1;LEN(A4)) & "-" & MID(A4;1;LEN(A4)-LEN(MID(A4;FIND("-";A4;1);9999)))

Edit: The formula works for a string in cell A4
This message was edited by Raider on 2002-11-10 13:40
 
Upvote 0

Forum statistics

Threads
1,213,535
Messages
6,114,194
Members
448,554
Latest member
Gleisner2

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