Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Calculating latest running 3 month total

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
5oclock - 17 Jul 2007 17:43 GMT
Hi everyone,

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 calculate 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!!

TL
Bob Phillips - 17 Jul 2007 17:58 GMT
This assumes the data starts in C2

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

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

Signature

HTH

Bob

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

> Hi everyone,
>
[quoted text clipped - 12 lines]
>
> TL
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.