You are on page 1of 38

Discrete Annual Compound Interest

Interest Rate

Year

Cash Balance
0
1,000.00
1
2
3
4
5
6
7
8
9
10

Note: This discrete annual compound interest example is from Simon Benninga, Principles of Finance with Exce
Oxford University Press (2011) pp. 683-693

nciples of Finance with Excel, Second Edition

Excel uses standard "PEMDAS" order of operations for arithmetic


"Parentheses, Exponents, Multiplication and Division, and Addition and
Parentheses
Exponents - use caret
Multiplication - use asterisk
Division - use slash
Addition
Subtraction
Assume we want (6-3)(4+2) = 18
=6-3*4+2
Assume we want (3/5) squared
=(3/5)^2

"(6-3)"
"^"
"*"
"/"
"+"
"-"

(for example, "six square

ons for arithmetic


ision, and Addition and Subtraction"

or example, "six squared" is "6^2"; "square root of six" is "6^(.5)")

A
1
2
3
4
5
6
7
8
9
10
11
12

natural log
"ln"

Example
log to the base "e" of 1.5

log to the base 2


"log(number, base)"

log to the base 2 of 1.5

pi
"pi()"

1 divided by the square root of pi

random number between 0 and 1


"=rand()"

Adjusted monthly closing prices (from Yahoo finance)


Date
8/1/14
7/1/2014
6/2/2014
5/1/14
4/1/2014
3/3/2014
2/3/2014
1/2/2014
12/2/2013
11/1/2013
10/1/2013
9/3/2013
8/1/2013
7/1/2013
6/3/2013
5/1/2013
4/1/2013
3/1/2013
2/1/2013
1/2/2013
12/3/2012
11/1/2012
10/1/2012
9/4/2012
8/1/2012
7/2/2012
6/1/2012
5/1/2012
4/2/2012
3/1/2012
2/1/2012
1/3/2012
12/1/2011
11/1/2011
10/3/2011
9/1/2011
8/1/2011
7/1/2011
6/1/2011
5/2/2011

S&P 500 Index

Duke Energy Stock


1925.15
1930.67
1960.23
1923.57
1883.95
1872.34
1859.45
1782.59
1848.36
1805.81
1756.54
1681.55
1632.97
1685.73
1606.28
1630.74
1597.57
1569.19
1514.68
1498.11
1426.19
1416.18
1412.16
1440.67
1406.58
1379.32
1362.16
1310.33
1397.91
1408.47
1365.68
1312.41
1257.6
1246.96
1253.3
1131.42
1218.89
1292.28
1320.64
1345.2

72.94
72.13
74.19
71.08
73.68
70.45
70.11
69.09
67.51
68.44
69.41
64.62
63.48
67.95
64.6
64.05
71.2
68.73
65.57
64.37
59.74
59.76
60.76
59.92
59.91
61.98
63.26
60.3
58.11
56.98
56.73
57.12
58.97
55.88
54.07
52.93
50.07
48.56
49.16
48.95

4/1/2011
3/1/2011
2/1/2011
1/3/2011
12/1/2010
11/1/2010
10/1/2010
9/1/2010
8/2/2010
7/1/2010
6/1/2010
5/3/2010
4/1/2010
3/1/2010
2/1/2010
1/4/2010
12/1/2009
11/2/2009
10/1/2009
9/1/2009
8/3/2009
7/1/2009
6/1/2009
5/1/2009
4/1/2009
3/2/2009
2/2/2009
1/2/2009
12/1/2008
11/3/2008
10/1/2008
9/2/2008
8/1/2008
7/1/2008
6/2/2008
5/1/2008
4/1/2008
3/3/2008
2/1/2008
1/2/2008
12/3/2007
11/1/2007
10/1/2007

1363.61
1325.83
1327.22
1286.12
1257.64
1180.55
1183.26
1141.2
1049.33
1101.6
1030.71
1089.41
1186.69
1169.43
1104.49
1073.87
1115.1
1095.63
1036.19
1057.08
1020.62
987.48
919.32
919.14
872.81
797.87
735.09
825.88
903.25
896.24
968.75
1166.36
1282.83
1267.38
1280
1400.38
1385.59
1322.7
1330.63
1378.55
1468.36
1481.14
1549.38

48.08
46.79
46.38
45.47
45.29
44.63
45.7
44.44
43.11
42.32
39.59
39.49
40.94
39.81
39.89
39.74
41.38
40.1
37.47
37.29
36.69
36.11
34.03
33
31.68
32.85
30.9
34.23
33.91
35.16
36.47
38.81
38.83
38.64
38.2
40.62
39.78
38.78
38.1
40.04
43.3
42.49
40.69

