I have a spreadsheet that tracks
my investments, and calculates the daily return as a percentage, which I then
have averaged to show the average daily yeild. I have come up with another
formula that shows compounding interest, but it needs the APY to get proper
calculation. What I want to be able to do is convert the average daily yield
to an APY, which will change as daily average changes.
Ostensibly, for securities, if A1 has the average daily return
(percentage change), it can be annualized by either of the following
equivalent formulas:
=(1+A1)^252 - 1
=fv(A1, 252, 0, -1) - 1
252 is the typical number of trading days per year, which is
appropriate for traded securities. Use 365 instead of 252 if you are
talking about money market investments and savings accounts (you
mention "interest").
However, for money market investments, you might need to look at how
the "interest" is computed. Often, it is a simple daily interest rate
applied to the daily balances or the average daily balance for a
month. In that case, the APY is computed by:
=(1+A1*(D2-D1))^12 - 1
=fv(A1*(D2-D1), 12, 0, -1) -1
where D1 and D2 are the dates of the end of previous and current
statement periods, respectively. On average, D2-D1 is 365/12.
For securities, although the formulas above are mathematically
correct, it is debatable whether your can realistically annualize sub-
annual returns in this manner. For example, HPQ change by 0.39% today
(6/18/2007). But no one would say HPQ changed 166.68% annually, which
is (1+0.39%)^252-1.
It is better to compute year-over-year return rates. For example, HPQ
was 33.04 on 6/16/2006 and 45.89 on 6/18/2006. So the annual return
is 38.89%.
Ostensibly, you can compute the average daily return from that,
namely: (1+38.89%)^(1/252)-1. But again, although that is the
compounded daily rate that yields the annual rate, it does not
realistically reflect the average of the daily rates of change.
HTH. Post back if any of this changes the way you want to do things,
and you want more help. Also, it might be helpful if you provide the
formula that you use to compute "the average daily yield".