V-lookup help

Proteus

New Member
Joined
Dec 8, 2011
Messages
11
I have to reach out to this forum as I've hit a brick wall (brick wall being, simply not enough smarts!). I'm thinking V-look up or Match but not really sure how to achieve the desired result.

In the layout below I want retrieve from sheet 1, the person for each address.
Note: In the actual data, multiple persons control multiple addresses. But only one person controls multiple addresses in this example. Sheet one lists only unique addresses in column A along with the person who controls that address (however, each address contains multiple entities - that are not shown in this data - which is why addresses are separated in sheet 2).

In sheet 2, I want to retrieve into column B the person who controls the address next to each separated address.

Thanks in advance for any help.

Sheet 1 ---
Col A - Col B
Address 1 - Person A
Address 2 - Person A
Address 3 - Person B
Address 4 - Person A
Address 5 - Person C

Sheet 2 (showing desired result) ---
Col A - Col B
Address 1 - Person A
Address 1 - Person A
Address 1 - Person A
Address 1 - Person A
Address 2 - Person A
Address 2 - Person A
Address 3 - Person B
Address 3 - Person B
Address 3 - Person B
Address 3 - Person B
Address 3 - Person B
Address 4 - Person A
Address 5 - Person C
Address 5 - Person C
 
Last edited:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try putting this in Sheet2 A1 and then double click the autofill box

Code:
=VLOOKUP(A1,Sheet 1!A:B,2,FALSE)
 
Upvote 0
Thanks Paul this works perfectly. Now I just have to translate the column/cell names back to my massive sheet! Thanks for your help.

Try putting this in Sheet2 A1 and then double click the autofill box

Code:
=VLOOKUP(A1,Sheet 1!A:B,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,108
Members
452,544
Latest member
aush

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