+ Reply to Thread
Results 1 to 5 of 5

date formating

  1. #1
    Registered User
    Join Date
    02-28-2007
    Posts
    1

    date formating

    OK,

    I have a large file, that I have converted into excel, from abby scan to office. the large amount of cells contain, what are suppose to be dates.

    the dates show up like this:::::::::: JAN 03 2006
    MAR 06 2006

    I need to find a way to get excel to recognize these as dates and format them like 1/3/2006 . this file I copy and paste into another program that will not recognize the above as a date format.

    any help or suggestions. I could re type all the dates, but would take me days, as this is an extremely large file.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702
    You can convert a single column of dates in that format using Text to Columns Function.

    Select your column of dates

    Select "Text to Columns" from Data menu

    Select "Next" twice and at step 3 from "Column data format" select "date" and "MDY"

    Finish

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    If you want a formula ??? you could use this,

    =DATE(RIGHT(A1,4),VLOOKUP(LEFT(A1,3),$G$1:$H$12,2,FALSE),MID(A1,5,2)) custom format cell to mm/dd/yyyy

    For this to work you would need to set up a LOOKUP table in this case G1:H12, G1:G12 being JAN to DEC and H1:H12 numbers 1-12
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702
    For a formula approach, assuming your default date setup is m/d/yy

    =REPLACE(A1,7,0,",")+0

  5. #5
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by daddylonglegs
    For a formula approach, assuming your default date setup is m/d/yy

    =REPLACE(A1,7,0,",")+0
    A minor typo

    =REPLACE(A1,7,0,"")+0

    JLDSALLTHAT this will only work if the original date is a number and not text

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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