Building a discounted cash flow (DCF) model in Excel is a crucial skill for financial analysts, investors, and anyone involved in valuation. This powerful tool helps estimate the intrinsic value of a company or project by discounting expected future free cash flows to their present value. Let's dive into a step-by-step guide to create a DCF model in Excel.

Before we begin, ensure you have a solid understanding of basic Excel functions and financial concepts such as net present value (NPV), internal rate of return (IRR), and free cash flows. Also, familiarize yourself with Excel's data analysis tools and functions like XNPV, XIRR, and Goal Seek.

Setting Up the DCF Model
The first step in building a DCF model is setting up the basic structure. Open a new Excel workbook and name it "DCF Model." In the first sheet, name it "Input Assumptions." Here, you'll list all the inputs required for your DCF analysis, such as growth rates, discount rates, and initial cash flows.

In the second sheet, name it "DCF Calculation." This is where you'll perform the actual DCF calculation. You can add more sheets for sensitivity analysis, scenario comparison, or other valuation methods as needed.
Input Assumptions

In the "Input Assumptions" sheet, list all the inputs required for your DCF analysis. These typically include:
- Initial unlevered free cash flow (FCF)
- Growth rates for FCF (e.g., constant, declining, or staged growth)
- Terminal growth rate
- Discount rate (weighted average cost of capital - WACC)
- Tax rate
- Debt and equity capital structure
Format these inputs as Excel tables with clear headers, making it easy to update and review assumptions.

Discounting Future Cash Flows
In the "DCF Calculation" sheet, start by listing the forecasted FCFs in the first column. You can use Excel's built-in functions like XIRR or Goal Seek to project these cash flows based on your input assumptions. Ensure you're using the appropriate growth rates for each period.
Next, calculate the present value of each FCF using the discount rate (WACC) and the number of periods. The formula for this is: `PV = FCF / (1 + r)^n`, where `r` is the discount rate and `n` is the period number. You can use Excel's XNPV function for this purpose, which takes into account the timing of cash flows.

Calculating the Terminal Value
The terminal value represents the value of all cash flows beyond the explicit forecast period. It's an essential component of the DCF model, as it captures the residual value of the company or project after the forecast period.















![How to Create Your Own 18-Month Cash Flow Forecast [TEMPLATE]](https://i.pinimg.com/originals/d3/e3/c3/d3e3c3e291e133e22f18ed38459b359d.png)




There are several methods to calculate the terminal value, such as the Gordon Growth Model or exit multiples. Choose the method that best fits your analysis and apply it in the "DCF Calculation" sheet. Add the terminal value to the sum of present values of forecasted FCFs to obtain the enterprise value.
Gordon Growth Model
The Gordon Growth Model is a simple and widely-used method to calculate the terminal value. The formula is: `Terminal Value = (FCF in the last forecast year * (1 + terminal growth rate)) / (WACC - terminal growth rate)`.
For example, if the FCF in the last forecast year is $100 million, the terminal growth rate is 3%, and the WACC is 10%, the terminal value would be: `($100 million * 1.03) / (0.10 - 0.03) = $1.345 billion`.
Exit Multiples
Another approach to calculate the terminal value is using exit multiples, such as enterprise value (EV) to earnings before interest, taxes, depreciation, and amortization (EBITDA) or EV to sales. To use this method, first estimate the relevant multiples based on comparable companies or transactions. Then, apply these multiples to the appropriate metric (e.g., EBITDA or sales) in the last forecast year to calculate the terminal value.
Calculating Equity Value and Valuation Metrics
After calculating the enterprise value, subtract the market value of debt to obtain the equity value. Then, calculate key valuation metrics such as unlevered internal rate of return (IRR), net present value (NPV), and the present value of growth opportunities (PVGO). These metrics help assess the attractiveness of the investment or project.
To calculate the unlevered IRR, use Excel's IRR function with the present values of forecasted FCFs as inputs. The NPV can be calculated using the XNPV function, with the present values of forecasted FCFs and the terminal value as inputs. The PVGO is simply the equity value minus the initial investment.
Sensitivity Analysis
Conducting a sensitivity analysis helps understand how changes in input assumptions impact the DCF valuation. Create a new sheet for sensitivity analysis and use data tables or scenario manager tools to vary input assumptions and observe their effects on the equity value and other valuation metrics.
Common inputs to test in sensitivity analysis include growth rates, discount rates, and terminal growth rates. This analysis helps identify which assumptions have the most significant impact on the valuation and provides insights into the riskiness of the investment or project.
Building a discounted cash flow model in Excel is a powerful tool for valuation and investment analysis. Mastering this skill enables you to make informed decisions and communicate your findings effectively. Regularly review and update your DCF models to ensure they remain relevant and accurate. Happy modeling!