LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default 3 month rolling totals

Thank you Paul ... simple and beautiful!

"Paul C" wrote:

Try something like this
A B C D E
1 Jan Feb Mar Apr Tot
2 1 2 3 4 9

The formula for E2 is =SUM(OFFSET(E2,0,-3,1,3))

This defines a range 1 row and three columns wide that always starts 3
columns to the left of the cell with the formula, so when you add a column
(like May) the total formula still references the correct 3 cells.
--
If this helps, please remember to click yes.


"DTTODGG" wrote:

Hello,

I just typed this in and the message didn't take - I hope this is not
duplicated.

I have inherited a spreadsheet with 3 month rolling totals. Is there a way
to automate this?

Sample:
Widget(A1) Jan(B1) Feb(C1) Mar(D1) TOTAL(E1)
Where TOTAL = sum(b1:d1)

Next month, we add Apr(E1) moves TOTAL to (F1) and doesn't compute Jan(B1)
Where TOTAL = sum(c1:e1)

There are many rows with this type of data and so I would rather not
copy/paste/reformat the formula.

Thanks in advance!

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming

 
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
Rolling totals DTH99 Excel Worksheet Functions 1 October 9th 09 10:37 AM
Rolling 13 Month Charts Aurora Charts and Charting in Excel 1 January 17th 08 03:12 PM
Pivot Tables - Rolling Totals - % Change David D[_2_] Excel Discussion (Misc queries) 12 August 7th 07 10:26 PM
How do I set up 12-month rolling month cells in excel? jbh Excel Discussion (Misc queries) 2 November 30th 05 08:12 PM
maximum of rolling totals - aka Rmax Marky Dodd Excel Worksheet Functions 5 June 3rd 05 03:42 PM


All times are GMT +1. The time now is 10:50 PM.

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"