Tiered Pricing using SumProduct

SR2017

New Member
Joined
Aug 8, 2017
Messages
1
Hello,

I am attempting to write a formula for distributed/cumulative tiered pricing and am not able to get the formula correctly.

1 - 30 units = $90/unit
31 - 60 units = $75/unit
61 - 100 units = $60/unit
More than 100 units = $55/unit

Examples of expected calculations are:
55 Units: (30*90)+(25*75)
75 Units: (30*90)+(30*75)+(15*60)

I tried using the following formula and was only able to get it to work for the first two tiers and not the last two.
F7 is the value of the # of units I want to calculate for.
=sumproduct(--(F7>{0,30,60,100}),--(F7-{0,30,60,100}),{90,-15,-15,-5})

Any insight I can get on this is greatly appreciated!!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
It works as expected for me

Can you give example values that gave the wrong result? What result did it give, what result did you expect..
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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