I am using VLOOKUP to pull data from one sheet another. I am getting #INVALID REF
THIS IS THE SOURCE TABLE
THIS IS THE TABLE THAT IS BEING UPDATED WITH THE VLOOKUP
This is my formula
=VLOOKUP([Materials Description]@row, {TDO Material Cost Tracking Sheet All Values}, 3, 0)
Best Answers
-
That means the formula does not recognize the cross sheet reference. How exactly did you create it?
-
You will want to follow the steps for creating a valid cross sheet reference.
Start typing your formula:
=VLOOKUP([Materials Description]@row, {TDO Material Cost Tracking Sheet All Values}, 3, 0)
In the small helper box there should be a blue link to "Reference another sheet". Click on that, select the source sheet from the left, then click on the column header that contains the data you are matching on. From there you want to shift+click on the column header that contains the data you want to pull in. Finally you will click on the blue box in the bottom right corner that says "Insert Reference".
Answers
-
That means the formula does not recognize the cross sheet reference. How exactly did you create it?
-
I created it as a new sheet and inputted the data manually.
-
You will want to follow the steps for creating a valid cross sheet reference.
Start typing your formula:
=VLOOKUP([Materials Description]@row, {TDO Material Cost Tracking Sheet All Values}, 3, 0)
In the small helper box there should be a blue link to "Reference another sheet". Click on that, select the source sheet from the left, then click on the column header that contains the data you are matching on. From there you want to shift+click on the column header that contains the data you want to pull in. Finally you will click on the blue box in the bottom right corner that says "Insert Reference".
-
In my formula I created the reference using
-
Thanks Paul...This seems to work, but I don't understand why I can not reference the entire table and identify columns in the formula.
-
You would need to select all of the column headers with the match column being on the far left of the table. The third portion of the VLOOKUP is where you enter which column number you want to pull from.
My personal preference though is an INDEX/MATCH. It provides more flexibility and does not require you to select an entire table.
=INDEX({Column To Pull From}, MATCH([Materials Description]@row, {Column To Match On}, 0))
-
Thanks, I will try that.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!