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: 10

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

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