Calculating consecutive days excluding weekends and holidays

croud

New Member
Joined
Nov 18, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi there,
I have a report that is exported from another program. I need to identify the number of consectutive days that an employee was out excluding weekends and holidays also the rows could have the same date as the entries could be broken into 1/2 entries for each date. Ideally I would like for excel to identify and count the information all in one column however I realize it may need to be broken into 2 areas. My end goal is to identify when there are 10 or more conecutive days off by 1 employee.
 

Attachments

  • snip for mr excel.PNG
    snip for mr excel.PNG
    17.4 KB · Views: 11

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
The NETWORKDAYS function would be what you want. You will need to create a list of Holiday dates you are to observe, and then include that in your formula.
=NETWORKDAYS(From Date, To Date, ListofHolidayDates)
 
Upvote 0
The NETWORKDAYS function would be what you want. You will need to create a list of Holiday dates you are to observe, and then include that in your formula.
=NETWORKDAYS(From Date, To Date, ListofHolidayDates)
i am not sure that is the answer I am looking for, at least not entirely. I believe I also need a countif I'm just unsure of to incorporate it. I need the enteries for each employee counted to know if they have missed 10 or more days (my apologies for the huge omission of that information in my original post). I am trying to make a very complicated and time consuming reconciliation eport a little easier by making these days stand out.
 
Upvote 0
There is probably a way with Power Query...but a formula I can't quite get there.
Thank you for trying I took a step back and realized it's possible I can use a pivot table to accomplish what I am looking for. Thank you for your time!
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,125
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top