I imported some data and it is not formatting correctly for numbers

%3CLINGO-SUB%20id%3D%22lingo-sub-2275174%22%20slang%3D%22en-US%22%3EI%20imported%20some%20data%20and%20it%20is%20not%20formatting%20correctly%20for%20numbers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2275174%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20some%20data%20in%20a%20spreadsheet%20that%20appears%20as%20a%20number%20with%2010%20digets%2C%20when%20I%20do%20the%20col%20function%20it%20is%20listing%20as%2012%20digets.%26nbsp%3B%20I%20have%20tried%20to%20format%20as%20a%20number%20and%20also%20tried%20the%20text%20to%20column%20function%20but%20still%20col%20lists%2012%20digits.%26nbsp%3B%20Need%20help%20to%20clean%20up%20the%20data%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2275174%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I have some data in a spreadsheet that appears as a number with 10 digets, when I do the col function it is listing as 12 digets.  I have tried to format as a number and also tried the text to column function but still col lists 12 digits.  Need help to clean up the data

2 Replies
You may have some non-breaking spaces in that column. So use Ctrl+H to replace them with nothing. To do so, select the whole column and press Ctrl+H to open Replace Window, In Find what: box hold down the Alt key and press 0160 from the numeric keypad and then replace all of them with nothing in the Replace with box. See if this resolves your issue.
Or you may also use Substitute Function in a separate column to substitute CHAR(160) with a blank string "" and then copy the formula cells and paste them back to the original column as Values.

@Debbie_Shireman 

Your problem statement is unclear to me.  I think it would be clear if you attached a "spreadsheet" file that demonstrates the problem.

 

(Not clear if you are talking about an Excel file or CSV file, which Win displays with an Excel icon.)

 

First, what is the "col" function?  Ideally, provide a URL to a support page that describes the function.  I would do a google search for ``excel col support`` without quotes; I would use a URL in the support.microsoft.com domain.

 

Second, you say that it "appears" as 10 digits, but the function "lists" 12 digits.  What do you mean by "appears" and "lists"?  That is, specifically where does it "appear" as 10 digits; for example, when the cell is displayed (what format?!); or in the Formula Bar?  And in where does the function "list" 12 digits; for example, as the result of a formula (show us the formula!)?

 

And what is the form of the number? Both 1234567891 and 12.34567891 have "10 digits".  But they are very different forms of numbers (integers vs. non-integers). 

 

The first might be "corrected" by explicitly rounding to 0 decimal places.  The second might be "corrected" by explicitly rounding to 8 decimal places.

 

Alternatively, I wonder if you mean a number with 10 decimal places; for example, 123.1234567891, which is a __13__ digit number.

 

(But that assumes the data is truly numeric, in first place.  It seems that it is, if it displays more digits in one context than it does in another context.)