# 10 Ways to Analyze Financial Data Using Excel

All kinds of people use Excel, including scientists, engineers, mathematicians, statisticians, and pollsters. But if you could somehow survey all the world’s Excel users, the typical user would probably have something to do with the financial industry. Whether they’re accountants or adjusters, bankers or borrowers, or money managers or money lenders, financial types rely on Excel every day to analyze budgets, loans, investments, and other monetary minutiae.

But it’s not just the financial pros who count on Excel (sometimes literally). Financial amateurs can also use Excel to analyze mortgages, car payments, college funds, savings accounts, and other workaday finances.

Whether you make a living working with money or for money, these ten useful techniques for analyzing financial data using Excel might come in handy.

## Calculating future value in Excel

If you have $1,000 and plan to invest it at 5 percent interest, compounded annually for ten years, the amount you’ll receive at the end of ten years is called the *future value* of $1,000. You can use the Excel FV function to calculate the amount you’ll receive.

Here’s the syntax of the FV function:

FV(rate,nper,pmt[,pv][,type])

The

argument is the interest rate of the investment; *rate*

is the term of the investment; *nper*

is the amount of each regular deposit into the investment; the optional *pmt*

argument is your initial investment; and the optional *pv*

argument is a number indicating when deposits are due (*type*`0`

or blank for end of period; `1`

for beginning of period).

For example, to calculate the future value of $1,000 when it’s invested at 5 percent annual interest for 10 years, you use the following formula:

=FV(.05, 10, 0, -1000)

When you’re working with FV, cash outflows are considered negative amounts, so you need to enter the

and *pmt*

arguments as negative numbers.*pv*

If you plan on depositing an extra $100 per year in that same investment, the formula changes to this:

=FV(.05, 10, 100, -1000)

When calculating a future value, be careful of the values you use for the

and *rate*

arguments. If you’re not making regular deposits or you are making a single deposit annually, you can use the annual interest rate for the *nper*

argument and the number of years in the investment for the *rate*

argument.*nper*

For more frequent deposits, you need to adjust the

and *rate*

values accordingly. As a general rule, divide the annual interest rate by the number of deposits per year, and multiply the term of the investment by the number of deposits per year. For example, with monthly deposits, divide the annual interest rate by 12 and multiply the term by 12.*nper*

For an example, suppose that with the earlier investment, you want to deposit $15 per month. Here’s the revised formula to handle monthly deposits:

=FV(.05 / 12, 10 * 12, 15, -1000)

## Calculating present value in Excel

Investors use the concept of *present value* to recognize the time value of money. Because an investor can receive interest, $1,000 today is worth less than $1,000 ten years from today. For example, $1,000 invested today at 10 percent interest per year, compounded annually, would return $2,593.74. Therefore, the present value of $2,593.74 at 10 percent, compounded annually, for 10 years is $1,000. Or, worded differently, $1,000 today is worth $2,593.74 ten years from today.

To find the present value, you can use the Excel PV function, which takes five arguments:

PV(rate,nper,pmt[,fv][,type])

The

argument is the interest rate; *rate*

> is the number of periods in the term; *nper</em*

is the amount of each payment; the optional *pmt*

argument is the future value you’re trying to find the present value of; and the optional *fv*

argument is a number indicating when payments are made (*type*`0`

or blank for end of period; `1`

for beginning of period).

For example, the following formula calculates the present value of $2,593.74, the final value of an investment that returns 10 percent interest, compounded annually, for 10 years:

=PV(0.1, 10, 0, 2593.74)

When you’re working with the PV function, negative numbers are cash outflows and positive numbers are cash inflows. Enter a negative number when making a payment; enter a positive number when receiving cash.

Present value also applies to loans and mortgages. The money you receive when you take out a loan is the present value of the loan. When calculating present value, be careful what you enter in the

> and *rate</em*

arguments. You must divide the annual interest rate by the number of payments per year. For example, if payments are monthly, you should divide the annual interest rate by 12. You must also multiply the term by the number of payments. For example, if payments are monthly, multiply the term by 12.*nper*

