zandax online course logo
 
 
 
 
zandax 10 year anniversary
 
 
 
 
 
 
Home   >  ZandaX Blogs   >  Microsoft Blog   >  Microsoft Excel Articles   > 
How to Calculate the Difference Between Dates in Microsoft Excel

How to Calculate the Difference Between Dates in Microsoft Excel

 
Boosting your skills in Microsoft Excel
How can you calculate the difference between dates in Microsoft Excel? Find out how to do it in this free video tutorial from ZandaX Training.
 
Article author: Jordan James
      Written by Jordan James
       (2-minute read)
Forget the Big Bang theory. According to Microsoft Excel, the universe began in 1900. January 1st 1900 was day 1 in Excel, and it doesn't recognise dates earlier than this as actual dates.

So Excel supports a 1900 date system. When you type a date into Excel, even though you see the format of the date, it is actually converted to a serial number with 01/01/1900 being stored as number 1. Each consecutive day increases the number by one, so 02/01/1900 is day 2 and so on. If you were to convert the date 20/10/1979 to a number, you would get 29148.

The benefit of this is that you can perform calculations on dates values in a variety of different ways.


How To Calculate Difference Between Dates In Excel Video

Watch To See How To Calculate Difference Between Dates In Excel
[Video tutorial: How To Calculate Difference Between Dates In Excel
created by Activia Training; purchased by ZandaX]


To see a date value displayed as a number, type date into a cell, and changing the number format to General, either by using the Format Cells dialog box (right-click Format Cells) or using the Format number drop-down in the middle of the Home tab:

Difference between dates in Excel

An Example of Using a Date Difference

Let's say you want to work out somebody's age based on their date of birth.

If you were born on the 20th October 1979 (typed into Cell A1) and wanted to work out how many days had passed since then, you could use the TODAY() function, which returns today's date, whenever today is. The value of this will obviously change on a day-to-day basis!
So if you then type the following into cell C1:
=TODAY()-A1
this would give you the number of days that have passed since 20/10/1979.

If you want your age in years, you would use
=(TODAY()-A1)/365.25
You would probably wrap that in an =INT() (Integer) function so it only displays the whole (integer) number. After all, no-one wants to be 36.8 years old, when 36 will do!

Handy Formulas

Here are some handy formulas, assuming your date is in A1 (don't forget to adjust your formatting if required):
  • To go forward a week from the date in A1, use =A1+7
  • To work out how many week days have passed between the values in cells A1 and A2, use =NETWORKDAYS(A1,A2)
  • To work out the date, 20 week days from A1, the it's =WORKDAYS(A1,20)

Improve Your Excel Skills


If you'd like to learn more about Microsoft Excel, why not take a look at how we can help?

We have a whole range of online courses for all skill levels.
RRP from $39 – limited time offer just
$8.99

More Articles on Microsoft Excel

7 Reasons Why You Should Learn How to Use Excel
7 Reasons Why You Should Learn How to Use Excel
Jordan James
Author: Jordan James
About the article
Summary
The Article shows how to boost productivity with Excel, Improve Quality of Work, Versatility, You will become a God in the Office!
[ close ]
What are Pivot Tables used for in Excel?
What are Pivot Tables used for in Excel?
Jordan James
Author: Jordan James
About the article
Summary
Pivot Tables are a powerful data analysis tool. But many don't know what they are for. Here we look at what they're for and why to use them.
[ close ]
Excel 2013 New Features
Excel 2013 New Features
Jordan James
Author: Jordan James
About the article
Summary
What's new in Excel 2013? Click to read the Activia Training quick guide to the new features in Microsoft Excel 2013.
[ close ]
10 Ways Excel Pivot Tables can help you.
10 Ways Excel Pivot Tables can help you.
Jordan James
Author: Jordan James
About the article
Summary
Pivot Tables are extremely useful in analysing data and seeing how its linked. This looks at 10 ways to use Pivot Tables properly.
[ close ]
The Top Ten Excel Functions You Should Know
The Top Ten Excel Functions You Should Know
Jordan James
Author: Jordan James
About the article
Summary
10 Microsoft Excel Functions that you should know. Knowing these Excel functions will make you more productive, and impact colleagues.
[ close ]
Simplify Microsoft Excel with the Right Training Course
Simplify Microsoft Excel with the Right Training Course
Jordan James
Author: Jordan James
About the article
Summary
You can play around with Microsoft Excel for hours, and still get nowhere! Here, we give you tips on how to find a training course to help
[ close ]
What are Macros used for in Excel?
What are Macros used for in Excel?
Jordan James
Author: Jordan James
About the article
Summary
Macros in Excel are incredibly powerful tools that can provide the user with large benefits. This article looks at what macros are for.
[ close ]
How to Use F3 to Paste Names in Excel
How to Use F3 to Paste Names in Excel
Jordan James
Author: Jordan James
About the article
Summary
Find out how to use F3 to paste names in Microsoft Excel with this guide from Activia Training.
[ close ]
How to Format Dates in Microsoft Excel
How to Format Dates in Microsoft Excel
Jordan James
Author: Jordan James
About the article
Summary
[ close ]
How to Use Shortcuts for Font Formatting in Excel
How to Use Shortcuts for Font Formatting in Excel
Jordan James
Author: Jordan James
About the article
Summary
Learn how to use shortcuts for font formatting in Microsoft Excel with this tutorial from Activia Training.
[ close ]
How to Use Dependent Dropdown Lists in Excel
How to Use Dependent Dropdown Lists in Excel
Jordan James
Author: Jordan James
About the article
Summary
Learn how to create and use dependent dropdown lists in Microsoft Excel with this tutorial from Activia Training.
[ close ]
How to Use Select Visible Cells in Excel
How to Use Select Visible Cells in Excel
Jordan James
Author: Jordan James
About the article
Summary
Learn how to use Select Visible Cells in Microsoft Excel with this tutorial from Activia Training.
[ close ]
 

Write for us on the ZandaX blog

We're always looking for guest contributors to increase the variety and diversity of what we present.

Click to see how you can write for us:

 

The ZandaX Microsoft Software blog categories

Click a panel to visit the main category pages for the blog
Microsoft Excel
Microsoft Excel
[ This category ]
Microsoft PowerPoint
Microsoft PowerPoint
Microsoft Word
Microsoft Word
Microsoft Project
Microsoft Project
Microsoft Visio
Microsoft Visio
Microsoft Access
Microsoft Access

ZandaX Blog Contents

Want to see them all? Click to view a full list of articles in our blogs.

 
zandax online courses logo
"ZandaX courses are such great value, and with the help and support they give, there's no better option in the market"
ZandaX LinkedIn logo
ZandaX YouTube logo
ZandaX FaceBook logo
Course Categories
 
All content © ZandaX 2025