Distribute amount with staggering and based on priorities

Qete_ARG

Board Regular
Joined
Oct 20, 2005
Messages
72
Hi guys, I am trying to find yout how to solve this but I am not being able to do it. I also searched but I think I am not using the right words on the search box (sorry for my english).
I need to distribute an amount between many contracts, filling first the ons with better priorities than the others.
Here is my example:
__________________________________________________________________________________
|Total Qtty ...........|......Max qtty per contract...|...Priority.......|..............What the formula should do..|
|to be distributed..|..........50000....................|..3................|.........................53333.....................|
|.........................|..........100000..................|..3................|........................106667....................|
|300000..............|...........80000...................|..2................|..........................80000....................|
|.........................|...........30000...................|..1................|..........................30000....................|
|.........................|...........30000...................|..1................|..........................30000....................|
| _________________________________________________________________________________
................................................................................................................. 300.000 ................|
If someone could help me I would really appreciate it.
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Something like this? Think about it like a waterfall...

bIu4tDH.png


TV3awSh.png


b9cCfpM.png
 
Last edited:
Upvote 0
Thanks a lot! How is it that I didn't realize how to do it?
Really appreciate it!
Miguel
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,607
Members
449,090
Latest member
vivek chauhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top