+ Reply to Thread
Results 1 to 4 of 4

Change Default Number Format?

  1. #1
    Registered User
    Join Date
    10-14-2009
    Location
    Gold River, BC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Change Default Number Format?

    Good Afternoon,

    I am trying to work with a .CSV file using Excel. I am experiencing difficulty with the default settings when the file is opened.

    The default numerical format is set to "GENERAL." Unfortunately, this format erases all leading zeroes (I'm sure it's trying to be helpful...) in my data. So a cell that should read '0040056" instead reads "40056."

    I try to format the data back to "TEXT" instead of general, but the leading zeroes do not come back.

    Is there a way to open a .CSV file with a different default number format?

  2. #2
    Registered User
    Join Date
    10-14-2009
    Location
    California
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    4

    Re: Change Default Number Format?

    I don't know about setting it permanently for when you open the file, but at least in the file you're already viewing you can select all the cells and change the number format to custom, then put in "0000000" and it will show all leading zeroes. hopefully this should help in the meantime.
    Last edited by brianguy; 10-14-2009 at 06:24 PM. Reason: added "custom"

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Change Default Number Format?

    CSV files are text files; they don't have any formatting.

    See if http://excel.tips.net/Pages/T002588_...CSV_Files.html helps.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    10-14-2009
    Location
    Gold River, BC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Change Default Number Format?

    Thanks Brian, that helped for now.

+ 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