Help with a formula

richanor

Active Member
Joined
Apr 8, 2006
Messages
291
Could anybody help me out with a formula to work out some tiered pricing.

Assume that I have my pricing structure in cells A1:A5 as follows; A1=£250, A2=£200, A3=£150, A4=£100, A5=£50.

In cells B1:B5 I have the volume at which that price kicks in; B1=<50, B2=50-80, B3=80-100, B4=100-120, B5=>120

(so in this example, if a customer buys 90 units - the first 50 are £250, the next 30 are £200, and the last 10 are £150)

Is there a way that I can enter a number into a cell (D1) and it works out the total price?

Many thanks in advance

Rich
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
This [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]algorithm [/FONT]otta do it. Copy F2 downwards and enter your desired value in A9.

If you'd like more insight follow the links in this thread.
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]https://www.mrexcel.com/forum/excel-questions/1068302-calculating-commission-rates-excel-formula-question.html

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
ABCDEF
1BracketsRateDelta
20250250
350200-50
480150-50
5100100-50
612050-50
7
8
99020,000.00
CommBrackets (2)
Cell Formulas
RangeFormula
F2=E2-N(E1)
B9=SUMPRODUCT(--(A9>D2:D6),A9-D2:D6,F2:F6)
[/FONT]

[/FONT]
 
Upvote 0

Excel 2010
ABCDEF
1RateBracketsNumberTotalTotal
2Row 2 is blank
325009020,00020000
420050
515080
6100100
750120
1c
Cell Formulas
RangeFormula
D3=SUMPRODUCT(--(C3>rB),C3-rB,A3:A7-A2:A6)
E3=SUMPRODUCT(--(C3>rB),C3-rB,{250;-50;-50;-50;-50})
Named Ranges
NameRefers ToCells
rB='1c'!$B$3:$B$7
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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