Network days by month across multiple months

123rickfear

Active Member
Joined
Jun 19, 2015
Messages
446
Hi,

I am creating an absence reporting dashboard.

If an employee has an absence start date and end date that are more than 1 month apart then I am stuck.

what I would like is to show how many network days by month they have missed.

for example

Start Date 28/01/2018
End Date 12/08/2018

I have formula to show how many network days they missed for January =networkdays($F1188,eomonth($F1188,0))
I have formula to show how many network days they missed for August =networkdays($G1188-day($G1188)+1,$G1188,0)
I now need to show how many network days they missed for February - July.

so the desired result would be 3 in the first column (I have this already), then 20,22,21,23,21,22 in the next columns

any ideas?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Put start date in A1. End date in A2.

Place this in C1:

=DATE(2018,COLUMNS($A$1:A1),1)

Place this in C2:

=MAX(0,NETWORKDAYS(MAX($A$1,C$1),MIN(EOMONTH(C$1,0),$A$2)))

Drag both formulas across. See if that works out.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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