+ Reply to Thread
Results 1 to 2 of 2

How to identify non-sequential workdays per employee, excluding stat. holidays?

  1. #1
    Registered User
    Join Date
    11-13-2018
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    1

    Question How to identify non-sequential workdays per employee, excluding stat. holidays?

    Hi, I hope you can help me with this challenge. I've been trying to find a formula for a couple of days now without success so far.

    I'm getting a report from my Time & Attendance system with days taken off as a leave of absence per employee within a period of time. The problem is the report doesn't include weekends or statutory holidays, which makes it hard to identify how many separate leaves of absence an employee took within a period of time.

    My report (attached) is giving all days taken off by all employees. The logic I'm trying to use is by identifying the non-sequential days off I can determine how many times an employee took off. The problem is my formula identifies every Friday to Monday as a non-sequential leave, same happens when Mondays or Good Fridays are statutory holidays.

    In the file attached I included my formula and the end result I should get. Would really appreciate if you could help fixing my formula.

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: How to identify non-sequential workdays per employee, excluding stat. holidays?

    Hello and welcome to the forum.

    Sort by column A (notice that 005871219 in cell A23 is surrounded by 005871219).

    Then you can use this formula in D2:

    =IFERROR(IF(AND(A1=A2,WORKDAY(C1,1)=C2),"Sequential","Non-Sequential"),"Non-Sequential")

    If you want to incorporate holidays, you can put them somewhere else then refer to that range in the WORKDAY function.

+ 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. [SOLVED] Calculate no. of workdays excluding holidays & employee vacations
    By lester777 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-05-2018, 11:47 AM
  2. Workdays per month excluding holidays help required with Formula
    By nion64 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2018, 06:29 AM
  3. Replies: 10
    Last Post: 01-26-2017, 06:43 PM
  4. [SOLVED] IF Forumla Excluding Workdays & Holidays
    By TRUCKING123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2016, 03:15 PM
  5. workdays between (excluding holidays)
    By imaccormick1990 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2013, 08:26 AM
  6. Convert Hours to Workdays, Excluding Holidays
    By mycon73 in forum Excel General
    Replies: 4
    Last Post: 08-21-2012, 11:57 AM
  7. Calculate workdays between two dates (including Saturdays, excluding holidays)
    By Sean Anderson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-12-2007, 12:22 AM

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