Forum Discussion
MeganLC
Mar 05, 2023Copper Contributor
VLOOKUP Error with inventory referencing
I am attempting to set up a vlookup function based on a SKU/MPN code. I have a product list from my supplier that has all the inventory updated on a weekly basis. And I have an exported product list ...
- Mar 07, 2023
The #REF! is coming from the reference to a single column in the table. 3 is the column index but there's only 1 column in the provided table array.
Are you trying to return the Quantity on Hand? If so, you could use XLOOKUP:
=XLOOKUP(G3,_03022023_2[MPN],_03022023_2[Quantity On Hand])
Patrick2788
Mar 07, 2023Silver Contributor
The #REF! is coming from the reference to a single column in the table. 3 is the column index but there's only 1 column in the provided table array.
Are you trying to return the Quantity on Hand? If so, you could use XLOOKUP:
=XLOOKUP(G3,_03022023_2[MPN],_03022023_2[Quantity On Hand])- MeganLCMar 08, 2023Copper ContributorYes! Thank you that worked!
- Patrick2788Mar 08, 2023Silver ContributorGlad it worked. You're welcome!