Calculating network days

Frankgala

New Member
Joined
Apr 14, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi I am trying to calculate a formula to count network days between a and b. If a is blank return blank. If a has a date and b does not use todays date for B. Can anyone help please?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi, welcome to the forum! If you a is A1 and your b is B1 - then you could try.

=IF(A1="","",NETWORKDAYS(A1,IF(B1="",TODAY(),B1)))
 
Upvote 0
Solution
Perfect. Thank you so much, that is exactly what I needed. I had been going round and round this and not managed to get the calculation to work using today when the end date cell was blank
 
Upvote 0

Forum statistics

Threads
1,214,791
Messages
6,121,611
Members
449,038
Latest member
apwr

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