Calculating Networkdays using IF and ISBLANK for HR Processes

i_am_tommo

New Member
Joined
Mar 22, 2016
Messages
4
Hi all

I am having difficulty to find the correct formula for my excel report.
I want to calculate the number of NETWORKDAYS from either; the start date of my process (AJ5) to the completion date (AR5) or the start date of my process (AJ5) to TODAY's date (for work in process lead time)

I am currently using this formula:

=IF(ISBLANK(AR5),NETWORKDAYS(AJ5,TODAY()),NETWORKDAYS(AJ5,AR5))

This working fine for me, except for the cells where there has been no start date for the process (in other words, AJ5 is blank) ---> I have huge numbers like 30,322 returned.

What I would like is a formula that calculates the NETWORKDAYS between AJ5 and AR5 or AJ5 and TODAY as above AND returns a blank value if there is no date in AJ5.

Thanks for your help in advance.

Tom
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi and welcome to the MrExcel Message Board.

Can you just add an:
=IF(ISBLANK(AJ5),"", ... ) around your existing formula?

=IF(ISBLANK(AJ5),"", IF(ISBLANK(AR5),NETWORKDAYS(AJ5,TODAY()),NETWORKDAYS(AJ5,AR5)))
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,395
Members
449,446
Latest member
CodeCybear

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