+ Reply to Thread
Results 1 to 2 of 2

Cells have different date formatting.

  1. #1
    Registered User
    Join Date
    01-02-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    95

    Cells have different date formatting.

    Im about to export an excel file to sql server to perform queries however, I am trying to fix up the date formatting in the attached file. These are open dates and the max date should be the date today. If you will try to filter the data by date, you will see that we have dates from july to march which is obviously in a wrong format. Can somebody help me fix the date. date format should be dd/mm/yyyy

    Thank you
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Cells have different date formatting.

    Most of your "dates" are not really dates, but text that looks like a date. Tates are numeric, and will, by default, right-align. So if you see any "dates" that are left-aligned, chances are, they are not real dates.

    Here is how you can fix this.

    Highlight the entire range
    Select Text2Columns on the Data tab
    check Delimited
    click Next/Next
    check Date and select d/m/y
    click OK

    This should convert your text dates to real dates
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  2. Replies: 2
    Last Post: 09-19-2013, 10:34 AM
  3. Replies: 5
    Last Post: 08-06-2013, 02:13 PM
  4. Conditional formatting of blank cells and date cells
    By gluktar in forum Excel General
    Replies: 4
    Last Post: 01-18-2013, 03:44 AM
  5. Conditional Formatting on another cells date value to the current cell date
    By jennys83 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2012, 12:55 PM

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