Count the number of net work days lost due to sickness per month.

maxim642

Board Regular
Joined
Feb 4, 2021
Messages
91
Office Version
  1. 365
Platform
  1. MacOS
Employee IDAbsence ReasonStart DateEnd DateDepartmentJan-21Feb-21Mar-21Apr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21
1Stress01/05/202118/08/2021A
2COVID09/04/202127/06/2021A
3Stress21/07/202125/07/2021B
1Stress20/11/202009/03/2021A
1COVID14/09/202120/09/2021B
2Other02/11/202024/02/2021A
2Stress19/10/202009/01/2021B
1COVID01/12/202027/02/2022B
3Stress05/12/202018/05/2022B

In the empty columns that have the month/year fields, I would like to show the number of days missed (net work days) for each of the respective months. So, if for example someone was off for the entirety of January 2021, it would show 31, and so on.

I would also like to be able to count the number of unique employees that have been off (for any length of time) in a given month, below. Again, the rule above would apply: if the start/end dates overlap any months then the would be counted for those months, e.g. if start date was 01/01/2021 and end date was 01/07/2021, then they would be counted in Jan, Feb, Mar, Apr, May, Jun, and July. Thank you.

Jan-21Feb-21Mar-21Apr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21
Unique Employee Number
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Just to be clear, it's working days you're interested in? NETWORKDAYS for the whole of January 2021 would bring back 21, not 31.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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