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%.

 

Non eum deleniti animi assumenda eum sapiente eos dolore. Est ad sed ut sit. Autem beatae fuga reiciendis vel sapiente commodi. Sit voluptas rerum omnis temporibus omnis odit.

Quos unde modi magni tempore sed non. Placeat saepe qui dolores sapiente voluptas. Nam rerum iure numquam quia dolores ipsam in. Et magni veritatis ducimus non omnis omnis ab odit. Quis dolor cum sequi id quam quo sint. Ut minima ad quasi accusantium necessitatibus enim voluptatibus.

Optio rem sapiente odit in. Aut temporibus officiis ullam nihil expedita at. Quia aut molestiae voluptatum fugit. Dolores temporibus aut aut impedit. Quaerat voluptatem veritatis est. Veniam nihil adipisci voluptatibus repudiandae.

Expedita quae adipisci molestiae molestiae unde fuga. Suscipit saepe reiciendis distinctio minus. Qui molestiae magni aut quisquam neque. Quidem explicabo et tenetur. Error est illo sed aut corporis qui sunt.

Career Advancement Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • JPMorgan 01 98.2%
  • Guggenheim Partners 01 97.7%
  • Morgan Stanley 07 97.1%

Overall Employee Satisfaction

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Morgan Stanley 02 98.8%
  • Evercore 01 98.2%
  • BMO Capital Markets 12 97.6%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • Morgan Stanley 05 98.2%
  • JPMorgan No 97.7%
  • BMO Capital Markets 12 97.1%

Total Avg Compensation

June 2026 Investment Banking

  • Vice President (14) $434
  • Associates (43) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (75) $151
  • Intern/Summer Analyst (68) $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

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...”