I’m trying to figure out how to calculate the total amount a customer will pay for products that are discounted in tranches. My problem is that using SUMPRODUCT appears to count each tranche multiple times, as illustrated below.
Here’s the pricing sheet. The idea is that 1-10 seats costs $100/seat; the next 10 seats (from 11-20) cost $75/seat; the next 10 (from 21-30) costs $50/seat; and 31 seats and up costs $25/seat.
Base price: $100
I’ve entered this into Excel as follows:
The formula I used is: =SUMPRODUCT(--(Seat Count>Threshold), Seat Count-Threshold, EffectiveRate). Below is a table comparing the actual prices with the incorrectly-calculated price via .
Breaking the formula down, it becomes clear that it counts each tranche multiple times. E.g., for 11 users, it counts (11*100) + (1*75). For 20 users it counts (20*100)+(10*75).
Any advice on how to fix this would be greatly appreciated.
Bookmarks