Calculate Tiered Charges in Excel with MIN and MAX
Question details
Calculate a total charge using one rate for the first 500 units and a lower rate for additional units.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet needs to charge $1 per unit for the first 500 units and $0.80 per unit above 500.
- Observed behavior
- The total should be $460 for 460 units and $843.20 for 929 units.
Enter a nonnegative unit count in cell B2 and choose an empty cell, such as C2, for the total. If your unit count is in a different cell, replace B2 in the formula with that cell reference.
Calculate the charge with MIN and MAX
Use one formula to apply the correct rate below and above the 500-unit threshold.
MIN(B2,500) charges up to 500 units at $1 each. MAX(B2-500,0) counts only the units above 500, which are charged at $0.80 each.
Select C2, type =MIN(B2,500)+0.8*MAX(B2-500,0), and press Enter.
Enter 929 in B2 and confirm that C2 returns 843.2. Enter 460 in B2 to check that the result is 460.
Select C2 and choose Home > Number > Currency to display dollars and cents. If other unit counts are in column B, drag C2's fill handle down to calculate their charges.

Calculate the charge with IF
Use IF if you prefer to write separate calculations for counts at or below 500 and counts above 500.
Calculate the same tiered charges in WPS Spreadsheets
Enter the MIN and MAX formula in WPS Spreadsheets to calculate the two pricing tiers, then format and fill the results down.
- 1. Open a spreadsheet: Open WPS Spreadsheets and create a workbook or open an existing Excel file.
- 2. Enter the units: Select B2 and enter a nonnegative unit count, such as 929.
- 3. Calculate the charge: Select C2, enter =MIN(B2,500)+0.8*MAX(B2-500,0), and press Enter.
- 4. Format the total: Select C2 and use the currency format in the Home tab to display the result as $843.20.

Frequently Asked Questions
What happens when the unit count is exactly 500?
The formula charges all 500 units at $1 each, for a total of $500. The MAX term returns zero because there are no units above 500.
How do I change the threshold or rates?
In =MIN(B2,500)+0.8*MAX(B2-500,0), replace both instances of 500 with the new threshold and 0.8 with the new upper-tier rate. If the first-tier rate changes, multiply MIN(B2,threshold) by that rate.
How can I calculate charges for a whole column?
Enter the formula in C2 next to the first unit count in B2, then drag the fill handle down column C. Excel adjusts the B2 reference for each row.
Why does the result show 843.2 instead of $843.20?
Select the result cell and choose Home > Number > Currency to display the dollar symbol and two decimal places.




