+ Reply to Thread
Results 1 to 9 of 9

Cannot change format of scientific value on Microsoft Excel Comma Separated Values File

  1. #1
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Riyadh
    MS-Off Ver
    Office 365
    Posts
    129

    Cannot change format of scientific value on Microsoft Excel Comma Separated Values File

    Hello friends, Hope all is well!

    Please check out the attachment here. Trying to change the formatting of the column before the last (ID).

    it is scientific, I need it to be number and without decimals.
    Every time make the change, and save, then reopen the changes do not take place.

    Thank you very much in advance

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    Save as XLSX file after reformatting the ID to NUMBER..
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Riyadh
    MS-Off Ver
    Office 365
    Posts
    129

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    thank you, I did, fixed the format to number, saved, closed, opened, and saved again as CSV comma delimited, and still formatting of ID is in scientific.
    Please help

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    Use the XLSX file - why not ?

  5. #5
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Riyadh
    MS-Off Ver
    Office 365
    Posts
    129

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    need to use CSV in order to use it as Database for powerquery.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    need to use CSV in order to use it as Database for powerquery.
    You can also use Power Query from xlsx files.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    It's probably just Excel displaying it as scientific. Open the file In NotePad and see what it looks like.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    As TMS notes, I open the file in a text editor, and I don't see any field with numbers in scientific format. I see "ID" field (third field) that has 15 digit integers (at the limit of what double precision can store), but nothing in the text file that is in scientific format.

    Remember that text files (and csv files are just text files) do not contain any formatting information, so part of understanding the problem is understanding exactly when the numbers get converted to "scientific format" and understanding exactly what is happening at that point. I suspect that you are opening the csv file in Excel (using the File->open command or equivalent). Excel tries to be smart about how it imports and displays fields. In this case, I suspect that it sees the very large 15 digit ID number and decides to display as scientific with fewer digits (even though all 15 digits are probably still present in the field). If you don't like Excel's default scientific format for very large numbers, you will probably need to format the field/column as integer or something in order to display the numbers in a way that you would prefer.

    If you are going to be using Power Query to process the file, then it may not even matter what Excel does during file opening. As long as no information is actually lost, let Power Query handle those very large numbers in a way that is useful for the analysis or data shaping that you are trying to do.

    In short, I don't see anything wrong with the data in the text file. If there are problems (I don't foresee any), they will occur while opening/importing the file into Excel. We would need to understand exactly how you are opening the file into Excel, exactly what the problem is, and how Excel's errors (if any) are going to impact Power Query's tasks.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Cannot change format of scientific value on Microsoft Excel Comma Separated Values Fil

    Thanks for the rep.

+ 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. Replies: 4
    Last Post: 12-01-2020, 01:20 PM
  2. Replies: 3
    Last Post: 02-21-2013, 12:48 AM
  3. [SOLVED] How do I convert an excel file into a comma separated values file
    By Conquerer in forum Excel General
    Replies: 3
    Last Post: 08-17-2006, 04:25 PM
  4. How to I create a comma separated values file
    By Ruby in forum Excel General
    Replies: 3
    Last Post: 07-30-2006, 02:02 AM
  5. Change a comma separated text file and save it
    By BristolBloos in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2006, 09:50 AM
  6. [SOLVED] Change a comma separated text file and save it.
    By BristolBreeze in forum Excel General
    Replies: 2
    Last Post: 03-23-2006, 07:55 AM
  7. [SOLVED] how could I import a text file with comma separated values into ex
    By Xavi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2005, 07:05 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