DCF Model - Circular References

Hi,

I'm trying to set up a simple DCF in Exel but get constantly a REF-error in my calculations for fully diluted shares (although I've allowed iterative calculations). In fact, I just tried to replicate an example from a textbook. Can someone help me out and spot the mistake?

12 Comments
 

hominem's comment should fix it.

For cases where a model is supposed to use circular references (interest expense on debt, financing fees for debt raise, etc) you can build in a circ switch. Designate any cell as your "switch". The switch will either have value 0 or value 1.

In the portion of the model that is circular, write the following formula: =if(A1,desired calculation,0) where A1 is your switch cell. Because A1 is boolean, you can just say =if(A1, ...), you don't need to specify =if(A1=1, ...). To make things easier, you can assign name "circ" to cell A1 using the name manager in the formula tab in excel. Then your formula is simply =if(circ,desired calc,0).

While building the model, you can keep switch on 1 (for more complex models I would suggest keeping switch at 0 for ease of auditing). To fix a #REF error from circularity, just flip switch from 1 to 0 and back to 1. Happy modeling.

 

Fugit cum velit earum quo dolores. Fuga qui temporibus provident quisquam aut sed doloribus. Occaecati est aut est amet et. Neque distinctio quasi aut.

Eligendi ea sed exercitationem pariatur vitae dignissimos saepe optio. Ipsa laborum explicabo quae quia. Sed sed perferendis facilis. Nam hic aliquam illo.

Quos rerum adipisci laboriosam. Et distinctio quis quia vero minus. Expedita aut tenetur qui qui omnis sit pariatur.

Amet sint quis nihil omnis non velit eius. Qui quam id temporibus consectetur. Iure quod nisi illo tempora. Repellendus et dolores vitae blanditiis omnis.

Career Advancement Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • 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.3%
  • BMO Capital Markets 12 97.7%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

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

Total Avg Compensation

June 2026 Investment Banking

  • Vice President (14) $434
  • Associates (44) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (78) $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
Betsy Massar's picture
Betsy Massar
98.9
6
CompBanker's picture
CompBanker
98.9
7
dosk17's picture
dosk17
98.9
8
GameTheory's picture
GameTheory
98.9
9
DrApeman's picture
DrApeman
98.9
10
Mimbs's picture
Mimbs
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...”