Hi there,
I have 2 excel workbook, Buyer example and Shipment Data.
in the Buyer Example workb, there are the fields of TR number, buyer, buyer number and Cost.
In the Shipment data wb, there are the buyer, buyer number and shipment amount.
The shipment data has a long list of shipment amount that needs to be sum up and added into the buyer example.
1. I have to match the buyer and buyer number in the shipment data with the Buyer example to calculate the total shipment amount that needs to be added into the buyer example wb
2. However there is a criteria to the amount that should be calculated in the shipment amount of the buyer example wb.
3. The criteria is that the Shipment amount should be 60% more than the Cost for it to be considered paid.
4. The Buyer number can appear in multiple TR number. hence once the shipment amount has reached 60% more than the cost, the shipment amount will be carry forward to the next line that matches the buyer and buyer number.
i have considered using sumif, but i am not sure how to add in the criteria of the 60%
I have attached two workbooks for the example. in the buyer example wb, i have added the final product that the excel should produce.
Bookmarks