Lease Calendar
Project lease expirations and classic-unit availability from dated unit rows.
How it works
Lease Calendar (6)
- Availability
Sum by row and column group(if if Classic, then if (Conditional result using Occupied ≤ Value at index(consecutive values from 0 to 120, -1)), then true, otherwise false, otherwise false, then Units, otherwise 0, Lower of Conditional result using Occupied and Value at index(consecutive values from 0 to 120, -1), Rent Roll Floorplan, consecutive values from 0 to 120, Unit Mix Floorplans)
- End Dates
End Dates
Uses - End Months
End Months
Uses - Expirations
Sum by group(if (Higher of End Months and 0 ≤ Value at index(consecutive values from 0 to 120, -1)), then if Occupied, then Units, otherwise 0, otherwise 0, Lower of Higher of End Months and 0 and Value at index(consecutive values from 0 to 120, -1), consecutive values from 0 to 120)
- Start Dates
Start Dates
Uses - Start Months
Date month offset(if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”, Start Dates)
Model function · Rent roll month offset
Count the calendar months from the starting date to each ending date. Dates in the same calendar month have an offset of zero.
Argument values
- End
- Start Dates
- Start
- if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”
Calculation diagram
Each arrow leads to the calculation that uses the value. Choose a figure to see its dependencies.
Calculation steps (6)
- if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”
if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”
- End Dates
if (Rent Roll Lease End = “”), then if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”, otherwise Rent Roll Lease End
- Start Dates
if (Rent Roll Lease Start = “”), then if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”, otherwise Rent Roll Lease Start
- End Months
Date month offset(if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”, End Dates)
Model function · Rent roll month offset
Count the calendar months from the starting date to each ending date. Dates in the same calendar month have an offset of zero.
Argument values
- End
- End Dates
- Start
- if Detail, then Rent Roll As Of Date, otherwise “1900-01-01”
- Higher of End Months and 0
Higher of End Months and 0
Uses - Conditional result using Occupied
if Occupied, then Higher of Higher of End Months and 0 and 1, otherwise 0
Inputs and outputs
Inputs (9)
| Name | Unit | Applies to |
|---|---|---|
| Classic | Flag | Rent roll |
| Detail | Flag | Single value |
| Occupied | Unitless | Rent roll |
| Rent Roll As Of Date | date | Single value |
| Rent Roll Floorplan | Text | Rent roll |
| Rent Roll Lease End | date | Rent roll |
| Rent Roll Lease Start | date | Rent roll |
| Unit Mix Floorplans | Text | Unit |
| Units | units | Rent roll |
Outputs (6)
| Name | Unit | Applies to |
|---|---|---|
| Availability | units | Month, Unit |
| End Dates | date | Rent roll |
| End Months | Months | Rent roll |
| Expirations | units | Month |
| Start Dates | date | Rent roll |
| Start Months | Months | Rent roll |