+ Reply to Thread
Results 1 to 3 of 3

Date Formatting

  1. #1
    Registered User
    Join Date
    04-23-2010
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    3

    Date Formatting

    I imported a large cost ledger database from .pdf and now have a column of months listed like '04-09' for 'April - 2009', however they are all TEXT and not DATES.

    When I try to switch this text to a date format, Excel automatically inserts a day AND updates the year to 2010 ('04-09' becomes '4/9/2010').

    I have tried every combination of custom format options I can think of, yet the original data is NEVER preserved and is always changed to a mm/dd/2010.

    Is there any way to convert this 'mm-yy' TEXT to a 'mm/yy' DATE without it updating to 2010 and inserting the 'dd'???

    Any help would be TREMENDOUSLY appreciated, thanks in advance!!!

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    re: Date Formatting

    Please remove URGENT: from your title - adds no value and detracts from search functionality.

    If you're looking for a formula - assuming strings are in A1 onwards and you're running US regional settings then perhaps:

    B1: =DATEVALUE(REPLACE(A1,4,0,"01-"))

  3. #3
    Registered User
    Join Date
    04-23-2010
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    3

    re: Date Formatting

    I apologize for breaching protocol in my unthinking haste, thank you for your assistance despite my belligerence.

+ 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