sunny281199
New Member
- Joined
- Dec 5, 2020
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
Hi all and good day,
I'm currently doing supply and demand fulfillment allocation.
I'm having issue with the store on hand quantity distribution with customer order quantity.
I need help on the formula smart enough to skip to next row if the store on hand quantity not able to fulfill order quantity
In short,
If the store on hand quantity balance still able to allocate, allocate it
If not able to allocate, move to next row
I have performed auto sorting based on customer priority, ship month and dates hence (refer to the attachment), the row sequence are not allowed to change.
Appreciated fellow forumers help on this issue
Column G
Column H
Column I
Column J
I'm currently doing supply and demand fulfillment allocation.
I'm having issue with the store on hand quantity distribution with customer order quantity.
I need help on the formula smart enough to skip to next row if the store on hand quantity not able to fulfill order quantity
In short,
If the store on hand quantity balance still able to allocate, allocate it
If not able to allocate, move to next row
I have performed auto sorting based on customer priority, ship month and dates hence (refer to the attachment), the row sequence are not allowed to change.
Appreciated fellow forumers help on this issue
Column G
Excel Formula:
=SUMIF(A2:A$2,A2,D2:D$2)
Excel Formula:
=IF(IF(G2>F2,F2-SUMIF(A2:A$2,A2,D2:D$2),D2)<=0,0,IF(G2>F2,F2-SUMIF(A2:A$2,A2,D2:D$2),D2))
Excel Formula:
=D2-H2
Excel Formula:
=SUMIF(A2:A$2,A2,H2:H$2)