Tables and Vlookup/Index Match

hmltnangel

Active Member
Joined
Aug 25, 2010
Messages
290
Office Version
  1. 365
Platform
  1. Windows
Morning all,

I used to be real good at doing vlookup and Index Match functions within tables. Somehow I have lost my ability to do so and am tearing my hair out. I have had a search but maybe not searching for the right terms. ANy guidance would be useful here.

I have a table in my Workbook called "Roster" which holds every bit of data I can piece together about evry individual in my organisation.

I also have a separate table on another sheet in the workbook, called "terms"

On the "terms table", I have added a blank column. I want this column to lookup the Employee ID of someone in the "Roster" and return a value from another column in the "Roster" Table

If these weren't tables, then Vlookup or Index Match is easy, but as they're tables and im using table references, I must be making a mistake somewhere. Any ideas?

The Vlookup I tried is
=VLOOKUP([Emplid],Roster,Roster[2019 Performance Rating],FALSE)

This returns #n/a

Index Match
=INDEX(Roster,MATCH([Emplid],Roster,0),Roster[2019 Performance Rating])

Again #n/a

WHat silly mistake am I making ?‍♂️
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
without checking, but I'd guess that its the third parameter which is the number of the column you want to return. so, perhaps instead of Roster[2019 Performance Rating] you need Range(Roster[#Headers]).find("2019 Performance Rating").column you'll need to adjust for any columns to the left of the EMPLID column.

HTH, at least a bit
 
Upvote 0

Forum statistics

Threads
1,214,886
Messages
6,122,093
Members
449,064
Latest member
Danger_SF

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