Count working days but display custom text if end date is empty

Rob_83

New Member
Joined
Dec 12, 2017
Messages
2
Hi All,

This is probably a really easy one for my first post but my formula skills aren't perfect.

I'm looking to count working days between two dates (this part is easy - NETWORKDAYS)

BUT, if the end date is open/incomplete, I'd like my count box to display custom text instead of a huge minus number. I thought the below would work, but I am indeed getting a huge minus number instead of 'Ongoing':

=IFNA(NETWORKDAYS(B11,B12),"Ongoing")

Any help would be greatly appreciated. This place has helped me lot already but I couldn't seem to search for this particular scenario in this instance!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi, welcome to the board!

They'll be a few ways to do this, here is one option you can try..:

=IF(COUNT(B11:B12)=2,NETWORKDAYS(B11,B12),"On Going")
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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