+ Reply to Thread
Results 1 to 5 of 5

Calculate days between dates

  1. #1
    Registered User
    Join Date
    03-07-2006
    Posts
    6

    Calculate days between dates

    Theres a problem I came across:
    I would like to add the days between two cells

    e.g:
    A B
    03/12/2006 03/20/2006

    I want the total number of days that I took to complete my task i.e 9days
    How do I get this 9days..what is the formula....

    Someone Plzz help !!!!

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    In C1,

    =B1-A1+1

    Format the cell of your result as General or Number to 0 decimal places.

    HTH,

    Steve

  3. #3
    JE McGimpsey
    Guest

    Re: Calculate days between dates

    One way:

    =B1-A1+1

    Format as General or Number.

    In article <sunita_shaw.24b4v7_1141748276.0263@excelforum-nospam.com>,
    sunita_shaw <sunita_shaw.24b4v7_1141748276.0263@excelforum-nospam.com>
    wrote:

    > Theres a problem I came across:
    > I would like to add the days between two cells
    >
    > e.g:
    > A B
    > 03/12/2006 03/20/2006
    >
    > I want the total number of days that I took to complete my task i.e
    > 9days
    > How do I get this 9days..what is the formula....
    >
    > Someone Plzz help !!!!


  4. #4
    Registered User
    Join Date
    03-07-2006
    Posts
    6

    Unable to find the difference in days between 2 dates

    Hi! Steve , I tried but my dates get formated into plain numbers and when I try doing it some other sheet too I get the difference in the form of dates...

  5. #5
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    Sunita,

    Keep the cells where your dates are formatted as dates. Only change the format of the cell that you input the formula into to a number to return only a number.

    Steve

+ 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