[Solved] VLOOKUP finds incorrect match
Posted: Mon Aug 19, 2024 3:21 pm
I hope someone can help me, as this has me stumped. I have an antique booth with my wife, and I created a spreadsheet to keep track of sales and inventory. I have a sheet marked as Inventory, and another on another tab marked Sales 2024. My wife is a former banker, but she knows nothing about computers and spreadsheets. So I tried to make things easier, and I've had some errors that I can't figure out.
My Inventory sheet has several columns including SKU, Vendor, Brand, Description, Qty, Retail and Cost.
My Sales Sheet has similar structure with a few additional fields. We enter the SKU number of a sale and VLOOKUP populates the Vendor, Description, Retail and Cost fields. The problem is that VLOOKUP finds the wrong SKU at what appears to be random times in the Inventory and populates the wrong information into the Sales sheet.
For the life of me, I can't figure out why.
If you look at the sample spreadsheet, and go down to the bottom of the Sales 2024, you'll find a SKU # of 45219, 45216, 45217 and the description should be John Carter Graphic Novel, instead it shows Vintage Gold Three Flower Earring Tree, which is SKU #2840.
Could it be that I mix four digit SKU's and five and six digit SKU's? I'm completely perplexed.
My Inventory sheet has several columns including SKU, Vendor, Brand, Description, Qty, Retail and Cost.
My Sales Sheet has similar structure with a few additional fields. We enter the SKU number of a sale and VLOOKUP populates the Vendor, Description, Retail and Cost fields. The problem is that VLOOKUP finds the wrong SKU at what appears to be random times in the Inventory and populates the wrong information into the Sales sheet.
For the life of me, I can't figure out why.
If you look at the sample spreadsheet, and go down to the bottom of the Sales 2024, you'll find a SKU # of 45219, 45216, 45217 and the description should be John Carter Graphic Novel, instead it shows Vintage Gold Three Flower Earring Tree, which is SKU #2840.
Could it be that I mix four digit SKU's and five and six digit SKU's? I'm completely perplexed.