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!
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

phantom1975

MrExcel MVP
Joined
Jun 3, 2002
Messages
3,962
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?
 

Haluk

Rules Violation
Joined
Oct 26, 2002
Messages
1,075
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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,487
Messages
5,596,449
Members
414,068
Latest member
FAH

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