Price Conversion between Tiers (Weighted Average)

drob08

New Member
Joined
Mar 2, 2022
Messages
8
Office Version
  1. 365
Platform
  1. Windows
I'm trying to write a formula that will adjust price per tier based on adjusted tier level recommendations.

For instance:
Tier List 1:
Tier 1: 0-10M = $1
Tier 2: 10M-15M = $0.85
Tier 3: 15M-20M = $0.65
Tier 4: 20M-MM = $0.5

But let's say I didn't want to stick with those tiers but I wanted the weighted average for each incremental tax bracket:

Tier List 2:
Tier 1: 0-8M
Tier 2: 8M-17M
Tier 3: 17M-25M
Tier4: 25M-MM

Formula to calculate weighted average price for each new range at Tier List 2:

Tier 1= $1 as 8M fits within Tier List 1 (0-10M)
Tier 2= $0.88 ((2M * $1) + (7M * $0.85)) / (17M-8M)
and so on for tier 3 & 4

It needs to be dynamic so the overlaps +/- are captured at their respective tiers. Unfortunately, I don't use macros so I was hoping a formula would be able to do what I want.
 
Does this help?

ABCDEFGHIJK
1
2Tier List 1Tier List 2
3MinLookupProposedDiffTrancheCumulativeLookupProposedDiff
401.001.008,000,0008,000,00001.0001.00
510,000,0000.85-0.157,000,00015,000,0008,000,0000.893-0.11
615,000,0000.65-0.205,000,00020,000,00015,000,0000.650-0.24
720,000,0000.50-0.154,000,00024,000,00020,000,0000.500-0.15
8
9
10VolumeList 1 TOVList 2 TOVEqual?
118,000,0008,000,0008,000,000TRUE
1215,000,00014,250,00014,250,000TRUE
1320,000,00017,500,00017,500,000TRUE
1422,500,00018,750,00018,750,000TRUE
15
16But ...
179,000,0009,000,0008,892,857FALSE
1812,000,00011,700,00011,571,429FALSE
19
Sheet1
Cell Formulas
RangeFormula
H4H4=G4
J4:J7J4=(SUMPRODUCT(--(H4>C$4:C$7),H4-C$4:C$7,E$4:E$7)-SUMPRODUCT(G$3:G3,J$3:J3))/G4
E4:E7,K4:K7K4=J4-SUM(J3)
H5:H7H5=H4+G5
I5:I7I5=H4
C11:C14,C17:C18C11=SUMPRODUCT(--(B11>C$4:C$7),B11-C$4:C$7,E$4:E$7)
D11:D14,D17:D18D11=SUMPRODUCT(--(B11>I$4:I$7),B11-I$4:I$7,K$4:K$7)
E11:E14,E17:E18E11=D11=C11

Note that the equality holds only in limited circumstances ... as we're calculating average prices for whole tranches, and those averages won't be correct for part-tranches.
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
A guess of what your require. I adjusted some of the numbers (used an adjustment factor) and then used Goal Seek.
I show before and after views in this and next post.

Commission2022.xlsm
ABC
1Total sales20,000,000.00
2
3Initial
4BracketsRates
5cell b7 is blank
60100%
710,000,00085%
815,000,00065%
920,000,00050%
1017,500,000.00
11
12
13Proposed
14BracketsRatesFactor
15cell b7 is blank0.15
160100%
178,000,00085%
1817,000,00070%
1925,000,00055%
201E+308
21
22
23InitialProposed
2417,500,000.0017,750,000.00
25
26Goal17,500,000.00
27
1d
Cell Formulas
RangeFormula
C10C10=SUMPRODUCT(--(B1>A6:A9),B1-A6:A9,B6:B9-B5:B8)
B17:B19B17=B16-$C$15
A20A20=BigNum
B24B24=SUMPRODUCT(--(B1>A6:A9),B1-A6:A9,B6:B9-B5:B8)
C24C24=SUMPRODUCT(--(B1>A16:A19),B1-A16:A19,B16:B19-B15:B18)
 
Upvote 0
Commission2022.xlsm
ABC
1Total sales20,000,000.00
2
3Initial
4BracketsRates
5cell b7 is blank
60100%
710,000,00085%
815,000,00065%
920,000,00050%
1017,500,000.00
11
12
13Proposed
14BracketsRatesFactor
15cell b7 is blank0.166666667
160100%
178,000,00083%
1817,000,00067%
1925,000,00050%
201E+308
21
22
23InitialProposed
2417,500,000.0017,500,000.00
25
26Goal17,500,000.00
27
1d
Cell Formulas
RangeFormula
C10C10=SUMPRODUCT(--(B1>A6:A9),B1-A6:A9,B6:B9-B5:B8)
B17:B19B17=B16-$C$15
A20A20=BigNum
B24B24=SUMPRODUCT(--(B1>A6:A9),B1-A6:A9,B6:B9-B5:B8)
C24C24=SUMPRODUCT(--(B1>A16:A19),B1-A16:A19,B16:B19-B15:B18)
 
