Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

opening csv files excel

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Opening csv files in Excel with long alphanumeric codes

Opening csv files in Excel with long alphanumeric codes

ResolvedVersion 2007

Hamish has attended:
Excel Advanced course

Opening csv files in Excel with long alphanumeric codes

Hi ,

I have a CSV file that has a column with long codes (some more than 20 characters) eg. "44d00e8a9b1484231212". In most circumstances the code opens correctly. However in some circumstances the code is formatted to something like "3.11303E+19" appearing as "31130285965857000000" when I look in the cell itself. All the codes are alphanumeric so why has this code been converted into a number and rounded?

Why does this happen and how can I prevent it?


RE: Opening csv files in Excel with long alphanumeric codes

Hi Hamish, thanks for your query. Import the CSV file into Excel as a text file using the Data tab and the From Text tool. Obviously set the delimiter as a comma but set the format of the incoming column with the code in as Text. That should prevent the problem from occuring.

Basically, Excel does not like displaying long numbers and will try to reformat long numbers (including mobile phone numbers in some cases) into scientific notation. I think it's only doing this on those codes with numbers in and I'd be surprised if it's doing it to a mix of alpha and numerical characters. Try the solution and let me know if you encounter any further problems.

Hope this helps,

Anthony

Excel tip:

No Zeros

Want all the zeros in your worksheet to appear blank? Choose Tools/Options, Click on the View Tab, Deselect the Zero Values Option, Click OK.
Easy wasn't it? But be aware that these cells are not actually blank, they still contain the value zero. This is important because certain functions (ie AVERAGE) make a distinction between blank cells and those with a zero value.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.16 secs.