For example, if you’ll be making monthly $15 deposits to the preceding investment, here’s the formula to calculate the revised present value of the investment:

=PV(0.1 / 12, 10 * 12, 15, 2593.74)

## Determining loan payments in Excel

When borrowing money, whether for a mortgage, car financing, a student loan, or something else, the most basic analysis is to calculate the regular payment you must make to repay the loan. You use the Excel PMT function to determine the payment.

The PMT function takes three required arguments and two optional ones:

PMT(rate,nper,pv[,fv][,type])

The required arguments are

, the fixed rate of interest over the term of the loan; *rate*

, the number of payments over the term of the loan; and *nper*

, the loan principal. The two optional arguments are *pv*

, the future value of the loan, which is usually an end-of-loan balloon payment; and *fv*

, the type of payment: *type*`0`

(the default) for end-of-period payments or `1`

for beginning-of-period payments.

A balloon payment covers any unpaid principal that remains at the end of a loan.

The following example calculates the monthly payment on a 3-percent, 25-year $200,000 mortgage:

=PMT(0.03 / 12, 25 * 12, 200000)

Note that the result of this formula is –948.42. Why the minus sign? The PMT function returns a negative value because a loan payment is money that you pay out.

As shown in the preceding formula, if the interest rate is annual, you can divide it by 12 to get the monthly rate; if the term is expressed in years, you can multiply it by 12 to get the number of months in the term.

With many loans, the payments take care of only a portion of the principal, with the remainder due as an end-of-loan balloon payment. This payment is the future value of the loan, so you enter it into the PMT function as the

argument. You might think that the *fv*

argument should therefore be the partial principal — that is, the original loan principal minus the balloon amount — because the loan term is designed to pay off only the partial principal. Nope. In a balloon loan, you also pay interest on the balloon part of the principal. Therefore, the PMT function’s *pv*

argument must be the entire principal, with the balloon portion as the (negative) *pv*

argument.*fv*

## Calculating a loan payment’s principal and interest in Excel

It’s one thing to know the total amount for a regular loan payment, but breaking down a loan payment into its principal and interest components is often handy. The principal part is the amount of the loan payment that goes toward paying down the original loan amount, whereas the rest of the payment is the interest you’re shelling out to the lender.

To calculate loan payment principal and interest, you can use the PPMT and IPMT functions, respectively. As the loan progresses, the value of PPMT increases while the value of IPMT decreases, but the sum of the two is constant in each period and is equal to the loan payment.

Both functions take the same six arguments:

PPMT(rate,per,nper,pv[,fv][,type]) IPMT(rate,per,nper,pv[,fv][,type])

The four required arguments are

, the fixed rate of interest over the loan term; *rate*

, the number of the payment period; *per*

, the number of payments over the term of the loan; and *nper*

, the loan principal. The two optional arguments are *pv*

, the future value of the loan; and *fv*

, the type of payment: *type*`0`

for end of period or` 1`

for beginning of period.

For example, the following two formulas calculate the principal and interest portions of the first monthly payment on a –percent, 25-year $200,000 mortgage:

=PPMT(0.03 / 12, 1, 25 * 12, 200000) =IPMT(0.03 / 12, 1, 25 * 12, 200000)

## Calculating cumulative loan principal and interest in Excel

To calculate how much principal or interest has accumulated between two periods of a loan, use the CUMPRINC or the CUMIPMT function, respectively. Both functions require the same six arguments:

CUMPRINC(rate,nper,pv,start_period,end_period,type]) CUMIPMT(rate,nper,pv,start_period,end_period,type])

Here,

is the fixed rate of interest over the term of the loan; *rate*

is the number of payments over the term of the loan; *nper*

is the loan principal; *pv*

is the first period to include in the calculation; *start_period*

is the last period to include in the calculation; and *end_period*

is the type of payment: *type*`0`

for end of period or `1`

for beginning of period.

For example, to find the cumulative principal or interest in the first year of a loan, set

to *start_period*`1`

and

to *end_period* `12`

, as shown here:

CUMPRINC(0.03 / 12, 25 * 12, 200000, 1, 12, 0) CUMIPMT(0.03 / 12, 25 * 12, 200000, 1, 12, 0)

For the second year, you’d set

to *start_period*`13`

and

to *end_period*`24`

, and so on.

## Finding the required interest rate in Excel

If you know how much you want to borrow, how long a term you want, and what payments you can afford, you can calculate what interest rate will satisfy these parameters using the Excel RATE function. For example, you can use this calculation to put off borrowing money if current interest rates are higher than the value you calculate.

The RATE function takes the following arguments:

RATE(nper,pmt,pv[,fv][,type][,guess])

The three required arguments are

, the number of payments over the term of the loan; *nper*

, the periodic payment; and *pmt*

, the loan principal. RATE can also take three optional arguments: *pv*

, the future value of the loan (the end-of-loan balloon payment); *fv*

, the type of payment (*type*`0`

for end of period or `1`

for beginning of period); and

, a percentage value that Excel uses as a starting point for calculating the interest rate.*guess*

If you want an annual interest rate, you must divide the term by 12 if it is currently expressed in months. Conversely, if you have a monthly payment and you want an annual interest rate, you must multiply the payment by 12.

RATE uses an iterative process in which Excel starts with an initial guess value and attempts to refine each subsequent result to obtain the answer. If you omit

, Excel uses a default value of 10 percent. If after 20 tries Excel can’t come up with a value, it returns a #NUM! error. If that happens, you should enter a *guess*

value and try again.*guess*

On a related note, if you know the principal, the interest rate, and the payment, you can calculate the length of the loan by using the NPER function:

NPER(rate,pmt,pv[,fv][,type])

The NPER function’s three required arguments are

, the fixed rate of interest;*rate*` `

, the loan payment; and *pmt*

, the loan principal. The two optional arguments are *pv*

, the future value of the loan, and *fv*

, the type of payment (0 or 1).*type*

## Determining the internal rate of return in Excel

The *internal rate of return* is related to the net present value, which is the sum of a series of net cash flows, each of which has been discounted to the present using a fixed discount rate. The internal rate of return can be defined as the discount rate required to get a net present value of $0.

You can use the Excel IRR function to calculate the internal rate of return on an investment. The investment’s cash flows don’t have to be equal, but they must occur at regular intervals. IRR tells you the interest rate you receive on the investment. Here’s the syntax:

IRR(values[,guess])

The *values* argument is required and represents the range of cash flows over the term of the investment. It must contain at least one positive and one negative value. The

argument is optional and specifies an initial estimate for the Excel iterative calculation of the internal rate of return (the default is 0.1). If after 20 tries Excel can’t calculate a value, it returns a #NUM! error. If you see that error, enter a value for the *guess*

argument and try again.*guess*

For example, given a series of cash flows in the range B3:G3, here’s a formula that returns the internal rate of return using an initial guess of 0.11:

=IRR(B3:G3, 0.11)

You can use the NPV function to calculate the net present value of future cash flows. If all the cash flows are the same, you can use PV to calculate the present value. But when you have a series of varying cash flows, use NPV, which requires two arguments:

, the discount rate over the term of the asset or investment, and *rate*

, the range of cash flows.*values*

## Calculating straight-line depreciation in Excel

The *straight-line* method of depreciation allocates depreciation evenly over the useful life of an asset. Salvage value is the value of an asset after its useful life has expired. To calculate straight-line depreciation, you take the cost of the asset, subtract any salvage value, and then divide by the useful life of the asset. The result is the amount of depreciation allocated to each period.

To calculate straight-line depreciation, you can use the Excel SLN function:

SLN(cost,salvage,life)

SLN takes three arguments:

, the initial cost of the asset; *cost*

, the salvage value of the asset; and *salvage*

