(Msg. 1) Posted: Fri Oct 09, 2009 2:16 am
Post subject: Rolling totals Archived from groups: microsoft>public>excel>worksheet>functions (more info?)
I have some data I need to analyse over a number of periods on a rolling basis.
Cell A1 i select a month, cells B1:B12 contain months Jan-Dec, cells C1:C12
contain sales values in that month. Cell D1 shows the last 3 months sales,
cell E1 shows the last 6 months sales and F1 shows last 12 month sales.
What I want to be able to do is change the month in A1 and the rolling
totals in D1, E1 & F1 automatically based on the date in A1
(Msg. 2) Posted: Fri Oct 09, 2009 2:37 am
Post subject: RE: Rolling totals [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
In D1
=SUM(OFFSET($A$1,MATCH($A$1,$B:$B,0)-1,2,3,1))
In E1
=SUM(OFFSET($A$1,MATCH($A$1,$B:$B,0)-1,2,6,1))
When you say "last 6 month sales" in cell E1 and "last 12 month sales" in F1
you should have the previous years data from cell B13 downwards....
If this post helps click Yes
---------------
Jacob Skaria
"DTH99" wrote:
> I have some data I need to analyse over a number of periods on a rolling basis.
>
> Cell A1 i select a month, cells B1:B12 contain months Jan-Dec, cells C1:C12
> contain sales values in that month. Cell D1 shows the last 3 months sales,
> cell E1 shows the last 6 months sales and F1 shows last 12 month sales.
>
> What I want to be able to do is change the month in A1 and the rolling
> totals in D1, E1 & F1 automatically based on the date in A1
>
> Any help would be appreciated.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum