D
Don
I have a single column of numbers that represents 365 days of a specific
stock's price in descending date order.
I want to calculate the average price for the 20 prior days for each of the
most recent say 100 days. This is called a 20day moving average in stock
talk.
Then I want to create one average of those 20day moving averages, let's call
this a super-average.
This can be pretty simple if I use one more column to calculate the 20day
moving average for each of the most recent 100 days, and then average that
new column at the bottom cell to create the super-average.
However, is there a way to compute the super-average without using an
additional column and instead using only one additional cell? Perhaps with
an Array Formula?
My actual problem is much more complicated than the above and involves maybe
1000 stocks so I don't really want additional columns for each stock. BTW,
the only number I need is the super-average.
Thanks
Don
..
stock's price in descending date order.
I want to calculate the average price for the 20 prior days for each of the
most recent say 100 days. This is called a 20day moving average in stock
talk.
Then I want to create one average of those 20day moving averages, let's call
this a super-average.
This can be pretty simple if I use one more column to calculate the 20day
moving average for each of the most recent 100 days, and then average that
new column at the bottom cell to create the super-average.
However, is there a way to compute the super-average without using an
additional column and instead using only one additional cell? Perhaps with
an Array Formula?
My actual problem is much more complicated than the above and involves maybe
1000 stocks so I don't really want additional columns for each stock. BTW,
the only number I need is the super-average.
Thanks
Don
..