#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Rolling Year

I am currently using the formula =SUMIF(Master!$A6:$A1466,"=" &
DATE(YEAR(TODAY())-1,MONTH(TODAY()),1),Master!B6:B1466) to calculate figures
for the previous rolling year. However the issue i am having is that it seems
to be rounding to each month rather than daily as i require, i presume this
is due to the fact that there is Month in the formula, i have tried using Day
instead but have had no joy.

Can anyone help?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Rolling Year

the last 1 in the DATE functtion is comparing againstt the 1stt of the month.
to make it daily try
=SUMIF(Master!$A6:$A1466,"=" &
DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),Master!B6:B1466)

You may need to adjust by one day. If today is March 5th do you want
March 5 2006 to March 4 2007 or March 6 2006 to March 5 2007, or March 5
2006 to March 5 2007


"Tim Halpin (BV)" wrote:

I am currently using the formula =SUMIF(Master!$A6:$A1466,"=" &
DATE(YEAR(TODAY())-1,MONTH(TODAY()),1),Master!B6:B1466) to calculate figures
for the previous rolling year. However the issue i am having is that it seems
to be rounding to each month rather than daily as i require, i presume this
is due to the fact that there is Month in the formula, i have tried using Day
instead but have had no joy.

Can anyone help?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Rolling Year

=SUMIF(Master!$A6:$A1466,"="
&DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),Master!B6:B1466)

--
---
HTH

Bob

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



"Tim Halpin (BV)" wrote in message
...
I am currently using the formula =SUMIF(Master!$A6:$A1466,"=" &
DATE(YEAR(TODAY())-1,MONTH(TODAY()),1),Master!B6:B1466) to calculate
figures
for the previous rolling year. However the issue i am having is that it
seems
to be rounding to each month rather than daily as i require, i presume
this
is due to the fact that there is Month in the formula, i have tried using
Day
instead but have had no joy.

Can anyone help?

Thanks



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
Rolling year Marilyn Excel Discussion (Misc queries) 2 June 18th 06 03:11 AM
how to make a rolling calender where hours roll off after a year Need Support Excel Discussion (Misc queries) 0 February 2nd 06 01:06 AM
Rolling Year in Excel JJC Excel Discussion (Misc queries) 0 June 8th 05 11:21 PM
rolling year in excel JJC Excel Worksheet Functions 1 June 8th 05 12:36 AM
Z Chart i.e. top rolling annual bottom rolling monthly middle cum. wat prin Excel Worksheet Functions 0 January 28th 05 03:43 PM


All times are GMT +1. The time now is 12:47 PM.

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

About Us

"It's about Microsoft Excel"