Scaled Tax/Commission etc

iansaunderson

New Member
Joined
Dec 18, 2015
Messages
16
Hi guys

I have a various level pricing format as below, which should work similar to scaled commission / tax calculations.

For example, 15000 units, should be charged as the first 5k (£0), the next 5k (£3 per unit) and the remaining 5k units charged at £2.50 per unit. I've done some research on SUMPRODUCT but couldn't get the formula to work.

Any chance of some help?
Lower BandingHigher BandingPrice
05000£0.00
500110000£3
1000120000£2.50
200011000000£2.00

<tbody>
</tbody>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Lower BandingHigher BandingPrice
050000
5000100003
10000200002.5
2000010000002

<tbody>
</tbody>









Modified the table a bit

Code:
=SUMPRODUCT(IF(E1>A2:A5,B2:B5)-IF(E1>A2:A5,A2:A5),IF(E1>A2:A5,C2:C5))-(((IF(SUM(--(E1=A2:A5))=1,E1,LOOKUP(E1,A2:B5,B2:B5))))-E1)*LOOKUP(E1,A2:B5,C2:C5)

Assuming Table with headers A1:C5 & units are in cell E1
 
Upvote 0
try this


Excel 2012
ABCDE
1BandingPriceNo of unitsAmount
20011,00017,500
35,0003
410,000-0.5
5200,000-0.5
167
Cell Formulas
RangeFormula
E2=SUMPRODUCT((D2 > A2:A5) * (D2 - A2:A5) * B2:B5)
 
Last edited:
Upvote 0
to clarify, B4 = 2.5-3 and B5=2-2.5
both ended up with -0.5

try this


Excel 2012
ABCDE
1BandingPriceNo of unitsAmount
20011,00017,500
35,0003
410,000-0.5
5200,000-0.5
167
Cell Formulas
RangeFormula
E2=SUMPRODUCT((D2 > A2:A5) * (D2 - A2:A5) * B2:B5)
 
Last edited:
Upvote 0
Lower Banding
Higher Banding
Price
5000
5000
10000
3
10000
20000
2.5
20000
1000000
2

<tbody>
</tbody>









Modified the table a bit

Code:
=SUMPRODUCT(IF(E1>A2:A5,B2:B5)-IF(E1>A2:A5,A2:A5),IF(E1>A2:A5,C2:C5))-(((IF(SUM(--(E1=A2:A5))=1,E1,LOOKUP(E1,A2:B5,B2:B5))))-E1)*LOOKUP(E1,A2:B5,C2:C5)

Assuming Table with headers A1:C5 & units are in cell E1

Thanks for the reply, but the answer appears to be way over the supposed answer?
 
Upvote 0
try this

Excel 2012
ABCDE
1BandingPriceNo of unitsAmount
20 0 11,000 17,500
3 5,000 3
4 10,000 -0.5
5 200,000 -0.5

<colgroup><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
167

Worksheet Formulas
CellFormula
E2=SUMPRODUCT((D2 > A2:A5) * (D2 - A2:A5) * B2:B5)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Thanks, but I'm getting #VALUE ! return?
 
Upvote 0
are your prices in Col B or C, may need to adjust formula to suit?

Units = P41
Lower Bandings = W46 - W54
Higher Bandings = X46 - X54
Charges = Z46 - Z54
Differences = AA46 - AA54

=SUMPRODUCT((P41 > X46:X54) * (P41 - X46:X54) * AA46:AA54)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,357
Messages
6,124,483
Members
449,165
Latest member
ChipDude83

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