Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Summation of latest running 3 month total

Hi everyone,

Sorry if this is a redundant posting but none of my posts seem to
appear...

It's my first time posting so I hope I am asking a not too basic
question...I tried searching for previous posting relating to this but
had no luck. My question is, I have a worksheet with months
starting in July 07 - June 08. Each month, as data become available,
a new month's of data will be added to the worksheet. If possible, I'd
like another column in my worksheet to always sum the lastest
three months. For the first couple of months, July 07 and August 07,
as there will be less than three month's worth of data, it would only
calculate what's available or display blank.

I hope that makes sense. Any help would be very much appreciated!!
Thanks so much!!!

TL

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Summation of latest running 3 month total

I gave you this

=SUM(N(OFFSET(C2,0,LARGE(IF(C2:N2<"",COLUMN(C2:N2 )-MIN(COLUMN(C2:N2))),ROW(INDIRECT("1:"&MIN(3,COUNT( C2:N2))))))))


and Tom Ogilvy gave you

=IF(COUNTA($F$2:$R$2)<3,"",SUM(OFFSET($F2,0,COUNTA ($F$2:$R$2)-3,1,3)))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"5oclock" wrote in message
oups.com...
Hi everyone,

Sorry if this is a redundant posting but none of my posts seem to
appear...

It's my first time posting so I hope I am asking a not too basic
question...I tried searching for previous posting relating to this but
had no luck. My question is, I have a worksheet with months
starting in July 07 - June 08. Each month, as data become available,
a new month's of data will be added to the worksheet. If possible, I'd
like another column in my worksheet to always sum the lastest
three months. For the first couple of months, July 07 and August 07,
as there will be less than three month's worth of data, it would only
calculate what's available or display blank.

I hope that makes sense. Any help would be very much appreciated!!
Thanks so much!!!

TL



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summation of 25 highest values out of total data of 35 Manoj Shedbalkar Excel Discussion (Misc queries) 1 March 2nd 11 11:46 AM
Latest running 3 month total [email protected] Excel Programming 2 July 17th 07 06:07 PM
Running Total for Time Spent for a project in 1 month Chart_Maker_Wonderer Excel Worksheet Functions 5 March 8th 07 06:41 PM
Month Format summation Shirley Excel Worksheet Functions 1 August 7th 06 09:12 AM
get the latest day of the previous month Laurent M Excel Discussion (Misc queries) 2 January 26th 05 03:22 PM


All times are GMT +1. The time now is 08:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"