Excel XIRR Function
Chala mitrano — today XIRR. Real dates, real gaps — IRR that respects the calendar.
चला मित्रांनो — आज XIRR. खरी तारखा, खरे अंतर — कॅलेंडर मानणारा IRR.
चलो दोस्तों — आज XIRR. असली तारीखें, असली अंतर — कैलेंडर मानने वाला IRR.
Purpose
IRR when cash flows are not equally spaced — uses real dates.
Return value
The annualised IRR for dated cash flows.
Syntax
Arguments
| Argument | Required? | Description |
|---|---|---|
values | Required | Cash flows. |
dates | Required | Matching dates. |
guess | Optional | Starting guess. |
Version
Excel. LibreOffice/Sheets: XIRR/XNPV available under same or similar names.
How to use — Why → What → How
Why: Projects rarely pay on perfect period grids. XIRR uses actual dates. Dated returns for Kochi project draws and New York investor schedules.
What: XIRR pairs each cash flow with a date. Result is an annualised rate. In practice, keep the rate and nper in the same unit — annual rate with monthly payments means rate/12 and nper×12. Mixing units is the most common silent error: Excel returns a number that looks plausible but is wrong for the loan. Sign convention: money you receive is positive; money you pay out is negative. For a borrower, PV is positive and PMT is negative. Build amortization with PMT for the installment, IPMT/PPMT for each period’s split, and CUMIPMT/CUMPRINC for year totals.
How — numbered steps:
- Type =XIRR(B2:B5,A2:A5).
- First date is the anchor.
- Format as percent.
Ravindra Bagale's Tip
Friends, after XIRR, find one column or range in a real workbook this week where this lesson saves time.
Ravindra Bagale's Tip – मराठी
मित्रांनो, XIRR नंतर या आठवड्यात खरी workbook मधील एक संख्या column सुधारा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, XIRR के बाद इस हफ़्ते असली workbook का एक संख्या column सुधारो.
Ravindra Bagale's Tip
Friends, sleep on XIRR; rebuild example 1 tomorrow without looking.
Ravindra Bagale's Tip – मराठी
मित्रांनो, XIRR वर झोपा; उद्या उदाहरण 1 न पाहता लिहा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, XIRR पर सोकर कल उदाहरण 1 बिना देखे लिखो.
Ravindra Bagale's Tip
Friends, say the business question in plain words before =XIRR.
Ravindra Bagale's Tip – मराठी
मित्रांनो, =XIRR आधी व्यवसाय प्रश्न साध्या शब्दांत सांगा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, =XIRR से पहले व्यवसाय प्रश्न सादे शब्दों में बोलो.
Ravindra Bagale's Tip
Friends, check a known case with a calculator before you trust a long XIRR chain.
Ravindra Bagale's Tip – मराठी
मित्रांनो, लांब XIRR chain वर विश्वास ठेवण्यापूर्वी कॅल्क्युलेटरने एक ज्ञात case तपासा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, लंबी XIRR chain पर भरोसा करने से पहले कैलकुलेटर से एक जाना हुआ case जाँचो.
Ravindra Bagale's Tip
Friends, after you finish XIRR, open yesterday’s real workbook and find one place this function would have saved ten minutes.
Ravindra Bagale's Tip – मराठी
मित्रांनो, XIRR नंतर कालची खरी वर्कबुक उघडा आणि शोधा जिथे हे फंक्शन दहा मिनिटे वाचवू शकले असते.
Ravindra Bagale's Tip – हिंदी
दोस्तों, XIRR के बाद कल की असली वर्कबुक खोलो और ढूँढो जहाँ यह फ़ंक्शन दस मिनट बचा सकता था.
Ravindra Bagale's Tip
Friends, treat XIRR sign carefully — positive PV usually means negative payment outflow.
Ravindra Bagale's Tip – मराठी
मित्रांनो, XIRR चा sign काळजीपूर्वक पाहा — positive PV म्हणजे सहसा negative payment outflow.
Ravindra Bagale's Tip – हिंदी
दोस्तों, XIRR का sign सावधानी से देखो — positive PV का मतलब आमतौर पर negative payment outflow.
Download practice file: practice-xirr.xlsx (includes sheet About this data, practice sheets, and Answers).
Worked examples
1) Uneven
Kochi.
| Date | CF |
|---|---|
| 2024-01-01 | -100000 |
| 2024-06-01 | 30000 |
| 2025-01-01 | 40000 |
| 2025-12-01 | 50000 |
Result: ~14% (illustrative)
What it means: Depends on exact dates — verify in Excel.
2) NY $
Investor.
| Date | CF |
|---|---|
| 2024-01-15 | -50000 |
| 2024-09-15 | 20000 |
| 2025-03-15 | 40000 |
Result: ~18% (illustrative)
What it means: Classroom check in Excel.
3) vs IRR
Equal periods differ.
| # |
|---|
Result: timing matters
What it means: Why XIRR exists.
4) guess
Help.
| # |
|---|
Result: rate
What it means: With guess.
5) #NUM!
Bad dates/values.
| # |
|---|
Result: #NUM!
What it means: Fix pairs.
6) Format
%.
| # |
|---|
Result: percent
What it means: Display.
Common errors and fixes
Notes and tips
- Revisit the XIRR errors table after the quiz.
- Build example 1 from memory on a blank sheet.
- Check number vs text if a result looks wrong.
- Teach one tip in Marathi or Hindi this week.
- Keep currency symbols consistent inside one report column (practice mixes ₹ $ £ €).
- Drill: build a four-row dated cash-flow XIRR and verify in Excel. Uncertain: sample % are illustrative.
- XIRR vs IRR: use XIRR whenever gaps are uneven — common in real projects.
- Fictional sample data only — names and amounts are for learning.
- Print the XIRR revision card for one week of real worksheets.
- Ask juniors to predict before they press Enter.
- Track your top mistake with this function monthly.
- Dated returns for Kochi project draws and New York investor schedules.
- Interview tip: explain the business question before the formula.
- Classroom drill: invent three brand-new formulas from your city without the page open.
- If a result looks wrong, check blanks vs zeros before rewriting.
- When Excel versions differ, note the LibreOffice / Sheets fallback in a cell comment.
- Prefer clear ranges over whole-column refs on huge sheets if speed matters.
- Document units (₹, kg, days) in the header so totals stay honest.
- Print the revision card for XIRR for one week of real worksheets.
- When helping a junior, ask them to predict before Enter.
- Share one tip with a classmate in Marathi or Hindi.
- Keep currency symbols consistent inside a single report column.
- When Excel versions differ, write a LibreOffice / Sheets fallback under a comment.
- Keep rate and nper units matched (monthly with monthly) or the EMI will silently mislead.
- Document whether the sheet is borrower’s view (PV>0 → PMT<0) or lender’s view.
- Round displayed EMI with ROUND(...,2) for client letters; keep full precision in calc columns.
- For RATE/IRR #NUM!, supply a guess near 0.1 when cash-flow signs flip more than once.
- Pair NPV with a separate time-0 outflow cell — do not bury the initial invest inside values[1] by accident.
- Fictional EMI and cash-flow figures only — never paste real customer loan data into class files.
- Compare your EMI to a bank quote: if off by a lot, you forgot /12; if off by paisa, rounding.
- Teach one junior the sign convention in Marathi or Hindi this week — teaching locks it.
In real work
Drill: build a four-row dated cash-flow XIRR and verify in Excel. Uncertain: sample % are illustrative. Dated returns for Kochi project draws and New York investor schedules. Classroom drill: write three brand-new XIRR formulas on a blank sheet using names from your own city — if you can invent them without the page open, you own the skill. Then break one formula on purpose and watch the error; recovering from that break is half of interview readiness. Always verify with a known case before trusting a long chain. Keep a personal notebook of the one mistake you make most often with this function; review it monthly. Excel’s financial engine uses the same closed-form annuity formulas taught in CFA Level I. PMT isolates the constant installment; IPMT the interest slice; PPMT the principal residual — and PMT = IPMT + PPMT for each period when FV and type match. NPV discounts values starting at period 1, so keep the time-0 investment outside the values array. XNPV/XIRR need actual dates; RRI inverts growth between two pots; EFFECT/NOMINAL bridge stated APR and true EAR under m compounding periods. Bank EMI sheets often round each installment to two decimals — expect ₹0.01–₹0.05 drift versus raw Excel PMT on long tenures.
How it compares
XIRR vs IRR: use XIRR whenever gaps are uneven — common in real projects.
Interview corner
- Needs dates?
- Yes.
- vs IRR?
- Calendar aware.
- Uncertain?
- Spot-check illustrative %.
Related functions
Practice tasks (10)
- Task 1. XIRR dated project.Kochi.
- Task 2. Compare to IRR.Skew.
- Task 3. Format %.Display.
- Task 4. Force #NUM!.Bad.
- Task 5. Use guess.0.1.
- Task 6. Interview.Talk.
- Task 7. Teach.Teach.
- Task 8. $ schedule.NY.
- Task 9. Fill.Fill.
- Task 10. Verify in Excel.Check — uncertain illustrative %.
Quick quiz
Answers: Q1=Values + dates, Q2=Dated, Q3=Annualised rate, Q4=#NUM!, Q5=Percent (check after you try).
Revision card
Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.