Forum Discussion

MeganLC's avatar
MeganLC
Copper Contributor
Mar 05, 2023
Solved

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 ...
  • Patrick2788's avatar
    Mar 07, 2023

    MeganLC 

    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])

Resources