+ Reply to Thread
Results 1 to 3 of 3

date subTRACTION

  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    NY, USA
    MS-Off Ver
    Excel 2007
    Posts
    49

    date subTRACTION

    Hello friends,
    Does anyone know how I can subtract dates?
    and in what formats Excel is able to make it available ?
    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: date subTRACTION

    Excell will do that automatically if your data looks like a date

    in A1 enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    in B1 enter your birthday like 25/12/2016

    in C1 enter =A1-B1
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: date subTRACTION

    In Excel dates are really just numbers formatted to look like dates. These numbers are commonly referred to as the date serial number. The date serial number is the count of days starting from a base date. In Windows Excel the default base date is January 1, 1900. So, January 1, 1900 is date serial number 1.

    Jan 1 1900 = date serial number 1
    Jan 2 1900 = date serial number 2
    Jan 3 1900 = date serial number 3
    Jan 4 1900 = date serial number 4
    Jan 5 1900 = date serial number 5
    etc
    etc
    Jan 1 1975 = date serial number 27395
    Jan 1 2000 = date serial number 36526
    Jan 1 2016 = date serial number 42370

    You can see the date serial number by entering some date in a cell and then changing that cells format to General or Number.

    So, the difference in dates can be done with simple subtraction.

    =EndDate-StartDate

    A1 = StartDate = 11/1/2016
    B1 = EndDate = 11/13/2016

    =B1-A1

    Formatted as General or Number

    Result = 12
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Range Subtraction / Matrix Subtraction - Large data set
    By excelrabbit in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-20-2015, 07:07 AM
  2. Excel 2007 : Date Subtraction
    By cammo769 in forum Excel General
    Replies: 1
    Last Post: 11-22-2011, 12:56 PM
  3. Date subtraction
    By Mumps in forum Excel General
    Replies: 1
    Last Post: 04-21-2011, 01:38 PM
  4. Date subtraction
    By xdzgor in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-18-2010, 08:52 PM
  5. date subtraction
    By doowop5000 in forum Excel General
    Replies: 2
    Last Post: 11-19-2007, 12:40 PM
  6. date subtraction
    By busstop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-18-2007, 10:27 AM
  7. Date Subtraction
    By John Calder in forum Excel General
    Replies: 3
    Last Post: 11-09-2005, 10:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1