Hi everyone! I am new, and happy to have joined this excellent forum.
I have been trying to figure this out but falling short of a working solution.
I have 3 very basic worksheets Sheet1(GoodsIn), Sheet2(GoodsOut) and Sheet3(Current).
The goods are represented by an ID number, the problem is the ID number duplicates as it can go out of stock and come back into stock causing my VLOOKUP/filter solution to falter. I am using the following formula '=IF(ISERROR(VLOOKUP(B2,Out!B:B,1,FALSE)),"In","Out")' to compare values from sheet 2 and display an 'IN' or 'OUT' message in the column next to the 'ID Number' column.
As an example: if ID Number 11999 comes in, it updates to Sheet3 via '=In!B1'. When ID Number 11999 is entered into Sheet2, the VLOOKUP correctly displays 'OUT'. When ID Number 11999 returns, unfortunately the VLOOKUP stops are the first value, never changing its status from 'OUT'.
All three sheets will be increasing, so I ruled out using a range. There are also date fields in both in and out, but couldnt figure out how to Lookup the ID Number then compare dates with the most recent date removing the ID Number from sheet3.
I've been hunting around but was unable to find a solution to ignore the first duplicate and go to the last duplicate found using VLOOKUP.
Any suggestions for a better method for my project would be greatly appreciated.
Thank you for you responses, in advance.
Nach
Bookmarks