How to calculate IRR within a DCF Model

I'm trying to find the IRR based on a DCF model I built for IBM. However, I keep on getting the #NUM returned. I'm hoping if anyone can see if there's anything wrong with my set up.

Item #1: EV (purchase price): $210,915,106.81 Item #2: CF 2017: $10,084,617.63 Item #3: CF 2018: $9,636,329.03 Item #4: CF 2019: $9,249,581.72 Item #5: CF 2020: $8,736,297.45 Item #6: CF 2021: $8,328,116.57

the formula I have in excel is "=XIRR(Item #1 to #6, CF 2017 to 2021).

I think I'm missing the terminal cf, but how do I find that, and how would I add it to the formula?

4 Comments
 

Iceshift, others might do it differently, but here is how I set mine up whenever my firm values a potential acquisition target (I always use the =IRR formula):

CF1=purchase price (this must be a negative as it's a cash outflow) CF2=Year 1 EBITDA CF3=Year 2 EBITDA CF4=Year 3 EBITDA CF5=Year 4 EBITDA CF6=Year 5 EBITDA CF6=Terminal value (we use the Gordon Growth formula)

Your mistake is most likely that you forgot to set the purchase price as a negative.

EDIT: I just opened up Excel and confirmed that if your purchase price is not set as negative, it does indeed give you a #NUM! error.

 

Sil Thank you for your detailed response. Attached is the way I have set it up. It shows both FCFF and EBITDA.

https://s16.postimg.org/cs2sh0j8l/xirr-error.png</a" alt="xirr setup" />

I have a few questions:

  1. Why do we use EBITDA over FCFF?

I understand that IRR is the rate of return that sets the NPV to $0.

FCFF IRR = 1% and EBITDA IRR = 6.02%

  1. When I set the WACC to either 1% or 6.02%, none of my NPV changes to zero.

Sorry if these questions are very basic - this is my first week working these concepts.

 

Terminal value is an assumption. Can use perpetual growth or just simply an EBITDA multiple method (start by setting it equal to the multiple of your purchase price).

If using XIRR, the dates need to be actual dates like 12/31/2021, not just 2021. The purchase price needs to be negative at first. To add the terminal value just add another column and make the date the same as the 2021 date.

 
Best Response

In aut eos eos. Esse qui dolores distinctio ea ut rem.

Career Advancement Opportunities

July 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • Guggenheim Partners 01 97.8%
  • Morgan Stanley 07 97.2%

Overall Employee Satisfaction

July 2026 Investment Banking

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

Professional Growth Opportunities

July 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

July 2026 Investment Banking

  • Vice President (16) $429
  • Associates (46) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (14) $159
  • 1st Year Analyst (80) $150
  • 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
Secyh62's picture
Secyh62
99.0
4
BankonBanking's picture
BankonBanking
99.0
5
DrApeman's picture
DrApeman
98.9
6
dosk17's picture
dosk17
98.9
7
Betsy Massar's picture
Betsy Massar
98.9
8
CompBanker's picture
CompBanker
98.9
9
GameTheory's picture
GameTheory
98.9
10
Jamoldo's picture
Jamoldo
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...”