Please help me troubleshoot this vlookup formula cross referencing another sheet
Hi,
Please help me identify the error in this formula:
=VLOOKUP(Barcode@row, {Main List!Barcode:Item Name}, 2, false)
I'm trying to use the formula in a sheet called "Equipment Tracker" to pull in the Item Name column using the Barcode to reference the correct Item Name in another sheet called "Main List".
In both sheets, the column Barcode is the Primary column and Item Name is column B.
Thanks!
Best Answer
-
That makes sense. The problem will be one of the references. Probably the cross sheet reference. Highlight the part in bold:
=VLOOKUP(Barcode@row, {Main List!Barcode:Item Name}, 2, false)
Delete it.
Then leaving the cursor where it was, create a new reference.
You need to select the two columns you show above and give the range a name (I would avoid ! And : in the name. Save that reference.
The formula will update to show your new reference in place of the part in bold.That could be all that is needed.
Good luck!
This page explains criss sheet formula
https://help.smartsheet.com/learning-track/level-3-advanced-users/cross-sheet-formulas
Answers
-
Hi @kmccoy1
Your formula looks good. Can you tell me what the error is?
-
Hello,
I keep getting this error: #INVALID REF
-
That makes sense. The problem will be one of the references. Probably the cross sheet reference. Highlight the part in bold:
=VLOOKUP(Barcode@row, {Main List!Barcode:Item Name}, 2, false)
Delete it.
Then leaving the cursor where it was, create a new reference.
You need to select the two columns you show above and give the range a name (I would avoid ! And : in the name. Save that reference.
The formula will update to show your new reference in place of the part in bold.That could be all that is needed.
Good luck!
This page explains criss sheet formula
https://help.smartsheet.com/learning-track/level-3-advanced-users/cross-sheet-formulas -
THANK YOU! This fixed it and I learned something :)
I appreciate your help!
-
Wonderful. Thanks for letting me know.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.3K Get Help
- 462 Global Discussions
- 156 Industry Talk
- 508 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 517 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!