+ Reply to Thread
Results 1 to 2 of 2

Wrong dates in database

  1. #1
    Registered User
    Join Date
    04-16-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    5

    Unhappy Wrong dates in database

    Dear users,

    When copying data from a website to excel, excel recognizes the dates wrongly.

    About half of the dates he sees as: DD/MM/YYYY, while it should be: nothing/MM/DD. For example:
    The cell contains the date: 01/04/2029 (The first of April, 2029)
    While it should actually be: 04/29 (The 29th of April, no year!)
    For all dates it starts with the 1, followed by a month, followed by a year (which consists of the year 2000 + the actual day), which is totally wrong.

    About the other half of the cells, it just contains text with the month and the day (which are correct), but excel doesn't recognize this as a day. For example:
    The cell contains the text: June 12
    When I set the cell format to date (or any other format for that matter), nothing happens, so excel does not see this as a date.

    Thanks for your help!

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Wrong dates in database

    Copy the data into a text file, then use the text import feature to specify the date format for that column. Or record a macro that does it so that you only need to do it once.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. Dates Displayed Wrong Issue.
    By Dan86 in forum Excel General
    Replies: 7
    Last Post: 07-14-2013, 10:32 PM
  2. Dates are wrong, is there an update?
    By FrankMCook in forum Excel General
    Replies: 5
    Last Post: 03-06-2012, 09:38 AM
  3. dates automatically formatted wrong
    By bigajosepi in forum Excel General
    Replies: 1
    Last Post: 08-21-2006, 11:56 PM
  4. Wrong format of database
    By Harpagornis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2005, 09:46 AM
  5. Replies: 2
    Last Post: 01-06-2005, 04:06 PM

Tags for this Thread

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