+ Reply to Thread
Results 1 to 10 of 10

Dates in Text and Date format, need help converting all to date format...

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    92

    Dates in Text and Date format, need help converting all to date format...

    Hi i have an excel file, some dates are in text format, and some are already in the date format. I need some help with the use of formula to translate all the dates into a date format. I've always had trouble with this and would appreciate some guidance.

    Thanks!! (excel file attached)
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dates in Text and Date format, need help converting all to date format...

    What is your current default date format ?

    If you type
    4/7/2016 into a cell, and format it as mmm dd yyyy
    Does it show as Apr 7th, or Jul 4th ?

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dates in Text and Date format, need help converting all to date format...

    I think this should work

    =IF(ISNUMBER(A2),A2,DATE(RIGHT(A2,4),MID(A2,4,2),LEFT(A2,2)))

  4. #4
    Registered User
    Join Date
    05-14-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Dates in Text and Date format, need help converting all to date format...

    Thanks but the cells already in date format are positioned as month, day, year, so that formula you gave me above actually, position them as day, month, year.. how can i change that?

    i.e. April 5th, 2016 shows as 05/04/2016 with the formula above.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dates in Text and Date format, need help converting all to date format...

    Can you respond to my question in post #2 ?

    Also, WHICH dates are actually correctly shown as real dates?
    Verify with
    =ISNUMBER(H2) and Filled down
    Which ones are showing as TRUE, and Which are FALSE ?

  6. #6
    Registered User
    Join Date
    05-14-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Dates in Text and Date format, need help converting all to date format...

    Yes your post two formula works for the ones that are text, but incorrectly for the ones that are already formatted as dates... the ones that are "FALSE" from above format properly, whereas the ones as "TRUE" do not.

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dates in Text and Date format, need help converting all to date format...

    I didn't propose a solution in Post# 2, only a question. (referring to the Post # shown at the top right corner of each post)

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dates in Text and Date format, need help converting all to date format...

    If the isnumber is TRUE, the formula i posted in post #3 will not actually change the date in the cell.

  9. #9
    Registered User
    Join Date
    05-14-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Dates in Text and Date format, need help converting all to date format...

    ok thank u, then this works, i guess the source file has the incorrect date thank u again

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dates in Text and Date format, need help converting all to date format...

    I think you just need to format the cells with the formula as dd/mm/yyyy

+ 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. Converting from the 1904 date format to the 1900 date format without losing data
    By Patty McJorst in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-01-2020, 12:53 PM
  2. [SOLVED] Converting Date Text to Number format to use in a VLOOKUP to polpulate data based by date
    By Rossovich in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-08-2015, 10:43 AM
  3. Converting Dates from Text to Date Format
    By talan in forum Excel General
    Replies: 4
    Last Post: 04-21-2013, 07:02 PM
  4. Replies: 5
    Last Post: 02-08-2013, 11:06 AM
  5. Replies: 0
    Last Post: 01-30-2013, 07:05 PM
  6. converting date format to text format
    By membership in forum Excel General
    Replies: 4
    Last Post: 03-17-2010, 03:24 AM
  7. Converting date text to date format
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2009, 06:10 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