LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Trailing 30 days sum calculation with excel

Hello,

I need help with a rolling/trailing 30 day formula in excel. I have my dates on one column and revenue in the next column. I used the formula below,

=SUM(OFFSET(B3,COUNTA(B:B)-30,):OFFSET(B3,COUNTA(B:B),))

and after the first 30 days were calculated, the following cells had zeroes and I have more than 90 days of data. I need to be able to add data from one day, subtract revenue from the first day of the month and have this updated with each new day.

Thanks.
Amy.
 
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
Include trailing zeroes in calculation AnnieMa Excel Discussion (Misc queries) 0 February 8th 11 12:43 PM
days calculation ssylee Excel Discussion (Misc queries) 3 January 11th 09 06:20 AM
How to calculation no. of days (only working days) between two dat Vivian Chan Excel Discussion (Misc queries) 1 July 26th 07 09:16 AM
Please Help With Days Elapsed And Days Remaining Calculation Scoooter Excel Worksheet Functions 2 June 14th 06 05:10 PM
cALCULATION OF DAYS WINONA Excel Worksheet Functions 3 February 16th 05 04:23 PM


All times are GMT +1. The time now is 03:05 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"