9/4/2007
8/1/2007
7/2/2007
6/1/2007
5/1/2007
4/2/2007
3/1/2007
2/1/2007
1/3/2007
12/1/2006
11/1/2006
10/2/2006
9/1/2006
8/1/2006
7/3/2006
6/1/2006
5/1/2006
4/3/2006
3/1/2006
2/1/2006
1/3/2006
12/1/2005
11/1/2005
10/3/2005
9/1/2005
8/1/2005
7/1/2005
6/1/2005
5/2/2005
4/1/2005
3/1/2005
2/1/2005
1/3/2005
12/1/2004
11/1/2004
10/1/2004
9/1/2004
8/2/2004
7/1/2004
6/1/2004
5/3/2004
4/1/2004
3/1/2004

1526.75
1473.99
1455.27
1503.35
1530.62
1482.37
1420.86
1406.82
1438.24
1418.3
1400.63
1377.94
1335.85
1303.82
1276.66
1270.2
1270.09
1310.61
1294.87
1280.66
1280.08
1248.29
1249.48
1207.01
1228.81
1220.33
1234.18
1191.33
1191.5
1156.85
1180.59
1203.6
1181.27
1211.92
1173.82
1130.2
1114.58
1104.24
1101.72
1140.84
1120.68
1107.3
1126.21

39.67
38.93
35.72
38.39
40.99
42.6
42.13
40.86
40.46
39.66
37.88
37.4
35.7
35.46
35.46
34.35
33.01
33.69
33.73
32.86
32.44
31.41
30.74
29.94
32.99
32.78
33.4
33.62
31.08
32.68
31.36
30.22
29.69
28.08
28.02
26.9
25.1
24.28
23.28
21.97
21.59
22.49
24.13

2/2/2004
1/2/2004
12/1/2003
11/3/2003
10/1/2003
9/2/2003
8/1/2003
7/1/2003
6/2/2003
5/1/2003
4/1/2003
3/3/2003
2/3/2003
1/2/2003
12/2/2002
11/1/2002
10/1/2002
9/3/2002
8/1/2002
7/1/2002
6/3/2002
5/1/2002
4/1/2002
3/1/2002
2/1/2002
1/2/2002
12/3/2001
11/1/2001
10/1/2001
9/4/2001
8/1/2001
7/2/2001
6/1/2001
5/1/2001
4/2/2001
3/1/2001
2/1/2001
1/2/2001
12/1/2000
11/1/2000
10/2/2000
9/1/2000
8/1/2000

1144.94
1131.13
1111.92
1058.2
1050.71
995.97
1008.01
990.31
974.5
963.59
916.92
848.18
841.15
855.7
879.82
936.31
885.76
815.28
916.07
911.62
989.82
1067.14
1076.92
1147.39
1106.73
1130.2
1148.08
1139.45
1059.78
1040.94
1133.58
1211.23
1224.38
1255.82
1249.46
1160.33
1239.94
1366.01
1320.28
1314.95
1429.4
1436.51
1517.68

23.45
22.91
21.56
19.02
18.84
18.49
17.73
17.93
20.39
19.8
17.68
14.62
13.58
16.81
19.29
19.49
19.93
19.02
26.1
24.54
29.94
30.82
36.63
36.12
33.73
33.06
37.22
34.27
36.16
35.64
37.01
36.09
36.46
42.73
43.43
39.7
37.85
33.74
39.33
41.49
39.62
39.31
34.29

7/3/2000
6/1/2000
5/1/2000
4/3/2000
3/1/2000
2/1/2000
1/3/2000

1430.83
1454.6
1420.6
1452.43
1498.58
1366.42
1394.46

28.05
25.63
26.49
25.9
23.65
21.85
25.75

Monthly continuously compounded (log) returns


S&P 500 Index

Duke Energy Stock

176 months - 175 returns


return data located rows 4 - 178
Functions on one column at a time
S&P 500 Index
Duke Energy Stock
average monthly return
average annual return
standard deviation of monthly returns
annualized standard deviation of returns
minimum
maximum

Functions on two columns at the same time (ordered pairs)


S&P 500 Index - x axis
Duke Energy Stock - y axis
Description of best-fit (regression) line - Duke on S&P 500
slope
y-intercept
correlation
R-squared

d pairs)

14.58 years

