#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default rolling 12 data

Hi I am trying to track a rolling 1 year cycle of data and am using this
:=SUMIF(A:A,"="&TODAY()-364,M:M), but if you falsely add data above todays
date for instance if i went to 03/07/07 and inputted data it computes also I
tried taking the greater than out but that doesnt work any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default rolling 12 data

try this idea. Note that you cannot (nor should you) use the entire column.
=SUMPRODUCT((A2:A22=TODAY()-365)*(A2:A22<=TODAY())*B2:B22)

--
Don Guillett
SalesAid Software

"ventuguy1488" wrote in message
...
Hi I am trying to track a rolling 1 year cycle of data and am using this
:=SUMIF(A:A,"="&TODAY()-364,M:M), but if you falsely add data above
todays
date for instance if i went to 03/07/07 and inputted data it computes also
I
tried taking the greater than out but that doesnt work any suggestions?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default rolling 12 data

=SUMPRODUCT(--(A2:A9=EDATE(TODAY(),-12)),--(A2:A9<=TODAY()),B2:B9)


"ventuguy1488" wrote:

Hi I am trying to track a rolling 1 year cycle of data and am using this
:=SUMIF(A:A,"="&TODAY()-364,M:M), but if you falsely add data above todays
date for instance if i went to 03/07/07 and inputted data it computes also I
tried taking the greater than out but that doesnt work any suggestions?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default rolling 12 data

Hi

You could just add a second Sumif to the formula
=SUMIF(A:A,"="&TODAY()-364,M:M)-SUMIF(A:A,""&TODAY(),M:M)

Did you really mean 364 and not 365?


--
Regards

Roger Govier


"ventuguy1488" wrote in message
...
Hi I am trying to track a rolling 1 year cycle of data and am using
this
:=SUMIF(A:A,"="&TODAY()-364,M:M), but if you falsely add data above
todays
date for instance if i went to 03/07/07 and inputted data it computes
also I
tried taking the greater than out but that doesnt work any
suggestions?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default rolling 12 data

today -364 == 365 right? But i found if i didnt format the date beyond todays
date i didnt have this problem but thanks all

"Roger Govier" wrote:

Hi

You could just add a second Sumif to the formula
=SUMIF(A:A,"="&TODAY()-364,M:M)-SUMIF(A:A,""&TODAY(),M:M)

Did you really mean 364 and not 365?


--
Regards

Roger Govier


"ventuguy1488" wrote in message
...
Hi I am trying to track a rolling 1 year cycle of data and am using
this
:=SUMIF(A:A,"="&TODAY()-364,M:M), but if you falsely add data above
todays
date for instance if i went to 03/07/07 and inputted data it computes
also I
tried taking the greater than out but that doesnt work any
suggestions?






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default rolling 12 data

I am trying to fomat the whole column so that it just keeps traking the daily
data for the last year

"Don Guillett" wrote:

try this idea. Note that you cannot (nor should you) use the entire column.
=SUMPRODUCT((A2:A22=TODAY()-365)*(A2:A22<=TODAY())*B2:B22)

--
Don Guillett
SalesAid Software

"ventuguy1488" wrote in message
...
Hi I am trying to track a rolling 1 year cycle of data and am using this
:=SUMIF(A:A,"="&TODAY()-364,M:M), but if you falsely add data above
todays
date for instance if i went to 03/07/07 and inputted data it computes also
I
tried taking the greater than out but that doesnt work any suggestions?




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default rolling 12 data


what is edate? Also u have partial columns i need the whole column but can i
use this for a rolling 12 mnth total vrs a rolling 365?
"Teethless mama" wrote:

=SUMPRODUCT(--(A2:A9=EDATE(TODAY(),-12)),--(A2:A9<=TODAY()),B2:B9)


"ventuguy1488" wrote:

Hi I am trying to track a rolling 1 year cycle of data and am using this
:=SUMIF(A:A,"="&TODAY()-364,M:M), but if you falsely add data above todays
date for instance if i went to 03/07/07 and inputted data it computes also I
tried taking the greater than out but that doesnt work any suggestions?

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 92
Default rolling 12 data

Without Analysis TP:
=SUMPRODUCT(--
(A1:A999DATE(YEAR(TODAY()-1,MONTH(TODAY()),DAY(TODAY())),--
(A1:A999<=TODAY()),B1:B999)

Regards,
Bernd

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
Inputting data to one worksheet for it effect another daedalus1 Excel Discussion (Misc queries) 1 June 25th 06 04:39 PM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
How do I create a rolling average chart, adding most recent data? Doug@NxEdge Charts and Charting in Excel 1 November 5th 05 02:22 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


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