VLookup - Column issue?

erutherford

Active Member
Joined
Dec 19, 2016
Messages
449
I have two sheets (1 & 2) I am working in sheet 2, trying to pull data from sheet 1.
Code:
=VLOOKUP($B$2,Hstry!$A$3:$I$70,COLUMN(Hstry!F3),FALSE)

B2 on sheet 2 is my index and I am trying to lookup the value in Sheet1 in Column 6.
No errors, just #N/A in the return.

Thanks as always in advance
 
Not surprising you get an #N/A error, vlookup looks for the value in the first column of the lookup range, ie col A.
Also I cannot see any names like "Casler, Chris" in any column of the Hstry sheet.
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
This is the format of "Hstry" sheet where I am pulling data from.

1659970809491.png


This is the sheet where I want the data to land.
1659971058498.png


B2 is a drop down pulling from "Hstry" Col "J". When a name is selected the associated data will fill in (event year, class, etc.)
 
Upvote 0
In that case you need to use index/match like
Excel Formula:
=INDEX(Hstry!$A$3:$I$70,MATCH($B$2,Hstry!$J$3:$J$70,0),6)
 
Upvote 0
Solution
Thanks Fluff! As usual you are spot on correct. Thank you for patience and solution. I can modify the rest.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,518
Messages
6,119,988
Members
448,935
Latest member
ijat

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