Need Help With VLOOKUP Problem

JeffK627

Active Member
Joined
Jun 22, 2005
Messages
313
Hi All,

I'm trying to use VLOOKUP to populate a column in one worksheet from another. Basically, I need the value in Sheet1 Column AA to be the same as the value in Sheet2 Column A that's in the same row as the value in Sheet2 Column B that matches a value in Sheet1 Column B. Here's what I tried:

Code:
=VLOOKUP(B4,Validation!$A$2:$B$14,1,FALSE)

This returns #N/A even though the value in Sheet1 Cell B4 is in Sheet2 Cell B8. Where have I gone wrong?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
VLOOKUP works differently: the lookup value B4 is searched for in the leftmost column of the lookup range (columns A and B on sheet validation). So Excel looks in column A there, not column B.
 
Upvote 0
Vlookup can't work that way, It can only match a value in the Left column, and return a value from specified column TO THE RIGHT..
It's Zoolander challenged, can't go left..

You need Index/Match

=INDEX(Validation!$A$2:$A$14,MATCH(B4,Validation!$B$2:$B$14,0))


Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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