My earlier recommendation wasn't close. Based on your descriptions, the distribution percentage" really isn't. Rather it represents the initial relative distribution payment rate. Solving this involves an iterative process that is probably better handled by VBA. In this working example, I show how the iterations can be done in helper columns to the right of your table.
We begin with the rose-colored block and seed it with the current amount of each recipient's distribution amount (0) and the current amount to be distributed from G13. The we move into the 1st iteration...the green block.
We determine the "headroom", the amount remaining before each recipient hits their distribution ceiling. Then we normalize these amounts, expressing them in terms of a ceiling proportion (Cp) that sums to 1. Next we express the payment rates in terms of relative proportions that also sum to 1 (Pp)...this seems trivial in iteration 1 because the relative proportions are the same as those originally described in C16:C18, but it matters later as recipients drop out. Then we use the ratio of Cp/Pp as a measure for how quickly each recipient reaches their ceiling---smaller ratios mean the ceiling is reached sooner (i.e., a low ceiling and a high payment rate each contribute toward lowering this ratio). Then we identify the smallest Cp/Pp ratio---this is the 1st recipient who hits their ceiling. We identify the position of this recipient in the list (their index number). Then we need to assess whether there is sufficient money available that can be apportioned to all of the remaining recipients at this moment. This assessment involves calculating how much money would be needed for the mini-distribution considered in this iteration and comparing it to the current amount of money still available for distributing. The minimum of these two amounts limits what can be distributed. We choose whichever is the smaller amount and then perform the distribution for this iteration (shown in the rightmost column in the lower part of the table for this iteration). Finally, we update the current amount of money that is still available for distributing (upper right corner of iteration block), and move to the next iteration.
This process repeats for iteration 2 (yellow blocks) and possibly for iteration 3 (blue blocks) before terminating. In the iterations after iteration 1--after a recipient has dropped out because their ceiling was reached---the remaining recipients then begin accruing distributions at rates that are consistent with their initial relative payment rates, but renormalized to a total basis factor of 1. So initial relative rates of 0.5, 0.2, and 0.3---and let's assume 0.5 drops out in iteration 1---would produce new relative rates of 0.2/(0.2+0.3)=0.4 and 0.3/(0.2+0.3)=0.6. The same relative rates are maintained, but normalized to a sum of 1. The initial spreadsheet doesn't really describe this idea about the "percentages", so I would recommend relabeling these quantities as "Initial relative payment rates".
During any of the iterations, it is conceivable that sufficient money is not available to make all of the distributions and carry some amount forward to the next iteration. In that case, the available funds are simply distributed according to the current payment proportions.
Finally, all of the mini-distributions are summed (far right) and those sums are copied back into your table.
MrExcel_20220419.xlsx |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB |
---|
3 | | | | | ESTIMATED SALE | | 20000 | | | | | | | | | | | | | | | | | | | | | |
---|
4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
5 | | PAYMENTS | | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
6 | A | CAM | | 50 | | | 19950 | | | | | | | | | | | | | | | | | | | | | |
---|
7 | B | Sales Agent distributors | | 50 | | | 19900 | | | | | | | | | | | | | | | | | | | | | |
---|
8 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
9 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
10 | C | Recoupment | A) Cast | 9000 | | | | | | | | | | | | | | | | | | | | | | | | |
---|
11 | C | Recoupment | B) Overages | 0 | | | | | Current Amt to be dist | 10900 | | | | | 6614.29 | | | | | 4900 | | | | | 0 | | | |
---|
12 | C | Recoupment | C) Marketing Gross Receipts | 0 | | | | | Amt to Dist | | | | | 4285.71 | | | | | 1714.29 | | | | | 4900 | | | | |
---|
13 | | | | C TOTAL | 9000 | | 10900 | << Amt to be distributed | Index of Min Cp/Pp | | | | | 3 | | | | | 1 | | | | | 2 | | | | |
---|
14 | | | | | | | | | Next to hit ceilting, Min Cp/Pp | | | | | 0.35714 | | | | | 0.22222 | | | | | 1 | | | | |
---|
15 | | | Initial relative payment rates | Distribution Ceiling | | | | | | distribution | amt remaining to reach ceiling | ceiling proportion, Cp | payment proportion Pp | Cp/Pp: smaller hits ceiling sooner | distribution | amt remaining to reach ceiling | ceiling proportion, Cp | payment proportion Pp | Cp/Pp: smaller hits ceiling sooner | distribution | amt remaining to reach ceiling | ceiling proportion, Cp | payment proportion Pp | Cp/Pp: smaller hits ceiling sooner | distribution | amt remaining to reach ceiling | | Total distributions |
---|
16 | 1a | ATL Deferral | 10% | 1000 | | | 1000 | | | 0 | 1000 | 0.08333 | 0.10 | 0.83333 | 428.571 | 571.429 | 0.07407 | 0.33 | 0.22222 | 571.429 | 0 | | | | 0 | 0 | | 1000 |
---|
17 | 1b | Crew Defferals | 20% | 8000 | | | 6900 | | | 0 | 8000 | 0.66667 | 0.20 | 3.33333 | 857.143 | 7142.86 | 0.92593 | 0.67 | 1.38889 | 1142.86 | 6000 | 1 | 1.00 | 1 | 4900 | 1100 | | 6900 |
---|
18 | 1c | Investors (120% of investment) | 70% | 3000 | | | 3000 | | | 0 | 3000 | 0.25 | 0.70 | 0.35714 | 3000 | 0 | | | | 0 | 0 | | | | 0 | 0 | | 3000 |
---|
19 | | | 100% | | | | 10900 | << Total 1st distribution group | | | | | | | | | | | | | | | | | | | | |
---|
20 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
21 | | | | | | | 0 | << Amt for 2nd distribution group | | | | | | | | | | | | | | | | | | | | |
---|
22 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
23 | | PROFITS | | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
24 | 2 | Production Team | 50% | | | | 0 | | | | | | | | | | | | | | | | | | | | | |
---|
25 | 2 | Investors Friends | 50% | | | | 0 | | | | | | | | | | | | | | | | | | | | | |
---|
|
---|