NETWORK DAYS BETWEEN 2 DATES AND TIMES

LaurenHancy

Board Regular
Joined
Aug 5, 2010
Messages
179
Hello you marvelous lot :)

I have a question regarding calculating business days/hours between 2 dates/times:

Column A = dd/mm/yyyy hh:mm:ss
Column B = Today()

Business hours are 09:00 - 17:00, please may you advise a formula which will count any times after 17:00 to be counted as the next business day.

For Example -1. 01/02/2021 16:50:00 = Need to work out number of NETWORKDAYS with todays date 01/03/2021
2. 01/02/2021 17:02:00 =This will be classed as the next working day as time over 17:00. Work out number of NETWORKDAYS with todays date

Thank you so much for your help.

:)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Sure its just a normal NETWORKDAYS formula so has an optional 3rd argument of holidays. eg

=NETWORKDAYS(A1+(MOD(A1,1)>TIME(17,0,0)),B1,holidays)

where holidays is a named range containing your holiday dates.
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,243
Members
448,555
Latest member
RobertJones1986

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