Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: time difference

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    when subtracting two dates, i want to get the answer in months. What cell format can I use for that or do I need to work it out manually?

    Thanks

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    =DATEDIF(A1,A2,"m")

  3. #3
    New Member
    Join Date
    Mar 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I tried your suggestion, I dont think I'm getting it right.

    with the dates 07/15/1999 and 09/18/2003
    the result is 2/00 which makes no sense.

    Thanks

  4. #4
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-08 08:18, XL_Rookie wrote:
    I tried your suggestion, I dont think I'm getting it right.

    with the dates 07/15/1999 and 09/18/2003
    the result is 2/00 which makes no sense.

    Thanks
    Format the cell containing DATEDIF with a non-date number format (e.g., General, 0, etc.)

  5. #5
    New Member
    Join Date
    Mar 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    gotcha

    thank you

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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