How to Calculate Tiered Rent Based on Nights in Excel
Question details
The user needs an Excel formula to automatically calculate a tiered rental cost where the price per night changes depending on the duration of the stay, including a total cost and a breakdown per pricing bracket.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating total boarding or rental costs along with a detailed breakdown by pricing bracket based on varying nightly rates.
- Observed behavior
- The user wants an automated formula to calculate total rent and individual tiered brackets (e.g., nights 1-5, 6-20, 21+) instead of performing manual computations.
Ensure that you have calculated the total number of nights in a single cell, or have the arrival and departure dates ready to calculate the total duration.
Calculate the Total Tiered Rent Cost
Use a combined MIN and MAX formula to calculate the total cost across all pricing tiers in a single cell.
This formula uses the MIN and MAX functions to evaluate how many nights fall into each specific pricing bracket. It multiplies the nights by the respective rates ($10, $8, and $5) and adds them together.
If you have an arrival date in cell A2 and a departure date in cell B2, click cell C2 and enter =B2-A2 to get the total number of nights.
Select the cell where you want the total cost to appear, enter the formula =MIN(C2,5)*10+MAX(0,MIN(C2-5,15))*8+MAX(0,C2-20)*5, and press Enter.

Calculate Cost Breakdown by Pricing Bracket
Use individual formulas to display the exact amount charged for each specific tier rather than just the final total.
Use WPS Spreadsheet to Calculate Tiered Pricing Easily
WPS Spreadsheet fully supports advanced logical and mathematical functions like MIN and MAX, allowing you to easily build tiered pricing models for rentals, billing, and invoices.
- 1. Open your data: Launch WPS Spreadsheet and open your workbook containing the rental dates.
- 2. Input the dates: Ensure your arrival and departure dates are entered, and calculate the total nights in a single cell.
- 3. Apply the tiered formula: Paste the combined MIN/MAX formula into your total cost cell to instantly calculate your tiered rental price.

Frequently Asked Questions
How do I calculate the total nights between two dates in Excel?
Assuming your arrival date is in cell A2 and your departure date is in cell B2, you can calculate the total nights by selecting a blank cell (like C2) and entering the formula =B2-A2. Ensure the cell format is set to General or Number, not Date.
Can I easily change the prices or tier lengths in the formula?
Yes. To change the prices, simply replace the multipliers (10, 8, 5) with your new rates. To adjust the tier lengths, update the day limits inside the MIN and MAX functions (for example, replace 5, 15, and 20 with your new bracket limits).
Why is the MAX(0, ...) function necessary in this formula?
The MAX function ensures that if the number of nights doesn't reach a certain tier, the calculation evaluates to 0 instead of a negative number. This prevents negative values from incorrectly reducing your total cost.




