Excel XIRR Function
Syntax
What is the XIRR function?
XIRR returns the internal rate of return for a schedule of cash flows that is not necessarily periodic. Unlike IRR, which assumes equal time intervals, XIRR works with actual dates of cash flows, making it ideal for real-world investment analysis.
XIRR Syntax
=XIRR(values; dates; [guess])
- values: Cash flows array (must contain at least one negative and one positive value)
- dates: Corresponding dates array
- guess: Optional initial guess (default 10%)
Common Use Cases
Investment performance analysis with irregular cash flows, real estate ROI, project finance, multi-asset portfolio returns.
Examples
=XIRR(A1:A5; B1:B5) where A=cash flows, B=dates returns annualized rate of return.
Examples
| # | Title | Formula | Result |
|---|---|---|---|
| 1 | Basit yatırım | =AİÇVERİMORANI(A1:A4;B1:B4) |
Yıllık IRR oranı |
| 2 | Yüzde formatlı | =METİN(AİÇVERİMORANI(A1:A4;B1:B4);"%0,00") |
Örn: %12,45 |
| 3 | Tahmin ile | =AİÇVERİMORANI(A1:A4;B1:B4;0,05) |
Yakınsamada zorlanan hesap |
| 4 | 3 nakit akışı | =AİÇVERİMORANI({-1000;500;800};{"01.01.2023";"01.06.2023";"01.12.2023"}) |
~%32 yıllık |
| 5 | Doğrulama (NBD ile) | =ANBD(AİÇVERİMORANI(A:A;B:B);A:A;B:B) |
~0 (yakınsamış) |
| 6 | Yıllık değil aylık | =(1+AİÇVERİMORANI(A:A;B:B))^(1/12)-1 |
Aylık efektif oran |
| 7 | WACC karşılaştırma | =EĞER(AİÇVERİMORANI(A:A;B:B)>0,1;"Kabul";"Red") |
Eşik %10 |
| 8 | Negatif IRR | =AİÇVERİMORANI(A:A;B:B) |
Yatırım zarar ettiyse negatif |
Common Errors
Solution: tahmin argümanını değiştir (0,05 veya 0,2)
Solution: Hücreleri tarih formatına çevir
Solution: İlk değeri eksi işaretle ver
Solution: En az 1 negatif ve 1 pozitif değer gerek
Frequently Asked Questions
Enter your email to receive the example Excel file (link valid 24h).