Distributing units across quotas

kcmuppet

Active Member
Joined
Nov 2, 2005
Messages
437
Office Version
  1. 365
Platform
  1. Windows
Hi, I'd greatly appreciate help finding a formula that will calculate the figures in red (cells C3:F6) in my mockup below.

Column I contains sales thresholds at which different bonuses are paid in 4 tiers labelled in Column H. If I sell 100 units in Quarter 1 (Cell B3), that would mean all of the units expected in the Tier Quota in will have been sold in Quarter 1, so cell C3 is 100%.

I've got quite a lot of excel experience but can't fathom how to do this so would greatly appreciate some help.




ABCDEFGHI
1 % in Tier
2 Units Sold1234TierUnit Quota
3Q1100100%1100
4Q210050%2200
5Q312550%14.5%3172
6Q417585.5%100%428

<tbody>
</tbody>
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try:


ABCDEFGHIJ
1% in Tier
2Units Sold1234TierUnit Quota
3
4Q1100100.0%1100
5Q210050.0%2200
6Q312550.0%14.5%3172
7Q417585.5%100.0%428

<tbody>
</tbody>
Sheet6

Worksheet Formulas
CellFormula
C4=IF(SUM(C$3:C3)=1,"",MIN(1,SUM(B$4:B4)/$I$4)-SUM(C$3:C3))
D4=IF(SUM(C$3:C4)<1,"",IFERROR(1/(1/(MIN(1,(SUM($B$4:$B4)-SUM(OFFSET($I$4,0,0,COLUMNS($D:D))))/OFFSET($I$4,COLUMNS($D:D),0))-SUM(<font c
D$3:D3))
),""
)
)

<tbody>
</tbody>

<tbody>
</tbody>



Notice that I put an empty row above the data to make the formulas easier(!). You can hide it if you want. Put the C4 formula in and drag it down to C7. Then put the D4 formula in and copy it to D5:D7 and E4:F7.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,734
Messages
6,126,545
Members
449,316
Latest member
sravya

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