+ Reply to Thread
Results 1 to 9 of 9

Desperate in need of help on dates matching

  1. #1
    Registered User
    Join Date
    05-18-2016
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    5

    Desperate in need of help on dates matching

    I am trying to match 2 dates. Previously was fine but now the formula does not work. If(date1-date2,"","please check"). Anyone can advise what's wrong?
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    05-18-2016
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    5

    Re: Desperate in need of help on dates matching

    Formula is per screenshot not the text comments

  3. #3
    Registered User
    Join Date
    05-18-2016
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    5

    Re: Desperate in need of help on dates matching

    A check on the column c value shows up digits like 41647 etc

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Desperate in need of help on dates matching

    In Excel dates are really just numbers formatted to look like dates. These numbers are commonly referred to as the date serial number. The date serial number is the count of days starting from a base date. In Windows Excel the default base date is January 1, 1900. So, January 1, 1900 is date serial number 1.

    Jan 1 1900 = date serial number 1
    Jan 2 1900 = date serial number 2
    Jan 3 1900 = date serial number 3
    Jan 4 1900 = date serial number 4
    Jan 5 1900 = date serial number 5
    etc
    etc
    Jan 1 1975 = date serial number 27395
    Jan 1 2000 = date serial number 36526
    Jan 1 2016 = date serial number 42370

    You can see the date serial number by entering some date in a cell and then changing that cells format to General or Number.

    So, 41647 is the date serial number for the date Jan 8 2014.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    05-18-2016
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    5

    Re: Desperate in need of help on dates matching

    It doesn't allow me change the format of the cells. What could be the issue?

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Desperate in need of help on dates matching

    How big is the file?

    If it's not too big and you're able to, post the file so we can see what the problem is.

    Make sure you tell/show us exactly where the problem is. In fact, it would be helpful if you deleted all of the irrelevant data. It just makes finding what we're looking for harder.

  7. #7
    Registered User
    Join Date
    06-08-2012
    Location
    Liverpool
    MS-Off Ver
    Office 365
    Posts
    84

    Re: Desperate in need of help on dates matching

    The problem is the dates in column C have been entered in the wrong format so they are not actually numbers/dates. If you can change them to a dd/mm/yyyy format the formula will work

    Sun

  8. #8
    Registered User
    Join Date
    05-18-2016
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    5
    Quote Originally Posted by Sun13Banjo View Post
    The problem is the dates in column C have been entered in the wrong format so they are not actually numbers/dates. If you can change them to a dd/mm/yyyy format the formula will work

    Sun
    Hi, I found the solution. It's because my system somehow set it to US date and I need to change to uk date in control panel. Thanks guys!

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Desperate in need of help on dates matching

    Good deal. Thanks for the feedback!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Matching Dates
    By Southpaw1939 in forum Excel General
    Replies: 2
    Last Post: 06-30-2015, 02:21 PM
  2. Replies: 10
    Last Post: 09-04-2013, 08:34 PM
  3. Matching Dates
    By thejayjetson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-22-2013, 04:47 PM
  4. [SOLVED] Matching Dates
    By FlyGuy45 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2012, 07:58 AM
  5. Matching dates
    By Avenger317 in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 11-28-2011, 12:40 AM
  6. List Matching with Dates: Using Dates as filters
    By Thawk in forum Excel General
    Replies: 6
    Last Post: 02-15-2009, 05:12 PM
  7. Matching Dates
    By Lili101 in forum Excel General
    Replies: 5
    Last Post: 06-15-2007, 04:49 AM

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