+ Reply to Thread
Results 1 to 8 of 8

Convert Date to specific number format without crashing large spreadsheet

  1. #1
    Registered User
    Join Date
    11-26-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    7

    Convert Date to specific number format without crashing large spreadsheet

    I have a spreadsheet with 600,000 records. One column is filled with dates in the format 12/02/2013. I need to convert those dates to number in the format 20131202.

    These are the steps I've been using successfully on much smaller spreadsheets:

    1. copy and paste my dates into a blank spreadsheet
    2. convert to correct format using =TEXT(A2, "yyyymmdd")
    3. copy--> paste back into my original spreadsheet as a value
    4. then right click and select "convert to number"

    Problem is, when I try this on a spreadsheet this large, it crashes. Any help would be greatly apprreciated!

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Convert Date to specific number format without crashing large spreadsheet

    Highlight column with dates, go to Format Cells and select Custom and type in format YYYYMMDD
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Convert Date to specific number format without crashing large spreadsheet

    If you used this formula:

    =TEXT(A2, "yyyymmdd")*1

    then you would have the numeric value directly, so you won't need step 4.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    11-26-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Convert Date to specific number format without crashing large spreadsheet

    Sorry but this didn't work. Perhaps because of my version, Excel 7?

  5. #5
    Registered User
    Join Date
    11-26-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Convert Date to specific number format without crashing large spreadsheet

    You are my new hero! Works like a charm. Thank you so much Pete! Vicki

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Convert Date to specific number format without crashing large spreadsheet

    You're welcome, Vicki - thanks for feeding back.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, I would like to inform you that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  7. #7
    Registered User
    Join Date
    11-26-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Convert Date to specific number format without crashing large spreadsheet

    Done and done. Thanks again!

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Convert Date to specific number format without crashing large spreadsheet

    Quote Originally Posted by vickilynch View Post
    Sorry but this didn't work. Perhaps because of my version, Excel 7?
    It works in any version of Excel. Most likely the problem is that your dates were stored as text.

+ 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. Large Number Date Format Overflow Error
    By goss in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-12-2013, 05:55 PM
  2. [SOLVED] Convert date into a specific format
    By Panfergrrl18 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2013, 03:01 AM
  3. Convert number of days to specific time & date
    By theperson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 11:44 AM
  4. Convert date and time in serial number format to text format
    By nda13112 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2013, 02:45 PM
  5. Convert from a specific date format
    By codepin in forum Excel General
    Replies: 4
    Last Post: 01-08-2009, 11:16 AM

Tags for this Thread

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