How to count workdays between two dates
Excel contains a great function that easily counts the number of workdays between two dates, it even allows you to specify holidays that are not counted.
Formula in cell C4:
The image above shows two dates in cell range B5:B6Â that acts as holidays in this example.
Formula in cell C8:
NETWORKDAYS.INTL function is available for Excel 2010 and later versions, it allows you to use custom weekends meaning if you want only Sundays to be weekend you can do that.
=NETWORKDAYS.INTL(C2,F2,"1101111")
The string "1101111" means that all days except Wednesdays are weekends (isn't that great?) in the formula above, see row 9 and 10 above.
Dates basic formulas category
Question: I am trying to create an excel spreadsheet that has a date range. Example: Cell A1 1/4/2009-1/10/2009 Cell B1 […]
This article demonstrates how to return the latest date based on a condition using formulas or a Pivot Table. The […]
This article demonstrates how to match a specified date to date ranges. The image above shows a formula in cell […]
Excel categories
One Response to “How to count workdays between two dates”
Leave a Reply
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
Hi, I am trying to calculate network days between two cells (not counting weekends and certain holidays). Say H2 has a date something was received, Date will be added to I2 when that item is forwarded. Trying to get network days when date is entered in I2. If not entered would like it to automatically insert "not started". I am using following formula... =NETWORKDAYS(I2,H2,'Do not touch'!F1:F20).