+ Reply to Thread
Results 1 to 8 of 8

Calculating absence period triggers in 6 & 12 rolling months

  1. #1
    Registered User
    Join Date
    04-04-2019
    Location
    London
    MS-Off Ver
    MS 2016
    Posts
    3

    Calculating absence period triggers in 6 & 12 rolling months

    Hi Everybody,

    I've searched for hours and tried several different formula from posts on this site but unsuccessfully. I'm therefore hoping that someone can please help me?

    I've been tasked with monitoring sick leave for a small team. I've put a basic spreadsheet together but i need to capture data that highlight two "Triggers" that would lead to an Interview. The two triggers are:

    1) 3 Separate episodes of absence in a rolling 6 months.
    2) 6 Working days absence in a rolling 12 months.

    How do I calculate these? If at all possible? Should the answers be captured by a simple yes/no or numerically?

    I've used =NETWORKDAYS in column D to remove weekends, could this be messing the formulas up?

    I've attached an image of the spreadsheet, unfortunately my pc is not letting me attach a copy of the excel ss.

    Thanks in advance.


    Cyberstu101.



    Capture.PNG

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Calculating absence period triggers in 6 & 12 rolling months

    Hi, welcome to teh forum

    Always better if you upload a sample WB, but probably contain something like...
    =EDATE(today(),-6)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-04-2019
    Location
    London
    MS-Off Ver
    MS 2016
    Posts
    3

    Re: Calculating absence period triggers in 6 & 12 rolling months

    Hi, thanks for the welcome and swift response

    The attach link does not appear to open up to allow me to upload the SS? I'm on my work system so will try my own PC tonight.

    with regards =EDATE(today(),-6)

    Where do i insert my my data from columns B & C?

    Sorry....bear with me.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Calculating absence period triggers in 6 & 12 rolling months

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  5. #5
    Registered User
    Join Date
    04-04-2019
    Location
    London
    MS-Off Ver
    MS 2016
    Posts
    3

    Re: Calculating absence period triggers in 6 & 12 rolling months

    Is it attached now?
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,647

    Re: Calculating absence period triggers in 6 & 12 rolling months

    Based on the file, the following proposal may help.
    1) Select cell E2 and paste the following in the formula bar then copy down: =COUNTIFS(A$2:A2,">="&EDATE(A2,-6))>=3
    2) Select cell F2 and paste the following in the formula bar then copy down: =SUMIFS(C$2:C2,A$2:A2,">="&EDATE(A2,-12))>=6
    3) Select range E2:F5
    4) Select conditional formatting
    5) Select 'Format only cells that contain'
    6) Cell Value
    7) Equal to
    8) TRUE
    9) Set fill to red (or apply the formatting that you choose)
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    10-30-2019
    Location
    London, England
    MS-Off Ver
    MS Office 2010
    Posts
    5

    Red face Re: Calculating absence period triggers in 6 & 12 rolling months

    I've taken and adapted the spreadheet and formula based on own needs but is there a way to adapt to calculate total working days for absence for part-time workers e.g. those that work less than 5 days per week?

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,647

    Re: Calculating absence period triggers in 6 & 12 rolling months

    Administrative Note:

    Hello CANN15 and Welcome to Excel Forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

    Let us know if you have any questions.

+ 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: 1
    Last Post: 10-19-2018, 12:55 PM
  2. flagging up absence triggers
    By Tinatin Tkemaladze in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2018, 04:59 PM
  3. Formula for calculating 12 month rolling period
    By Stroodle in forum Excel General
    Replies: 1
    Last Post: 06-08-2016, 09:42 AM
  4. 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
  5. Replies: 5
    Last Post: 09-19-2014, 04:58 PM
  6. Calculating a rolling average that will reset for the next period
    By jar002 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-19-2014, 02:53 PM
  7. Rolling 12 month formula for calculating absence
    By keileyoneill in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-03-2014, 09:52 PM

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