+ Reply to Thread
Results 1 to 4 of 4

Substracting Dates.

  1. #1
    Registered User
    Join Date
    04-26-2005
    Posts
    43

    Substracting Dates.

    I want excel to count the # of days between 01/20/2006 and 02/28/2006

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello exsam21,

    Example:
    A1 = 01/20/2006
    A2 = 02/28/2006
    A3 = A2-A1

    Format A3 as NUMBER with no decimal places. This will be the number of days.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    11-01-2003
    Location
    Currently Mexico
    Posts
    32
    If 1/20/2006 is in cell A1 and 2/28.2006 is in cell B1 the formula would be
    =TEXT((B1-A1),"#")

    -Fable

  4. #4
    Bob Phillips
    Guest

    Re: Substracting Dates.

    Just subtract one from the other. Excel stores dates as days since 1str jan
    1900, so a simple subtraction suffices.

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "exsam21" <exsam21.21y6am_1137784201.9521@excelforum-nospam.com> wrote in
    message news:exsam21.21y6am_1137784201.9521@excelforum-nospam.com...
    >
    > I want excel to count the # of days between 01/20/2006 and 02/28/2006
    >
    >
    > --
    > exsam21
    > ------------------------------------------------------------------------
    > exsam21's Profile:

    http://www.excelforum.com/member.php...o&userid=22666
    > View this thread: http://www.excelforum.com/showthread...hreadid=503455
    >




+ 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