Hi guys
After trying to sort and search several solutions I had to post and ask for some help on how to aproach/solve the issue.
My file contains two sheets:
Sheet "Propriedades": has the entire product database (ItemID, PropertyValue1, QuantityReceived and other non relevant fields).
Its updated through a external data source every time it opens
Sheet "Import": has the import manual count of the products and show a total quantity number
The issue is: assign the Total Quantity (Sheet Import collumn D) to the individual ItemID considering the Property1 (date).
Criteria : It needs to be assigned from the most recent date to the oldest. The field QuantityReceived sets the maximum of quantities.
In the end from the total units counted and listed in the Import sheet there should be a assignment based on the recent date and limit of the Quantity received.
The data assignment can be done in a seperate sheet (no problems) whatever is easy.
Any ideas how I can aproach the issue?
I have included the attachment as example.
Bookmarks