+ Reply to Thread
Results 1 to 3 of 3

Normalize date format

  1. #1
    Registered User
    Join Date
    06-24-2012
    Location
    Argentina
    MS-Off Ver
    Excel 2010
    Posts
    15

    Normalize date format

    I have format some dates with mm/dd/yyyy on my spreadsheet.
    But for some reason after the day 13 the format change and breaks all. Living in Argentina and using the US date format, breaks everything.
    I tried to use a couple of formulas to fix it

    =IF(ISNUMBER(A2);DATE(YEAR(A2);DAY(A2);MONTH(A2));DATE(RIGHT(A2;4);LEFT(A2;2);MID(A2;4;2)))

    =TEXT(A2;"mm/dd/yyyy")

    But in both cases something went wrong.

    I have attached the excel I'm using to test.
    test formats.xlsx

    Any help will be appreciate.
    Thanks

  2. #2
    Registered User
    Join Date
    10-29-2014
    Location
    Portland, OR
    MS-Off Ver
    MS Office 2013
    Posts
    54

    Re: Normalize date format

    So the first thing I did was click on the "Open Time" column>clicked format>format cells>custom>typed in mm/dd/yyyy. Like you said the dates still had issues after day 13. so then I clicked the "Open Time" column again>did a Find/Replace (Ctrl+F)> in the "Find What" box I typed in " *" (which is a blank space... and an asterisk)> it tells it to delete everything after the date so it gets rid of all the times after "2014". So leave the "Replace With" box blank and hit "Replace All".
    Hopefully that gets you what you need.
    Happy Holidays

    -Tommy Bailey
    Show appreciation by clicking "Add Reputation"

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Normalize date format

    Sort all the mm/dd/yyyy dates that are giving you trouble so that they are together. Select them and click on the data tab, Text to columns, click Next, Next, Select Date and MDY click finish. The dates should now be in a useable form Then in your column E2 I entered =LEFT(A16,10)*1 and filled down the column. This converted the dates to dates only without the time.

    In the file, I have shown in yellow the dates in both formats.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Normalize data
    By MrKickAss in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-17-2014, 12:13 PM
  2. Normalize datasets
    By jorgeneriksen in forum Excel General
    Replies: 2
    Last Post: 01-27-2011, 11:06 AM
  3. How to normalize data
    By excellicious in forum Excel General
    Replies: 3
    Last Post: 02-05-2009, 11:20 PM
  4. [SOLVED] Normalize frequency
    By Knowledge001 in forum Excel General
    Replies: 1
    Last Post: 11-21-2005, 08:25 PM
  5. Normalize the second pie in a pie of pie chart
    By Judy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-21-2005, 08:06 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