scientific notation forcing itself into my sheet

%3CLINGO-SUB%20id%3D%22lingo-sub-2079440%22%20slang%3D%22en-US%22%3Escientific%20notation%20forcing%20itself%20into%20my%20sheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079440%22%20slang%3D%22en-US%22%3E%3CP%3EI%20down%20loaded%20a%20comma%20separated%20values%20spreadsheet%20to%20excel.%20One%20column%20is%20upc%20codes.%20many%20codes%20in%20it%20were%20converted%20to%20scientific%20notation%20upon%20download.%3CBR%20%2F%3EI%20saved%20the%20file%20as%20an%20excel%20spreadsheet.%20I%20expanded%20the%20column.%3CBR%20%2F%3EI%20changed%20the%20column%20format%20type%20to%20number.%3CBR%20%2F%3EExcel%20then%20took%20the%20upc%20codes%20out%20of%20scientific%20notation.%3CBR%20%2F%3ENow%2C%20I%20need%20to%20add%20back%20the%20zeros%20that%20were%26nbsp%3B%20at%20the%20beginning%20of%20some%20of%20the%20upc's%2C%20which%20were%20stripped%20out%20during%20the%20export.%3CBR%20%2F%3EIn%20order%20to%20do%20that%2C%20I%20either%20have%20to%20change%20the%20column%20to%20text%20format%2C%20or%20to%20a%20custom%20format.%3CBR%20%2F%3EIf%20I%20switch%20it%20to%20text%2C%20a%20few%20of%20my%20upc's%20go%20back%20to%20scientific%20notation.%3CBR%20%2F%3EIf%20I%20use%20custom%2C%20and%20i%20type%20in%20how%20I%20want%20the%20column%20to%20look%2C%20then%20every%20single%20upc%20gets%20at%20least%202%20zeros%20added%20to%20it.%20This%20is%20ridiculous.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EHow%20do%20i%20get%20this%20sheet%20to%20display%20leading%20zeros%20AS%20NEEDED%2C%20when%20entered%20as%20such%2C%20without%20every%20single%20cell%20getting%20extra%20zeros%2C%20and%20without%20it%20converting%20the%20numbers%20back%20into%20scientific%3F%3F%3F%3F%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2079440%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2079684%22%20slang%3D%22en-US%22%3ERe%3A%20scientific%20notation%20forcing%20itself%20into%20my%20sheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079684%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F936396%22%20target%3D%22_blank%22%3E%40chazmmann%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDepends%20on%20what%20do%20you%20plan%20to%20do%20further.%20If%20you%20just%20want%20to%20see%20these%20zeros%20and%20the%20nuber%20of%20digits%20in%20your%20data%20is%20the%20same%2C%20you%20may%20solve%20it%20with%20format.%3C%2FP%3E%3CP%3EBut%20if%20you%20plan%20to%20do%20some%20calculations%20with%20these%20data%2C%20you%20need%20to%20re-download%20your%20data%20into%20the%20colomn%20pre-formated%20as%20text%20or%20use%20Power%20Query%20to%20download.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I down loaded a comma separated values spreadsheet to excel. One column is upc codes. many codes in it were converted to scientific notation upon download.
I saved the file as an excel spreadsheet. I expanded the column.
I changed the column format type to number.
Excel then took the upc codes out of scientific notation.
Now, I need to add back the zeros that were  at the beginning of some of the upc's, which were stripped out during the export.
In order to do that, I either have to change the column to text format, or to a custom format.
If I switch it to text, a few of my upc's go back to scientific notation.
If I use custom, and i type in how I want the column to look, then every single upc gets at least 2 zeros added to it. This is ridiculous.

How do i get this sheet to display leading zeros AS NEEDED, when entered as such, without every single cell getting extra zeros, and without it converting the numbers back into scientific?????

2 Replies

@chazmmann 

Depends on what do you plan to do further. If you just want to see these zeros and the nuber of digits in your data is the same, you may solve it with format.

But if you plan to do some calculations with these data, you need to re-download your data into the colomn pre-formated as text or use Power Query to download.

 

@chazmmann 

It depends on what do you mean under "I down loaded a comma separated values spreadsheet to excel". If just double click on csv file to open it in Excel - no, where is no way to prevent such conversion, but you may vote for this idea here Stop Excel from changing large "numbers" (actually text values) to scientific notation. – Welcome to...

The only way is to assign text type to such columns during transformation. As @AnaBoyko mentioned you may use Power Query or, alternatively, legacy From Text connector where assign text type on the third step of the wizard.