Mastering DCF in Excel: A Step-by-Step Guide

Alexander Jul 09, 2026

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.

📈 Manage Cash Flow with Excel Like a Pro
📈 Manage Cash Flow with Excel Like a Pro

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!

Discounted Cash Flow Valuation Calculator | Plan Projections
Discounted Cash Flow Valuation Calculator | Plan Projections

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.

Financial Modeling  in Excel Building a Discounted Cash Flow Valuation
Financial Modeling in Excel Building a Discounted Cash Flow Valuation

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
ACCTG 455 Excel Finance Class 82 Discounted Relevant Costs Cash Flow Analysis Incremental Cash Flows
ACCTG 455 Excel Finance Class 82 Discounted Relevant Costs Cash Flow Analysis Incremental Cash Flows

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).

Discounted Cash Flow Template Excel & Google Sheets
Discounted Cash Flow Template Excel & Google Sheets

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.

a blue and black poster with information about the process to make cash flow in minutes
a blue and black poster with information about the process to make cash flow in minutes

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.

Cash Flow Forecast Template For Excel
Cash Flow Forecast Template For Excel
Discounted Cash Flow Template | Business Tools | Excel Templates | DCF Valuation Model
Discounted Cash Flow Template | Business Tools | Excel Templates | DCF Valuation Model
Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 2
Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 2
Monitor your cash flow | Make money online
Monitor your cash flow | Make money online
a whiteboard with some writing on it and diagrams about the process for cash flow modeling
a whiteboard with some writing on it and diagrams about the process for cash flow modeling
Master Your Cash Flow: 11 Essential Formulas You Need to Know 💸 | Nevena Miskovic | 15 comments
Master Your Cash Flow: 11 Essential Formulas You Need to Know 💸 | Nevena Miskovic | 15 comments
How to Make a Cash Flow Statement in Microsoft Excel
How to Make a Cash Flow Statement in Microsoft Excel
How to make Cash Flow Report Summary in #Excel
How to make Cash Flow Report Summary in #Excel
Basic Cash Flow Budget
Basic Cash Flow Budget
DCF
DCF
Small Business Cash Flow Forecast Excel Template, 13-Week Tracker (Instant Download)
Small Business Cash Flow Forecast Excel Template, 13-Week Tracker (Instant Download)
How to Make a Monthly Budget Excel Spreadsheet | Cashflow, Income, Fixed and Variable Expenses
How to Make a Monthly Budget Excel Spreadsheet | Cashflow, Income, Fixed and Variable Expenses
Weekly Cash Flow Template for Small Business, Weekly Cashflow Forecast
Weekly Cash Flow Template for Small Business, Weekly Cashflow Forecast
Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 1
Financial Modeling Quick Lesson: Building a Discounted Cash Flow (DCF) Model - Part 1
SME Cash Flow Excel Template | Templates at allbusinesstemplates.com
SME Cash Flow Excel Template | Templates at allbusinesstemplates.com
Cash Flow Worksheet - Monthly - Microsoft Excel Organizer
Cash Flow Worksheet - Monthly - Microsoft Excel Organizer
Cash Flow Tracking Excel Template, Business Cash Flow Spreadsheet, Monthly Cash Flow Tracker, Income Expense Sheet, Google Sheets Excel
Cash Flow Tracking Excel Template, Business Cash Flow Spreadsheet, Monthly Cash Flow Tracker, Income Expense Sheet, Google Sheets Excel
How to Create Your Own 18-Month Cash Flow Forecast [TEMPLATE]
How to Create Your Own 18-Month Cash Flow Forecast [TEMPLATE]
Excel functions you simply MUST know if you want to stay in the… | Bojan Radojicic | 17 comments
Excel functions you simply MUST know if you want to stay in the… | Bojan Radojicic | 17 comments
Discounted Cash Flow Valuation
Discounted Cash Flow Valuation

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!