A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This is a common problem, also seen in Tax Tables, and it is easily solved and maintained with a lookup table.
Create a table with three columns: Volume, BaseCost, and Cost per Unit
| Volume | Base | Unit |
|---|---|---|
| 0 | $0.00 | $1.00 |
| 10 | $10.00 | $1.50 |
| 25 | $32.50 | $1.75 |
| 50 | $76.25 | $1.80 |
The logic for the Base cost is that it represents the cost for items up to and including the Volume on that line. So with the CostTable in D1:F5, you can use this formula to fill out the Base Column in the table:
E2: $0.00
E3: =E2+(D3-D2)*F2
And select E3 and fill down as needed
Then, with your Volume in A1, the following formula will return the costs:
=VLOOKUP(A2,CostTable,2)+(A2-VLOOKUP(A2,CostTable,1))*VLOOKUP(A2,CostTable,3)
With the table, you can easily change the unit costs, add or subtract tiers, etc.