+ Reply to Thread
Results 1 to 5 of 5

Calculating sickness periods within a rolling date range - multiple employees

  1. #1
    Registered User
    Join Date
    11-21-2024
    Location
    Suffolk, England
    MS-Off Ver
    MS 365
    Posts
    2

    Cool Calculating sickness periods within a rolling date range - multiple employees

    Hi all

    I am trying to calculate the number of periods a list of employees has had sick in a rolling 12 month period, and, whether these have reached our absence triggers:
    3 periods in 6 months
    4 periods in 12 months
    20 days in 12 months

    Using a previous thread, I've been able to do this on an individual level for a single employee, however this doesn't work for a spreadsheet of multiple employees in its current form. I do have a unique identifier in the spreadsheet, it is just how I add in the additional condition to tell the formula to only count pay numbers that match the one that applies to that row.

    Sample spreadsheet attached, I'm looking to populate the columns filled yellow. The 8 days in 12 months may take more work as there are a number of different shift patterns to consider at that point(!)

    Sample Datasheet.xlsx

    Thanks in advance for your help!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,378

    Re: Calculating sickness periods within a rolling date range - multiple employees

    Welcome to the forum from sunny Suffolk!

    Is this what you want?

    =COUNTIFS(D$2:D2,">="&EDATE(D2,-12),A$2:A2,A2)>=4
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,378

    Re: Calculating sickness periods within a rolling date range - multiple employees

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  4. #4
    Registered User
    Join Date
    11-21-2024
    Location
    Suffolk, England
    MS-Off Ver
    MS 365
    Posts
    2

    Re: Calculating sickness periods within a rolling date range - multiple employees

    Thank you so much. That has given me exactly what I need.

    I'm also in Ipswich - sun is out but very chilly!
    Last edited by GGayf90; 11-21-2024 at 09:03 AM.

  5. #5
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Calculating sickness periods within a rolling date range - multiple employees

    The first part of the formula seemed unnecessary, this should do: =COUNTIF(A$2:A2,A2)>=4.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 11-21-2023, 01:23 AM
  2. Replies: 13
    Last Post: 05-20-2020, 01:53 PM
  3. Formulas to calculate rolling 12 month periods for sickness and triggers
    By Simone2019 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-22-2019, 04:13 AM
  4. Monthly rolling schedules for multiple employees
    By Excel2day in forum Excel General
    Replies: 1
    Last Post: 11-29-2018, 09:21 PM
  5. Rolling Sickness
    By OxJ in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 01-11-2017, 08:38 AM
  6. Calculating Total Sickness in a rolling 12 month Period
    By china in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-08-2015, 08:04 AM
  7. Calculating totals from a date range on a rolling calendar year?
    By rjahoo7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2010, 07:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1