Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default rolling year attendance

I am trying to set up an attendance sheet in Excel that will keep a total of
the days missed but subtract the days missed after a rolling year.
I am using column A for the date, column B for the number of days missed
(typically just a 1 or .5 for each particular date) and column C for the
total days missed. I am sure it has to do with the SUMPRODUCT function, but I
am having a hard time figuring it out.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default rolling year attendance

Do you mean you want the sum of time missed for the previous year starting
from TODAYS date?

=SUMIF(A:A,"="&DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),B:B)

Or, use a cell to hold todays date:

E1: =TODAY()

=SUMIF(A:A,"="&DATE(YEAR(E1)-1,MONTH(E1),DAY(E1)),B:B)

Or, if you don't need to be concerned about leap years having 366 days:

=SUMIF(A:A,"="&TODAY()-365,B:B)

=SUMIF(A:A,"="&E1-365,B:B)

Biff

"J Parrott" <J wrote in message
...
I am trying to set up an attendance sheet in Excel that will keep a total
of
the days missed but subtract the days missed after a rolling year.
I am using column A for the date, column B for the number of days missed
(typically just a 1 or .5 for each particular date) and column C for the
total days missed. I am sure it has to do with the SUMPRODUCT function,
but I
am having a hard time figuring it out.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default rolling year attendance

What I am trying to do is:
Track the number of days or partial days that an employee is absent.
After one year the missed time drops off the record, so if I miss today then
next April 17th that number will not be counted in the total any more.

Our employees are allowed 12 "occurrences" per rolling year, but I do not
typically check the spreadsheets every day in order to keep track of the days
that have dropped off since they are over a year old.

"T. Valko" wrote:

Do you mean you want the sum of time missed for the previous year starting
from TODAYS date?

=SUMIF(A:A,"="&DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),B:B)

Or, use a cell to hold todays date:

E1: =TODAY()

=SUMIF(A:A,"="&DATE(YEAR(E1)-1,MONTH(E1),DAY(E1)),B:B)

Or, if you don't need to be concerned about leap years having 366 days:

=SUMIF(A:A,"="&TODAY()-365,B:B)

=SUMIF(A:A,"="&E1-365,B:B)

Biff

"J Parrott" <J wrote in message
...
I am trying to set up an attendance sheet in Excel that will keep a total
of
the days missed but subtract the days missed after a rolling year.
I am using column A for the date, column B for the number of days missed
(typically just a 1 or .5 for each particular date) and column C for the
total days missed. I am sure it has to do with the SUMPRODUCT function,
but I
am having a hard time figuring it out.





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 Tim Halpin (BV) Excel Discussion (Misc queries) 2 March 5th 07 12:07 PM
rolling twelvemnoths formula for attendance calendar QD Excel Worksheet Functions 2 September 3rd 06 08:32 AM
Need to create attendance tracking based on % and 2080 hours/year Choateb Excel Discussion (Misc queries) 0 July 10th 06 08:03 PM
Rolling year Marilyn Excel Discussion (Misc queries) 2 June 18th 06 03:11 AM
Rolling Year in Excel JJC Excel Discussion (Misc queries) 0 June 8th 05 11:21 PM


All times are GMT +1. The time now is 09:58 AM.

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"