+ Reply to Thread
Results 1 to 2 of 2

Date subtraction

  1. #1
    Registered User
    Join Date
    04-01-2011
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Date subtraction

    I must be having a bad day, because for some reason I my brain has shut me out of all simple excel formulas...

    What I want to do is figure out how many days are in between two dates. In one column I have a specific date, and I want to subtract that from another specific date, not located in any cell.

    For instance, in cell N3 I have 20-Apr-11 and I want my current cell to display the difference from 21-Apr-11, which would be 1.

    I have done this MANY times before, I just can't for the life of me do it now, I feel so dumb
    Last edited by Mumps; 04-21-2011 at 02:42 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Date subtraction

    If you are using today's date, you can use either:

    =DATEDIF(N3,TODAY(),"d")

    or

    =TODAY()-N3

    you can replace TODAY() with DATE(2011,4,21) if you are looking at a specific date.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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