Computing.Net > Forums > Office Software > Subtracting Dates in Excel

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Subtracting Dates in Excel

Reply to Message Icon

Name: rickstyles
Date: June 5, 2009 at 04:50:46 Pacific
OS: Win XP Home
CPU/Ram: 2.2Ghz 512MB
Subcategory: Microsoft Office
Comment:

Is there any way to disregard weekends and / or holidays when subtracting dates in Excel?



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: June 5, 2009 at 05:36:02 Pacific
Reply:

Look at these 2 functions in Excel help:

NETWORKDAYS()
WORKDAYS()

Make sure you read the part about Holidays.


0

Response Number 2
Name: Mike (by mmcconaghy)
Date: June 5, 2009 at 07:11:53 Pacific
Reply:

The two functions that DerbyDad03 speaks of are part of the Analysis ToolPak
If you don't see them, then on the Tool Bar, Tools, Add-Ins, check mark the Analysis Toopak, click OK.
You will probably need your original install media.

MIKE

http://www.skeptic.com/


0

Response Number 3
Name: DerbyDad03
Date: June 5, 2009 at 07:16:41 Pacific
Reply:

Just to clarify, the both functions should be available in the Help files, but you might not be able to use them in a workbook until you install the Analysis Toolpak.

The Help files actually point this out.


0

Response Number 4
Name: rickstyles
Date: June 5, 2009 at 07:25:37 Pacific
Reply:

Is there a way to make the NETWORKDAYS function work with an IF Statement? Such as:

If the NETWORKDAYS from L10 to M10 are <=4, then YES

I tried myself and it didn't quite work.


0

Response Number 5
Name: DerbyDad03
Date: June 5, 2009 at 08:10:53 Pacific
Reply:

This worked for me:

=IF(NETWORKDAYS(L10,M10)<=4,"Yes","No")


0

Related Posts

See More



Response Number 6
Name: rickstyles
Date: June 5, 2009 at 08:42:33 Pacific
Reply:

Aha, I was putting an end bracket around <=4 instead of treating it separately.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Subtracting Dates in Excel

Formating dates in excel www.computing.net/answers/office/formating-dates-in-excel/8732.html

Comparing Dates in Excel www.computing.net/answers/office/comparing-dates-in-excel/8661.html

Two Different dates in Excel 2000 www.computing.net/answers/office/two-different-dates-in-excel-2000/3442.html