Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2016, 08:35 AM
LynnMac2016 LynnMac2016 is offline NETWORKDAYS Question Windows 7 64bit NETWORKDAYS Question Office 2007
Advanced Beginner
NETWORKDAYS Question
 
Join Date: Mar 2016
Posts: 30
LynnMac2016 is on a distinguished road
Default NETWORKDAYS Question

Hi

I have the NETWORKDAYS function working perfectly to show number of work days between 2 dates minus holidays. However, I want to go one step further and keep getting loads of error messages so I'm hoping someone on the Forum can offer some assistance.



The end date may not always be completed as it depends on a date a document is received by me, so I'm typing the word "Pending" in that end date cell until I have an actual date the document is received.

It obviously shows #VALUE! until a date is entered. Can the formula be tweaked so that if the word "Pending" is entered in the end date cell, it will return a value of 0, rather than #VALUE!?

Any advice greatly appreciated.

Lynn :-)
Reply With Quote
  #2  
Old 04-14-2016, 11:33 PM
xor xor is online now NETWORKDAYS Question Windows 10 NETWORKDAYS Question Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

With start_date in A1 and end_date in A2:

=IFERROR(NETWORKDAYS(A1,A2),0) or
=IF(ISTEXT(A2),0,NETWORKDAYS(A1,A2))
Reply With Quote
  #3  
Old 04-14-2016, 11:53 PM
LynnMac2016 LynnMac2016 is offline NETWORKDAYS Question Windows 7 64bit NETWORKDAYS Question Office 2007
Advanced Beginner
NETWORKDAYS Question
 
Join Date: Mar 2016
Posts: 30
LynnMac2016 is on a distinguished road
Default

Thank you for this
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
NETWORKDAYS Question Networkdays per fiscal year in a 6 year range jabnm Excel 1 10-16-2014 11:51 AM
NETWORKDAYS Question Macro Needed to Insert Asnwer to A Question in Multiple Choice Format Question rsrasc Word VBA 7 03-28-2014 12:28 PM
ppt question fat PowerPoint 0 10-06-2011 01:33 PM
NETWORKDAYS calculation for entire column Salient Excel 0 07-11-2011 03:58 PM
Categories question & replying with attachment question glitzymama Outlook 0 03-15-2006 09:32 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft