+ Reply to Thread
Results 1 to 2 of 2

Count the number of occurrences of consecutive absences

  1. #1
    Registered User
    Join Date
    09-28-2017
    Location
    Toronto, Canada
    MS-Off Ver
    2007
    Posts
    6

    Count the number of occurrences of consecutive absences

    Hi,

    I am new to the forum and am looking for a little help. We are rolling out an attendance process that looks for individuals that meet an absence threshold of 11 days and three occurrences. Although many may be familiar with this, just to clarify we define an absence occurrence as an absence from a regularly scheduled shift. An absence for multiple consecutive days, for the same event may be regarded as a single occurrence.

    So I would need my sheet to identify any single day event as 1 occurrence or any consecutive day absences as 1 occurrence. I am having difficulty capturing the number of occurrences.

    Note - weekends or holidays are not part of our regularly scheduled shift so absence that occurs on Friday and then Monday would be consecutive .

    I have attached an example of what the data would look like once it is pulled from our system.

    Any help would be greatly appreciated!

    Cheers!
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Count the number of occurrences of consecutive absences

    Hi MissC and welcome to the forum,

    Please check my work of a formula that looks like:
    Please Login or Register  to view this content.
    You will need to sort your data from old to new and then by Name for the above formula to work. The Weekday function returns a 1 for Sunday and a 7 for Saturday which I hope keeps a weekend from adding an occurrence.

    Absence Occurences.xlsx

    I also included a Pivot Table to condense the answer using a Max (not sum) for the Occurrences sick.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Count maximum consecutive occurrences in range.
    By thusarix in forum Excel General
    Replies: 5
    Last Post: 04-21-2017, 10:09 AM
  2. [SOLVED] Adjust attendance tracker to treat consecutive absences as a single.
    By taylorsm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2016, 09:11 AM
  3. [SOLVED] Count Consecutive Occurrences
    By dlow in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2014, 12:50 AM
  4. [SOLVED] Count number of occurrences but if there are consecutive matches count them as one
    By michaljireht in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-26-2013, 08:26 PM
  5. Count consecutive number of negative occurrences >=3
    By nbiggss in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-02-2012, 02:14 PM
  6. Count the number of consecutive occurrences
    By timmycl_7 in forum Excel General
    Replies: 12
    Last Post: 05-03-2012, 02:04 PM
  7. [SOLVED] counting consecutive absences
    By jerry37917 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2006, 09:40 AM

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