proficient
Well-known Member
- Joined
- Apr 10, 2012
- Messages
- 745
- Office Version
- 2016
- Platform
- Windows
- Mobile
Hello all,
I have shared two tables below, first one is a DATA SOURCE and second one is the DESIRED RESULT. I want the DESIRED RESULT in yellow highlighted columns in the 2nd table.
I am looking for a particular formula which can read and match the product ID from DATA SOURCE and distribute the quantity in their respective column's cell, furthermore the quantity distributed by the formula shall not exceed from the CUT QUANTITY of that particular product ID.
I have shared two tables below, first one is a DATA SOURCE and second one is the DESIRED RESULT. I want the DESIRED RESULT in yellow highlighted columns in the 2nd table.
I am looking for a particular formula which can read and match the product ID from DATA SOURCE and distribute the quantity in their respective column's cell, furthermore the quantity distributed by the formula shall not exceed from the CUT QUANTITY of that particular product ID.
Book1.xlsx | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | F | G | H | I | J | K | L | ||||
1 | DATA SOURCE | ||||||||||||
2 | PRODUCT ID | CUSTOMER | OCS SHIPMENT DATE | CUT QTY (3% EXTRA) | TOTAL CUT | BALANCE | TOTAL OUTPUT | BALANCE | TOTAL SENT TO WASH | SENT TO WASH BALANCE | |||
3 | 5064 | H & M | 5-Jul | 3090 | 3090 | 00 | 2950 | -140 | 2500 | -450 | |||
4 | 5066 | H & M | 5-Jul | 4120 | 3500 | -620 | 2796 | -704 | 1022 | -1774 | |||
5 | 5027-2 | H & M | 5-Jul | 5150 | 4250 | -900 | 3795 | -455 | 1881 | -1914 | |||
6 | |||||||||||||
7 | DESIRED RESULT | ||||||||||||
8 | PRODUCT ID | CUSTOMER | OCS SHIPMENT DATE | CUT QTY (3% EXTRA) | TOTAL CUT | BALANCE | TOTAL OUTPUT | BALANCE | TOTAL SENT TO WASH | SENT TO WASH BALANCE | |||
9 | 5066 | H & M | 5-Jul | 1854 | 1854 | 00 | 1854 | 00 | 1022 | -832 | |||
10 | 5064 | H & M | 5-Jul | 1545 | 1545 | 00 | 1545 | 00 | 1545 | 00 | |||
11 | 5027-2 | H & M | 5-Jul | 3296 | 3296 | 00 | 3296 | 00 | 1881 | -1415 | |||
12 | 5066 | H & M | 6-Jul | 1236 | 1236 | 00 | 942 | -294 | 00 | -942 | |||
13 | 5064 | H & M | 6-Jul | 1030 | 1030 | 00 | 1030 | 00 | 955 | -75 | |||
14 | 5066 | H & M | 7-Jul | 1030 | 410 | -620 | 00 | -410 | 00 | 00 | |||
15 | 5064 | H & M | 7-Jul | 515 | 515 | 00 | 375 | -140 | 00 | -375 | |||
16 | 5027-2 | H & M | 7-Jul | 1854 | 954 | -900 | 499 | -455 | 00 | -499 | |||
Sheet2 |