Vlookup with cross sheet reference
Can someone please provide an example of the Vlookup formula with the cross reference? I have tried both formulas below and get errors on both.
=VLOOKUP([New Job Code]1, {Lot Status Report - Goldmark Range 3}, {Lot Status Report - Goldmark Range 3}2, false) #UNPARSEABLE
=VLOOKUP([New Job Code]1, {Lot Status Report - Goldmark Range 3}, 2, false) #INVALID REF
Comments
-
VLOOKUP([Column2]1, {Sheet Name Range}, 2, false)
Your main issue is probably with your range, you need to make sure it includes all potential return values as well as the search range.
I find index(Match to be a better solution, it is easier to understand how it works and is faster because it reduces the amount of information the program has to go through in order to return your value.
=Index({Return Column},Match([Cell or value you want to match]1,{Lookup Column},false))
-
Thanks so much. I will give that a try.
-
I plugged that in and now I'm getting an invalid data type error. All column/cells are text/number. Any ideas? I cleaned up the Range also to only include cells and not headers. BTW, my SUMIF formulas work fine.
-
Are you able to provide screenshots?
-
Please paste your formula in a response so we can evaluate it.
One potential issue could be that your ranges do not match. That is they need to have the same amount of cells
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 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!