DCF
There is not a specific function to run a full discounted cash flow model in Excel, but there are a number of tools to make the exercise much more straightforward. As touched upon in the PV and FV functions on a previous page, it is first necessary to estimate either the present or future value of a security, then also estimate its future cash flows. Discounting these cash flows back by an estimated discount rate will provide a future value. Conversely, starting with a present value and cash flows can allow the user to back into the estimated future value.
In addition to the above two functions, Microsoft has an IRR function that lets you back into the discount rate, or specifically the internal rate of return, for a series of cash flows. Excel points out that this is very closely related to the PV function, meaning the same inputs are needed, such as an initial present value followed by a string of cash flows.
The below details a specific cash flow stream for an investment, starting with an initial investment of $70.
Dividend Discount Model DDM
The dividend discount model (DDM) represents another approach to estimate the value of a stock or company by discounting back its estimated future dividend rates. It is very similar to a DCF, but uses dividends instead of cash flows. A basic model can be built an only requires knowing the current dividend rate, estimated dividend growth rate, and discount rate, or required rate of return.
However, there are more complicated ways to look to estimate dividends, including at rates that change over time. Below is an example of just how complicated the exercise can become:
Residual Income Model (RIM)
Along with the DDM, the residual income model (RIM) is another specialized version of a DCF used to value a firm. In its most basic form, the RIM has an equity charge that is equal to equity capital multiplied by the cost of equity. This is subtracted from net income to get to a residual income figure, which is used in lieu of cash flow or dividends, as calculated in the DCF and DDM models. Residual income figures can easily be modeled and calculated in Excel, but there are a number of steps to get to these calculations.
Below is an example of a full RIM as created in Excel:
Name of Firm: 
NewCo 

Date of Valuation: 
11/22/10 

($ and shares in millions) 

Growth Rates: 

First 5 years 
17.00% 

Years 6 – 10 
11.00% 

After 10 years 
4.00% 

Capital Retention Rates: 

First 5 years 
85.00% 

Years 6 – 10 
60.00% 

After 10 years 
20.00% 

Past Year Normalized Earnings 
$ 3,688 

Beginning Book Value of Equity 
$ 20,119 

Expected Rate of Return on Equity 
10.00% 

Discount Rate 
10.00% 
And below are the outputs, as calculated by the above RIM:
Book Value 
Present Value of 

of Equity 
Residual Earnings 
Intrinsic Value 
IV per Share 
$ 20,119 
$66,090 
$ 86,209 
$ 37 
Bond Valuation
There are a number of bond valuation functions in Excel. The "PRICE" function returns the estimated market value of a bond with a $100 face value. Below are the details of the metrics needed to value such a bond, which happens to be $90.20, based on the inputs provided.
Other bond functions include the ability to calculate a bond's duration, modified duration, yield to maturity, yield, and discount rate.Basically, there is the ability to solve for any variable when valuing a bond.
Guide To Excel For Finance: Advanced Calculations

Investing
Top 3 Pitfalls Of Discounted Cash Flow Analysis
The DCF method can be difficult to apply to reallife valuations. Find out where it comes up short. 
Investing
DCF Vs. Comparables: Which One To Use
DCF and Comparables models are widely used in equity valuation. We explain the pros and cons of each method. 
Investing
How To Choose The Best Stock Valuation Method
Don't be overwhelmed by the many valuation techniques out there  knowing a few characteristics about a company will help you pick the best one. 
Trading
Valuing A Company Using The Residual Income Method
Learn the underlying basics behind the residual income model and how it can be used to place an absolute value on a firm. 
Investing
Taking Stock Of Discounted Cash Flow
Learn how and why investors are using cash flowbased analysis to make judgments about company performance. 
Investing
What Is The Intrinsic Value Of A Stock?
Intrinsic value reduces the subjective perception of a stock's value by analyzing its fundamentals. 
Investing
Should You Use DCF for Valuation?
We explain the two primary valuation techniques—DCF and Comparables—used to predict future stock prices. 
Investing
Calculating Net Present Value at Different Points Using Excel
Calculating the net present value (NPV) of your investment projects using Excel. 
Investing
Evaluate Stock Price With ReverseEngineering DCF
This is a more accurate method to use when trying to find a target price for a stock. 
Investing
Digging Into The Dividend Discount Model
The DDM is one of the most foundational of financial theories, but it's only as good as its assumptions.