Calculate Date-Based IRR for Property Cash Flows in Excel
Question details
Calculate a return for each property using an initial investment and cash flows within a specified date window.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to include cash flows from the later of the property's start date or today through its end date, with an optional adjustment to the final cash flow.
- Observed behavior
- Each property should have an IRR based on its selected cash flows, or an XIRR when the cash-flow dates are irregular.
Make sure cash-flow dates are real Excel dates and amounts are numeric, with outflows and inflows signed appropriately. For the formulas below, place dates in B1:E1, property cash flows in B2:E2, the start date in F2, the end date in G2, and the signed initial investment in H2.
Calculate periodic IRR for the selected date window
Use this Excel 365 formula when the selected cash flows occur at regular intervals.
IRR treats the initial investment as period 0 and returns a rate per cash-flow period, not necessarily an annual rate. The date window includes both the later of the start date or today and the end date.
In an empty cell on row 2, enter =LET(d,$B$1:$E$1,c,B2:E2,m,(d>=MAX(F2,TODAY()))*(d<=G2),IFERROR(IRR(HSTACK(H2,FILTER(c,m))),"Check dates and cash flows"))
Copy the formula down for each property, keeping dates in row 1 and entering each property's cash flows, start date, end date, and investment on its own row.
If the calculation explicitly requires adding the signed initial investment to the last selected cash flow as well as including it at period 0, use this formula instead: =LET(d,$B$1:$E$1,c,B2:E2,m,(d>=MAX(F2,TODAY()))*(d<=G2),IFERROR(LET(cf,FILTER(c,m),n,COLUMNS(cf),IRR(HSTACK(H2,cf+IF(SEQUENCE(1,n)=n,H2,0)))),"Check dates and cash flows"))

Calculate annualized XIRR for irregular cash-flow dates
Use XIRR when the selected cash flows are not evenly spaced and their actual dates must determine the return.
Calculate property cash-flow returns in WPS Spreadsheets
Use WPS Spreadsheets to organize the selected cash flows and calculate periodic IRR or date-based XIRR.
- 1. Open the workbook: Open your Excel workbook in WPS Spreadsheets and locate the property dates and cash flows.
- 2. Prepare the selected cash flows: In a new table, enter the signed initial investment first, followed by the cash flows dated from the later of the start date or today through the end date. Add the signed investment to the final cash flow only if your calculation requires it.
- 3. Enter the return formula: For regular periods, select an empty cell and enter =IRR(B2:B6), adjusting the range to your prepared amounts. For irregular dates, enter =XIRR(B2:B6,A2:A6), where column A contains the corresponding dates, including the initial investment date.
- 4. Format and verify: Use the percentage format on the Home tab and verify the selected dates and cash-flow signs. Repeat the table and formula for each property.

Frequently Asked Questions
Should I use IRR or XIRR for property cash flows?
Use IRR when cash flows are equally spaced; its result is a rate per period. Use XIRR with a matching date for every amount when cash-flow dates are irregular; its result is annualized.
What happens when the start date is before today?
The formulas use MAX(F2,TODAY()) as the first eligible date, so cash flows before today are excluded. The selected window can change as the workbook recalculates on a later day.
Why does the formula say to check dates and cash flows?
The message can appear if no dates fall in the window, the dates or amounts are invalid, or the return cannot be calculated. Check that the end date is on or after the cutoff and that the selected amounts include both positive and negative values.
Do I always add the initial investment to the final cash flow?
No. Include the signed initial investment at period 0, and add it to the final cash flow only when your calculation specifically requires that additional adjustment.
Can I use the same formula for multiple properties?
Yes. Place each property's cash flows and inputs on a separate row, then copy the formula down. The example formulas keep the date headings fixed in B1:E1 while changing the property row references.




