+ Reply to Thread
Results 1 to 3 of 3

Problems with comparing dates

  1. #1
    Registered User
    Join Date
    03-09-2005
    Posts
    39

    Talking Problems with comparing dates

    hi all,

    My problem is :

    I have 2 dates:

    Date 1: 30/11/1999
    Date 2: 15/12/1999

    When i compare it as below:

    if (Date2>Date1,"true","false")

    -->The output is "false",but in actual fact Date2 is later than Date1.What is the problem?

    Thanks

  2. #2
    Registered User
    Join Date
    11-28-2004
    Posts
    11
    Make sure that Excel recognizes your values as dates. Try
    =ISNUMBER(Date 1)
    to see. If the formula returns FALSE, then Date 1 is a string (that's my guess).

    Hope this helps,
    Barrie Davidson
    My Excel Web Page

    "You're only given a little spark of madness. You mustn't lose it." - Robin Williams

  3. #3
    Registered User
    Join Date
    03-09-2005
    Posts
    39
    thanks a lot :D....

+ 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