, the life of the asset in periods. If you purchase an asset mid-year, you can calculate depreciation in months instead of years.*life*

For example, if an equipment purchase was $8,500, the equipment’s salvage value is $500, and the equipment’s useful life is four years, the following formula returns the annual straight-line depreciation:

=SLN(8500, 500, 4)

The *carrying value* is the cost of an asset minus the total depreciation taken to date. For example, the depreciation for an asset with a cost of $8,500, a salvage value of $500, and a useful life of four years would be allocated as follows:

Year | Annual Depreciation Expense | Accumulated Depreciation | Carrying Value |

Beginning of Year 1 | $8,500 | ||

End of Year 1 | $2,000 | $2,000 | $6,500 |

End of Year 2 | $2,000 | $4,000 | $4,500 |

End of Year 3 | $2,000 | $6,000 | $2,500 |

End of Year 4 | $2,000 | $8,000 | $500 |

## Returning the fixed-declining balance depreciation in Excel

When calculating depreciation, accountants try to match the cost of an asset with the revenue it produces. Some assets produce more in earlier years than in later years. For those assets, accountants use accelerated methods of depreciation, which take more depreciation in the earlier years than in the later years. *Fixed-declining balance* is an accelerated method of depreciation.

To calculate fixed-declining balance depreciation, you can use the Excel DB function:

DB(cost,salvage,life,period[,month])

The DB function takes five arguments:

, the cost of the asset; *cost*

, the salvage value; *salvage*

, the useful life;*life*` `

, the period for which you’re calculating depreciation; and the optional *period*

, the number of months in the first year. If you leave *month*

blank, Excel uses a default value of 12.*month*

For example, if an equipment purchase was $8,500, the equipment’s salvage value is $500, and the equipment’s useful life is four years, the following formula returns the depreciation amount for the first year:

=DB(8500, 500, 4, 1)

The fixed-declining balance method of depreciation depreciates an asset with a cost of $8,500, a salvage value of $500, and a useful life of four years, as follows:

Year | Annual Depreciation Expense | Accumulated Depreciation | Carrying Value |

Beginning of Year 1 | $8,500 | ||

End of Year 1 | $4,318 | $4,318 | $4,182 |

End of Year 2 | $2,124 | $6,442 | $2,058 |

End of Year 3 | $1,045 | $7,488 | $1,012 |

End of Year 4 | $512^{*} |
$8,000 | $500 |

^{*} Amount adjusted for rounding error.

## Determining the double-declining balance depreciation

Double-declining balance is an accelerated depreciation method that takes the rate you would apply by using straight-line depreciation, doubles it, and then applies the doubled rate to the carrying value of the asset.

To determine the double-declining balance depreciation, you can use the Excel DDB function

DDB(cost,salvage,life,period[,factor])

The DDB function takes five arguments:

, the cost of the asset; *cost*

, the salvage value; *salvage*

, the useful life; *life*

, the period for which you’re calculating depreciation; and the optional *period*

, the rate at which the balance declines. The default value for *factor*

is 2, but to use a value other than twice the straight-line rate, you can enter the factor you want to use, such as 1.5 for a rate of 150 percent.*factor*

For example, if an equipment purchase was $8,500, the equipment’s salvage value is $500, and the equipment’s useful life is four years, the following formula returns the depreciation amount for the first year:

=DDB(8500, 500, 4, 1, 2)

The double-declining balance method of depreciation depreciates an asset with a cost of $8,500, a salvage value of $1,500, and a useful life of four years, as follows:

Year | Annual Depreciation Expense | Accumulated Depreciation | Carrying Value |

Beginning of Year | $8,500 | ||

End of Year 1 | $4,250 | $4,250 | $4,250 |

End of Year 2 | $2,125 | $6,375 | $2,125 |

End of Year 3 | $625^{*} |
$7,000 | $1,500 |

End of Year 4 | $0^{*} |
$7,500 | $1,500 |

^{*} The DDB function does not depreciate the asset below the salvage value.