Date
S&P 500 Index
Duke Energy Stock
2/1/2000
-2.03%
-16.42%
3/1/2000
9.23%
7.92%
4/3/2000
-3.13%
9.09%
5/1/2000
-2.22%
2.25%
6/1/2000
2.37%
-3.30%
7/3/2000
-1.65%
9.02%
8/1/2000
5.89%
20.09%
9/1/2000
-5.50%
13.66%
###
-0.50%
0.79%
###
-8.35%
4.61%
###
0.40%
-5.35%
1/2/2001
3.41%
-15.33%
2/1/2001
-9.68%
11.49%
3/1/2001
-6.64%
4.77%
4/2/2001
7.40%
8.98%
5/1/2001
0.51%
-1.62%
6/1/2001
-2.54%
-15.87%
7/2/2001
-1.08%
-1.02%
8/1/2001
-6.63%
2.52%
9/4/2001
-8.53%
-3.77%
###
1.79%
1.45%
###
7.25%
-5.37%
###
0.75%
8.26%
1/2/2002
-1.57%
-11.85%
2/1/2002
-2.10%
2.01%
3/1/2002
3.61%
6.85%
4/1/2002
-6.34%
1.40%
5/1/2002
-0.91%
-17.27%
6/3/2002
-7.52%
-2.90%
7/1/2002
-8.23%
-19.89%
8/1/2002
0.49%
6.16%

9/3/2002
###
###
###
1/2/2003
2/3/2003
3/3/2003
4/1/2003
5/1/2003
6/2/2003
7/1/2003
8/1/2003
9/2/2003
###
###
###
1/2/2004
2/2/2004
3/1/2004
4/1/2004
5/3/2004
6/1/2004
7/1/2004
8/2/2004
9/1/2004
###
###
###
1/3/2005
2/1/2005
3/1/2005
4/1/2005

-11.66%
8.29%
5.55%
-6.22%
-2.78%
-1.71%
0.83%
7.79%
4.96%
1.13%
1.61%
1.77%
-1.20%
5.35%
0.71%
4.95%
1.71%
1.21%
-1.65%
-1.69%
1.20%
1.78%
-3.49%
0.23%
0.93%
1.39%
3.79%
3.19%
-2.56%
1.87%
-1.93%
-2.03%

-31.64%
4.67%
-2.23%
-1.03%
-13.76%
-21.34%
7.38%
19.00%
11.32%
2.94%
-12.86%
-1.12%
4.20%
1.88%
0.95%
12.53%
6.07%
2.33%
2.86%
-7.04%
-4.08%
1.74%
5.79%
4.21%
3.32%
6.93%
4.08%
0.21%
5.58%
1.77%
3.70%
4.12%

5/2/2005
6/1/2005
7/1/2005
8/1/2005
9/1/2005
###
###
###
1/3/2006
2/1/2006
3/1/2006
4/3/2006
5/1/2006
6/1/2006
7/3/2006
8/1/2006
9/1/2006
###
###
###
1/3/2007
2/1/2007
3/1/2007
4/2/2007
5/1/2007
6/1/2007
7/2/2007
8/1/2007
9/4/2007
###
###
###

2.95%
-0.01%
3.53%
-1.13%
0.69%
-1.79%
3.46%
-0.10%
2.51%
0.05%
1.10%
1.21%
-3.14%
0.01%
0.51%
2.11%
2.43%
3.10%
1.63%
1.25%
1.40%
-2.21%
0.99%
4.24%
3.20%
-1.80%
-3.25%
1.28%
3.52%
1.47%
-4.50%
-0.87%

-5.02%
7.86%
-0.66%
-1.87%
0.64%
-9.70%
2.64%
2.16%
3.23%
1.29%
2.61%
-0.12%
-2.04%
3.98%
3.18%
0.00%
0.67%
4.65%
1.28%
4.59%
2.00%
0.98%
3.06%
1.11%
-3.85%
-6.55%
-7.21%
8.61%
1.88%
2.54%
4.33%
1.89%

1/2/2008
2/1/2008
3/3/2008
4/1/2008
5/1/2008
6/2/2008
7/1/2008
8/1/2008
9/2/2008
###
###
###
1/2/2009
2/2/2009
3/2/2009
4/1/2009
5/1/2009
6/1/2009
7/1/2009
8/3/2009
9/1/2009
###
###
###
1/4/2010
2/1/2010
3/1/2010
4/1/2010
5/3/2010
6/1/2010
7/1/2010
8/2/2010

