opening csv files excel

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

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

resolvedResolved · Urgent Priority · Version 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:

Counting Blanks

Some times you want to check if there are cells missing data in your range. You can use the COUNTBLANK FUNCTION to acheive this. It is =COUNTBLANK(Range). Note Cells with formulas that return "" (empty text) are also counted. Cells with zero values are not counted.

View all Excel hints and tips


Server loaded in 0.08 secs.