#1
|
|||
|
|||
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 :-) |
#2
|
|||
|
|||
With start_date in A1 and end_date in A2:
=IFERROR(NETWORKDAYS(A1,A2),0) or =IF(ISTEXT(A2),0,NETWORKDAYS(A1,A2)) |
#3
|
|||
|
|||
Thank you for this
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Networkdays per fiscal year in a 6 year range | jabnm | Excel | 1 | 10-16-2014 11:51 AM |
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 |