Forum Discussion

BDB1973's avatar
BDB1973
Copper Contributor
May 30, 2022
Solved

Calculate a capacity-adjusted demand allocation according to a ranking

In this scenario, only 6 suppliers of 7 will receive demand. The goal is for the adjusted demand allocations to be assigned, by a formula, to the highest ranked suppliers, up to their capacities, unt...
  • Riny_van_Eekelen's avatar
    May 30, 2022

    BDB1973 Not sure I understand but perhaps you should start by sorting by rank and then us a fairly straight-forward formula to allocate the total amount that I placed in B11. See attached.

    =MAX(0,(MIN(C2,$B$11-SUM($C$1:C1))))

     

Resources