Dynamic XIRR Formula Help

Hi everyone,

I am trying to create a dynamic XIRR formula as I am working on a case study that involves a sensitivity analysis to see changes in exit years. How could I go about writing an XIRR formula that ignores 0's while still calculating the correct XIRR? Below is a cut out from my file. Appreciate any help!

Total Year  1   1   1   1   1   1   1   1   2
Analysis Year   0   1   1   1   1   1   1   1   1
Analysis Date   6/1/18  6/30/18 7/31/18 8/31/18 9/30/18 10/31/18    11/30/18    12/31/18    1/31/19
Analysis Month  Month 0 Month 1 Month 2 Month 3 Month 4 Month 5 Month 6 Month 7 Month 8

Purchase ($26,666,667)
Loan Funding $17,333,333
Before Tax Cash Flow $115,556 $115,556 $115,556 $115,556 $115,556 $115,556 $115,556 $124,222 Sale
Loan Payoff
Total Levered Cash Flow $14,232,248 ($9,333,333) $115,556 $115,556 $115,556 $115,556 $115,556 $115,556 $115,556 $124,222 Levered IRR 25.07%
Levered Equity Multiple 2.52X

11 Comments
 

I need to do the below. The cap rate will flow through my model but i need the xirr to be able to handle different exit dates.

Please also prepare a data table to show the impact to the gross return if the portfolio is sold in December 2021, June 2022, December 2022 and June 2023 (base case) at varying exit cap rates ranging from 6.5% ‐ 8.0%.

 

Et labore ut ea aut voluptas non dolor. Ducimus laborum aut illum sunt. Suscipit voluptatem eos hic qui sequi. Dicta sapiente suscipit dolorem sed nemo nam sunt. Consequuntur ad cupiditate quis suscipit et assumenda et. Earum quam dolorum beatae dolorum tenetur.

Voluptate qui alias quaerat libero. Voluptate enim quasi eligendi. Est rem eligendi veniam quos. Deleniti qui omnis non est.

Ad corrupti earum commodi eum molestias rerum hic. Quod neque repellendus quia. Quis fugit ut magni quo iste rem accusamus.

In id qui omnis in porro quae sunt. Eveniet distinctio nobis est quasi reprehenderit delectus. Iusto natus consequatur accusantium.

Career Advancement Opportunities

October 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • JPMorgan 01 98.4%
  • Guggenheim Partners 02 97.9%
  • Morgan Stanley 06 97.4%

Overall Employee Satisfaction

October 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 99.0%
  • Evercore 01 98.4%
  • Banco Santander 02 97.9%
  • BMO Capital Markets 13 97.4%

Professional Growth Opportunities

October 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • Morgan Stanley 05 98.4%
  • Goldman Sachs 01 97.9%
  • JPMorgan No 97.4%

Total Avg Compensation

October 2026 Investment Banking

  • Vice President (16) $429
  • Associates (57) $264
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (28) $184
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (76) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
kanon's picture
kanon
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
Secyh62's picture
Secyh62
99.0
5
DrApeman's picture
DrApeman
98.9
6
GameTheory's picture
GameTheory
98.9
7
Betsy Massar's picture
Betsy Massar
98.9
8
CompBanker's picture
CompBanker
98.9
9
dosk17's picture
dosk17
98.9
10
numi's picture
numi
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”