Create Dynamic IRR in Excel - modeling

I'm trying to figure out how to create a dynamic IRR syntax in Excel. If I change my disposition date, my cash flows and all other projections adjust automatically. I can't seem to come up with a proper way to have my IRR calculate only certain years cash flows as I change my sale date. I'm sure it's an =IF statement of some type...

Any help is appreciated.

13 Comments
 
Best Response

In REFM, he's pulling in monthly cash flows, then consolidating them for annual IRR. When you F2 the syntax below, whether disposition is yr1 or yr 10, all his cash flows are still in the range, even if they're $0 because the building is sold. I just can't seem to crack it.

This is my struggle with REFM. The data is there but he only covers about 10% of his model with instruction. You're left to reverse engineer.

=(IRR(O109:EQ109,0.2/12)+1)^12-1

I'm pretty new at modeling. I have created a decent but basic MF model. Annual CF's only at this point.

 

What JimboUSC said. Assuming your hold period input is a number of years (i.e. 10), just multiply your main equation by a binary:

Items that only calculate ON the sale period: ex: terminal value, sales cost, outstanding principal =if(current pd=hold pd,1,0) * main equation

Items that only calculate BEFORE and ON the sale period: ex: TI/LC/tenant buyouts/cap reserve/asset mgmt fee/whatever else you want to include here =if(current pd>hold pd,0,1)*main equation

Just make sure you have a "period" line item at the top of your pro forma that tracks how much time has elapsed, and make sure the period's unit of measurements in the above equations are consistent. That's all it is, unless I'm completely missing your point.

 

If my sale is year 4 and years 5-6 in that cell range have $0 in them, won't the IRR calc take into account those periods?

Edit - just took my cell range all the way to year 10 even though sale was year 4 and years 5-6 showed $0. Still got the same IRR even though sale date was year 4. Maybe I'm making this hard on myself.

With that being said, I'll review these last few posts later. Gotta jam for a bit. Thanks for the feedback guys.

 

No no no. I don't know what tutorial you're looking at but simply do this to improve your underwriting:

Assumptions page should have timing table which includes dates and periods daily, monthly annually whatever is required. (LOI date, due diligence period, contract date, due diligence period, closing date, break ground date, periods, completion, investment period, sale date, etc. etc. etc.)

If i can figure out how to upload a screenshot I will.

 

I personally use xirr with the offset function in excel. The offset function paired with count will allow the xirr to adjust to the dates you enter.

 

Dude just use indirect(address()), where your start and ending cash flows will be captured by the address() function and embed that within XIRR, always use XIRR, for the monthly cash flows

 

Voluptatem quas voluptatum qui repellendus non sed deleniti. Quia dolorum perspiciatis illo sint officiis aut at. Repellat in distinctio et impedit maxime.

Cupiditate ea delectus repellat qui cum. Quo consequuntur sint unde saepe optio ipsa. Consequatur quos tenetur doloremque repellat maxime. Impedit maiores voluptates quisquam similique sunt sint. Libero mollitia eaque ut natus laborum ipsam ea laudantium.

Perspiciatis id maxime totam et id consequatur. In tenetur eligendi at rem dolores culpa.

Career Advancement Opportunities

August 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • Morgan Stanley 08 97.8%
  • Goldman Sachs 02 97.2%

Overall Employee Satisfaction

August 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.9%
  • Morgan Stanley 01 98.3%
  • Banco Santander 02 97.8%
  • BMO Capital Markets 12 97.2%

Professional Growth Opportunities

August 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • Morgan Stanley 06 98.3%
  • Goldman Sachs 01 97.8%
  • JPMorgan 01 97.2%

Total Avg Compensation

August 2026 Investment Banking

  • Vice President (16) $429
  • Associates (47) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (24) $180
  • Intern/Summer Associate (14) $159
  • 1st Year Analyst (82) $151
  • Intern/Summer Analyst (73) $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
GameTheory's picture
GameTheory
98.9
6
dosk17's picture
dosk17
98.9
7
DrApeman's picture
DrApeman
98.9
8
Betsy Massar's picture
Betsy Massar
98.9
9
CompBanker's picture
CompBanker
98.9
10
bolo up's picture
bolo up
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...”