Calculate Difference Between Dates
Calculate Difference Between Dates
1/14/2014 5/6/2016
All in one:
Holidays
1/1/2016 9/5/2016
1/18/2016 10/10/2016
2/15/2016 11/11/2016
5/30/2016 11/24/2016
7/4/2016 12/25/2016
This document is provided “as is.” Information and views expressed in this document, including URLs and other
Internet Web site references, may change without notice.
Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection
is intended or should be inferred.
This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You
may copy and use this document for your internal, reference purposes.
This document may be available in English only. Clicking embedded links may redirect you to a website whose content
is in English.
Microsoft, Excel, Internet Explorer, and Windows are trademarks of Microsoft Corporation. All other trademarks are
property of their respective owners.
Result
2
Result
28
Result
856
Result
979
Putting TODAY() in the formula allows you to find the difference
between the current day of your computer, with the end date of
12/31/3000. The date of TODAY() will change if you open the file
lidays in a separate area.
on a future day.
n its own cell.
WORKDAYS.INTL
umber of workdays:
The "1" parameter tells NETWORKDAYS.INTL to exclude
Result weekend days of Saturdays and Sundays. But you can use "2"
252 for Sunday and Monday, "3" for Monday and Tuesday, and so
on. To see all possible parameters, delete the "1" from this
e the NETWORKDAYS formula and pick from the list.
In Excel 2007, this cell will return the #NAME? error.
number of workdays:
Result
In Excel 2007, you must use the NETWORKDAYS function. This
252 function doesn't have weekend parameters. It always assumes
that your weekends are on Saturdays and Sundays.
s inside a formula,
ts, quotes, and commas.
ws an example
the formula:
Result
260
example of
the formula:
Result
260
Difference
9:15
Difference
1:00
-8:00 8:00
2:00
2:55 9:55
2:20 10:20
TOLAK 1 1 0
TAMBAH 1 1 2
BAHAGI 110 5 22
DARAP 1 1 1
TOLAK 1 1 0
TAMBAH 1 1 2
BAHAGI 110 5 22
DARAP 1 1 1