-6.31%
-3.54%
-0.60%
4.65%
1.06%
-8.99%
-0.99%
1.21%
-9.52%
-18.56%
-7.78%
0.78%
-8.95%
-11.65%
8.20%
8.98%
5.17%
0.02%
7.15%
3.30%
3.51%
-2.00%
5.58%
1.76%
-3.77%
2.81%
5.71%
1.47%
-8.55%
-5.54%
6.65%
-4.86%

-7.83%
-4.97%
1.77%
2.55%
2.09%
-6.14%
1.15%
0.49%
-0.05%
-6.22%
-3.66%
-3.62%
0.94%
-10.23%
6.12%
-3.63%
4.08%
3.07%
5.93%
1.59%
1.62%
0.48%
6.78%
3.14%
-4.04%
0.38%
-0.20%
2.80%
-3.61%
0.25%
6.67%
1.85%

9/1/2010
###
###
###
1/3/2011
2/1/2011
3/1/2011
4/1/2011
5/2/2011
6/1/2011
7/1/2011
8/1/2011
9/1/2011
###
###
###
1/3/2012
2/1/2012
3/1/2012
4/2/2012
5/1/2012
6/1/2012
7/2/2012
8/1/2012
9/4/2012
###
###
###
1/2/2013
2/1/2013
3/1/2013
4/1/2013

8.39%
3.62%
-0.23%
6.33%
2.24%
3.15%
-0.10%
2.81%
-1.36%
-1.84%
-2.17%
-5.85%
-7.45%
10.23%
-0.51%
0.85%
4.27%
3.98%
3.09%
-0.75%
-6.47%
3.88%
1.25%
1.96%
2.39%
-2.00%
0.28%
0.70%
4.92%
1.10%
3.54%
1.79%

3.04%
2.80%
-2.37%
1.47%
0.40%
1.98%
0.88%
2.72%
1.79%
0.43%
-1.23%
3.06%
5.55%
2.13%
3.29%
5.38%
-3.19%
-0.69%
0.44%
1.96%
3.70%
4.79%
-2.04%
-3.40%
0.02%
1.39%
-1.66%
-0.03%
7.46%
1.85%
4.71%
3.53%

5/1/2013
6/3/2013
7/1/2013
8/1/2013
9/3/2013
###
###
###
1/2/2014
2/3/2014
3/3/2014
4/1/2014
5/1/14
6/2/2014
7/1/2014
8/1/14

2.06%
-1.51%
4.83%
-3.18%
2.93%
4.36%
2.77%
2.33%
-3.62%
4.22%
0.69%
0.62%
2.08%
1.89%
-1.52%
-0.29%

-10.58%
0.86%
5.06%
-6.80%
1.78%
7.15%
-1.41%
-1.37%
2.31%
1.47%
0.48%
4.48%
-3.59%
4.28%
-2.82%
1.12%

Discrete Annual Compound Interest


Interest Rate
10.00%
Year

Use SOLVER when F(x) = y, or F(x1, x2,


want y at a certain value, or
want y at a maximum or minimum,
given certain constraints on values of x

Cash Balance
0
$1,000.00
1
$1,100.00
2
$1,210.00
3
$1,331.00
4
$1,464.10
5
$1,610.51
6
$1,771.56
7
$1,948.72
8
$2,143.59
9
$2,357.95
10
$2,593.74

use Solver to calculate


(1) What discrete annual interest rate, at an initial balance of $1,000, results in

(2) What initial balance, at an interest rate of 10%, results in $5,000 after 10 ye

(3) Challenge problem


Suppose you wanted to know: after how many years will $1000 at 7% be worth
Hint: this requires re-structuring the formula so that the changing number of ye

n F(x) = y, or F(x1, x2, x3, etc) = y.


n value, or
mum or minimum,
straints on values of x.

f $1,000, results in $5,000 after 10 years?


$5,000 after 10 years?

00 at 7% be worth $5,000?
nging number of years is located in one cell location

Discrete Annual Compound Interest


Interest Rate
7.00%
Year

Cash Balance
0 $1,000.00
1 $1,070.00
2 $1,144.90
3 $1,225.04
4 $1,310.80
5 $1,402.55
6 $1,500.73
7 $1,605.78
8 $1,718.19
9 $1,838.46
10 $1,967.15

After how many years will $1000 at 7% be worth $5,000?


number of years
restated formula

10

h $5,000?

Copyright Daniel Egge

iel Egger/ Attribution 4.0 Internatio

ternational (CC BY 4.0)

You might also like