I have a simple spreadsheet, in columns A and B are months of the year (from
Jan 90 to present) and the Annual Inflation Rates for those years...
In cell E4, I enter Month X, and in F4 I enter Month Y
I need to work out the average of the corresponding inflation rates BETWEEN
those two months
e.g. if X is Jan 90 and Y is March 90, I need to find out the average of the
inflation rate for Jan Feb and Mar 90.
Anyone think they might be able to help me? I'm completely stumped!
Thanks
Daniel
On Fri, 17 Feb 2006 04:11:29 -0800, quot;Daniel9684quot;
gt; wrote:
gt;I have a simple spreadsheet, in columns A and B are months of the year (from
gt;Jan 90 to present) and the Annual Inflation Rates for those years...
gt;
gt;In cell E4, I enter Month X, and in F4 I enter Month Y
gt;
gt;I need to work out the average of the corresponding inflation rates BETWEEN
gt;those two months
gt;
gt;e.g. if X is Jan 90 and Y is March 90, I need to find out the average of the
gt;inflation rate for Jan Feb and Mar 90.
gt;
gt;Anyone think they might be able to help me? I'm completely stumped!
gt;
gt;Thanks
gt;Daniel
In general, you could use the FVSCHEDULE function for this. The formula would
be something like:
=-1 FVSCHEDULE(1,monthly_returns)
But I don't understand from your description exactly how you've got your data
sheet set up, so I cannot advise you further.--ron
I assume that your months are entered as text, in the manner appearing
in your message. Then, the following *array* formula (needs to be
committed with Shift Ctrl Enter) should do:
=AVERAGE(IF(AND(DATEVALUE(quot;1 quot;amp;A1:A100)gt;=DATE(1990,1,1),DATEVALUE(quot;1
quot;amp;A1:A100)lt;=DATE(1990,3,1)),B1:B100))
HTH
Kostis Vezerides
- Jul 25 Fri 2008 20:45
Averaging Indirect Cells
close
全站熱搜
留言列表
發表留言
留言列表

