Results 1 to 13 of 13

Count Consecutive Days of Absence Per Staff

Threaded View

  1. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Count Consecutive Days of Absence Per Staff

    In C2 then copy down

    =IFERROR(IF(INDEX($B$1:$B1,AGGREGATE(14,6,ROW($A1:$A$2)/($A1:$A$2=$A2),1))=$B2-1,"Y","N"),"N")

    In D2 then copy down

    =IF(C2="N","",SUMPRODUCT(--(INDEX($A$1:$A2,AGGREGATE(14,6,ROW($A$1:$A2)/(($A$1:$A2=$A2)*($C$1:$C2="N")),1)):$A2=$A2)))
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 17
    Last Post: 02-14-2024, 07:07 AM
  2. Count Consecutive Occurrences of Absence including weekends
    By Polymorph in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2021, 05:23 PM
  3. [SOLVED] Staff Absence Tracker - showing number of days and number of occasions
    By chergar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2020, 04:14 AM
  4. [SOLVED] Count days falling within given period (with criteria)(absence tracker)
    By annazet in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2020, 05:04 AM
  5. [SOLVED] Count Consecutive & Non consecutive days per given logic
    By asimraza89 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-26-2019, 04:31 PM
  6. Consecutive days count with multiple staff
    By 01271676 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-19-2019, 03:01 AM
  7. Multiple Days Hourly staff count
    By aehartle in forum Excel General
    Replies: 14
    Last Post: 05-19-2010, 11:42 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