Discounted Cash Flow (DCF) analysis is a powerful tool used in finance and investment to estimate the intrinsic value of a company, project, or asset. It involves forecasting future free cash flows and discounting them back to their present value. Excel, with its robust features and flexibility, is an ideal platform to perform DCF analysis. In this guide, we'll walk you through the step-by-step process of how to do a discounted cash flow in Excel.

Before we dive in, ensure you have a basic understanding of financial concepts such as free cash flow, discount rate, and net present value (NPV). Also, have your future cash flow projections and discount rate ready. Let's get started!

Setting Up the DCF Model
The first step is to set up the DCF model structure in Excel. This involves creating separate sheets for inputs, calculations, and outputs. Using multiple sheets keeps your model organized and easy to understand.

For this guide, let's assume we're valuing a company with the following inputs:
- Year 1-5 free cash flows: $100, $150, $200, $250, $300
- Growth rate after Year 5: 3%
- Discount rate: 10%
- Terminal multiple: 10

Inputs Sheet
In the inputs sheet, list all the inputs required for the DCF analysis. Use absolute cell references for any inputs that will be used in multiple calculations.
For our example, list the free cash flows, growth rate, discount rate, and terminal multiple in separate cells. You can also include other inputs like the number of shares outstanding or the cost of equity if you're calculating the weighted average cost of capital (WACC).

Calculations Sheet
The calculations sheet is where the magic happens. Here, we'll calculate the terminal value, discount each cash flow, and sum them up to find the NPV.
Start by calculating the terminal value using the Gordon Growth Model: Terminal Value = (FCF in Year 5 * (1 + Growth Rate)) / (Discount Rate - Growth Rate). In our case, this would be (300 * (1 + 0.03)) / (0.10 - 0.03) = $4,285.71.

Discounting Cash Flows
Now that we have the terminal value, it's time to discount each cash flow back to its present value. We'll use the XNPV function in Excel, which calculates the net present value of a schedule of cash flows that is not necessarily periodic.

















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


First, create a table with two columns: one for the cash flows and one for the corresponding periods. The periods should start from 0 (for the initial investment, which is typically assumed to be negative) and increase by 1 for each subsequent year.
Discounting Future Cash Flows
In the cash flows column, list the free cash flows for Years 1-5. In the periods column, list the corresponding years (0, 1, 2, 3, 4, 5).
Now, use the XNPV function to discount these cash flows. The syntax is XNPV(Rate, Values, Dates), where Rate is the discount rate, Values is the range of cash flows, and Dates is the range of corresponding periods.
For our example, the formula would be XNPV(0.10, C2:C7, A2:A7), assuming the cash flows are in cells C2:C7 and the periods are in cells A2:A7. This will give you the present value of the future cash flows.
Discounting the Terminal Value
Next, discount the terminal value back to its present value using the XNPV function again. The period for the terminal value should be the year after the last forecasted cash flow plus one (in our case, 6).
The formula would be XNPV(0.10, D8, A8), assuming the terminal value is in cell D8 and the period is in cell A8. This will give you the present value of the terminal value.
Calculating the NPV
The final step is to calculate the net present value (NPV) by summing up the present values of the future cash flows and the terminal value.
In our example, the NPV would be the sum of the present value of the future cash flows and the present value of the terminal value. Assuming these values are in cells E2 and E3, respectively, the formula would be E2 + E3.
The NPV is the intrinsic value of the company based on the given inputs. If the current market value of the company is less than the NPV, it may be undervalued and could be a potential investment opportunity.
And there you have it! You've just performed a discounted cash flow analysis in Excel. This powerful tool can help you make more informed investment decisions. Keep practicing and refining your model to gain a deeper understanding of DCF analysis. Happy valuing!