Upvote 0
Solution
Thanks for all the replies. This has been extremely helpful and I think there are several solutions out there, and likely more efficient than what I ended up doing. Here was what I ended with which still has slight variances depending on where each price fits within the range. Alternatively a goal seek would work for the final priced tier but I was hoping to not require that.

Tier List Equation.xlsx
BCDEFGHI
2Custom TiersList Tiers
3MinMaxProposed FeeMinMaxList Tier Adj. Proposed Fee
4110,000,0000.006008,000,0000.00600
510,000,00115,000,0000.005508,000,00118,000,0000.00545
615,000,00120,000,0000.0050018,000,00123,000,0000.00470
720,000,00140,000,0000.0045023,000,00145,000,0000.00370
840,000,001999,999,9990.0010045,000,001999,999,9990.00100
9
10
11
12
13Average Annual Revenue
14VolumeCustom TiersList TiersVariance
1596,210,121$ 258,710$ 258,710$ (0)
1683,660,975$ 246,161$ 246,161$ (0)
1772,748,674$ 235,249$ 235,249$ (0)
1861,836,373$ 224,336$ 224,336$ (0)
1952,560,917$ 215,061$ 215,061$ (0)
2044,676,779$ 207,177$ 206,303$ 874
2137,975,263$ 193,389$ 181,477$ 11,912
Final
Cell Formulas
RangeFormula
G4,H8G4=+'List Tiers'!F51
G5:G8,B5:B8G5=+H4+1
I4I4=IF(B17<H4,"Custom Tier to Low",IF(H4>C4,(SUMPRODUCT((H4<=Final!$C$4:$C$8)*(H4>Final!$B$4:$B$8)*(H4-Final!$B$4:$B$8)*Final!$D$4:$D$8)+SUMPRODUCT(((H4>Final!$C$4:$C$8)*(Final!$C$4:$C$8-Final!$B$4:$B$8))*Final!$D$4:$D$8))/MAX((H4),1),(SUMPRODUCT((H4<Final!$C$4:$C$8)*(H4>Final!$B$4:$B$8)*(H4-Final!$B$4:$B$8)*Final!$D$4:$D$8)+SUMPRODUCT(((H4>=Final!$C$4:$C$8)*((H4<=Final!$C$4:$C$8))*(Final!$C$4:$C$8-Final!$B$4:$B$8))*Final!$D$4:$D$8))/MAX((H4),1)))
I5:I8I5=SUM(SUMPRODUCT((G5<=Final!$C$4:$C$8)*(G5>Final!$B$4:$B$8)*(G5-Final!$C$4:$C$8)*-1*Final!$D$4:$D$8),SUMPRODUCT(((H5>Final!$C$4:$C$8)*(G5<=$B$4:$B$8)*($C$4:$C$8-Final!$B$4:$B$8))*Final!$D$4:$D$8),SUMPRODUCT(((H5<=Final!$C$4:$C$8)*((H5>Final!$B$4:$B$8))*(H5-Final!$B$4:$B$8))*Final!$D$4:$D$8))/SUM(SUMPRODUCT((G5<=Final!$C$4:$C$8)*(G5>Final!$B$4:$B$8)*(G5-Final!$C$4:$C$8)*-1),SUMPRODUCT(((H5>Final!$C$4:$C$8)*(G5<=$B$4:$B$8)*($C$4:$C$8-Final!$B$4:$B$8))),SUMPRODUCT(((H5<=Final!$C$4:$C$8)*((H5>Final!$B$4:$B$8))*(H5-Final!$B$4:$B$8))))
C15:C21C15=(SUMPRODUCT((B15<=Final!$C$4:$C$8)*(B15>Final!$B$4:$B$8)*(B15-Final!$B$4:$B$8)*Final!$D$4:$D$8)+SUMPRODUCT(((B15>Final!$C$4:$C$8)*(Final!$C$4:$C$8-Final!$B$4:$B$8))*Final!$D$4:$D$8))
D15:D21D15=(SUMPRODUCT((B15<=Final!$H$4:$H$8)*(B15>Final!$G$4:$G$8)*(B15-Final!$G$4:$G$8)*Final!$I$4:$I$8)+SUMPRODUCT(((B15>Final!$H$4:$H$8)*(Final!$H$4:$H$8-Final!$G$4:$G$8))*Final!$I$4:$I$8))
E15:E21E15=+C15-D15
B15:B16B15=+B16*1.15
B18:B21B18=+B17*0.85
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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