Subscribe for access to this FREE e-learning mini-course!


Your First Name:


Your Surname:


Your Email Address:



Subscribe
Close


Small logo
Hamburger menu
Menu
bookings:   0333 6000 111
service:       0333 6000 555
    or           
Free Video Tutorials : Excel Formulas
Free Video Tutorials : Excel Formulas
Home Quick Course Finder Microsoft Software Microsoft Excel Excel Resources
How to Calculate the Difference Between Dates in Excel
Search

EXCEL FORMULAS: CALCULATE DIFFERENCE IN DATES

Learn how to calculate the difference between two dates in your Excel spreadsheet in a few easy steps

Background information and resources for Excel courses that we hope you find useful

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.

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:

Excel Formulas: Calculate difference in dates

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)

WE HOPE YOU FOUND THIS USEFUL

Want to see how we can really help you?

LINKS TO MORE ...

Main Excel Resources Page

Excel Resources

Video tutorials & articles, and templates to help you work better in Excel

      Click to view

 

Video Tutorials - Excel Formulas

Video Tutorials - Excel Formulas

Learn and work with new Excel formulas to help create effective, automated spreadsheets

Click to view

Excel Formulas: Circular reference warning

Excel Formulas: Circular reference warning

See what a Circular Reference warning means and how to locate it in your Excel spreadsheet

      Click to read more

 

Excel Formulas: Why a formula doesn't work

Excel Formulas: Why a formula doesn't work

Find out why your formula might not work in Microsoft Excel and how to fix it

      Click to read more

Excel Formulas: How to work out gross profit

Excel Formulas: How to work out gross profit

Find out how to use a formula to work out gross profit in Microsoft Excel

      Click to read more

 

Excel Formulas: The DATEDIF function

Excel Formulas: The DATEDIF function

Find out what the DATEDIF function is and how to use it in Microsoft Excel

      Click to read more

GET IN TOUCH

Call us on:
0333 6000 111

   You can Email us direct (You'll usually get a response within 2-3 working hours)
   Or fill out the details below and we'll be in touch very soon:
SEND MESSAGE

HOW TO CALCULATE THE DIFFERENCE BETWEEN DATES IN EXCEL

We can enhance your skills with courses for Microsoft Excel spreadsheets at any of our twelve training centres UK wide, or we can come to your offices: if you have groups of three or more staff who need training, this is a very convenient, flexible and cost effective option. Moreover, most of our excel courses are 1 day, which keeps "out of office" periods for attendees to a minimum.

We have been delivering Microsoft Excel course all over the UK since 1995 and have continually developed our philosophy of high quality, flexible and results-driven provision of courses for Excel to ensure constantly improving standards of quality.   So you can be confident that we have the expertise, and the experience, to give you a great return on your investment in Free Video Tutorials : Excel Formulas.

Why not contact us today to see how we can help with providing your MS Excel classes ?


Stay in touch

Stay In Touch!

Google+
LinkedIn
Twitter
FaceBook
YouTube

Contact Details

Activia Training

Locations Address: Head Office, Regus House,
268 Bath Road
Slough, Berkshire SL1 4DX

Phone Sales:           0333 6000 111

Service:       0333 6000 555

Accounts:   0333 6000 777



Back to top