Excel Formula to Calculate Tiered Pricing mcarsonsr used Ask the Experts™
on
I am struggling to write a set of formulas that produce the results in the attached spreadsheet and is based on the highlighted number entered.  It should calculate the tiered cost for any number entered up to 200,000.  I feel sure there is a concise and advanced set of formulas that will achieve the results, but I cant get there.  I will need to use the logic quite often going forward.

Your help is greatly appreciated.

The corresponding Excel workbook is attached.
Pricing-Example.xlsx
Comment
Watch Question

Do more with EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
HI,

pls try example in G5

=(MIN(5000,D3)*0.96)+MAX(0,(MIN(5000,D3-5000)*0.92))+MAX(0,(MIN(10000,D3-10000)*0.9))+MAX(0,(MIN(10000,D3-20000)*0.85))+MAX(0,(MIN(10000,D3-30000)*0.8))+MAX(0,(MIN(10000,D3-40000)*0.75))+MAX(0,(MIN(10000,D3-50000)*0.7))+MAX(0,(MIN(10000,D3-60000)*0.65))+MAX(0,(MIN(10000,D3-70000)*0.6))+MAX(0,(MIN(120000,D3-80000)*0.55))
EDIT the Version1 has the formula distributed over E5:E14

Regards
Copy-of-Pricing-Example.xlsx
Copy-of-Pricing-ExampleV1.xlsx
Commented:
Use this formula in E5, copy down.

=IF(C4>\$D\$3,0,IF(C5<=\$D\$3,SUM(C5,-C4)*D5,SUM(\$D\$3,-C4)*D5))
Pricing-Example.xlsx
Top Expert 2016
Commented:
Hi,

the distributed formula in E5 to fill down

=MAX(0,(MIN(C5-C4,\$D\$3-C4)*D5))
Regards

Regards

Commented:
Both solutions work and thank you.  What is the protocol regarding point distribution?  Rgonzo1971 solution came through first, but want to be fair.  Just not sure how to assign the points in this situation.

Thank you valuable assistance!

Do more with Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.