Using VLOOKUP and MATCH functions

Wizza

New Member
Joined
Apr 15, 2011
Messages
2
Hello,

I have 3 columns of data (A,B,C) the 4th is where I will output the answer to my question.

In 2 of the columns (A & C) I have the data I want to match. I want to match each name and then output the number in column B1 which is adjacent to the matched name in column A. So, if I wanted to match the name John, then cell D1 would output the value 4. Since that number is next to or adjacent the matched name in column A. Cell D2 would output the number 5, since that is the number adjacent to the matched name in Column A. etc

A B C D

Jenny 5 John
Bob 3 Jenny
John 4 Bob


Thanks
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Welcome to the board. In D1 try:
Code:
=VLOOKUP(C1,A:B,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,718
Members
452,939
Latest member
WCrawford

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