Text to columns changing values. Why ?

Ombir

Active Member
Joined
Oct 1, 2015
Messages
433
Hi Folks,

I am trying to convert values in one column by using Text to column. Strange thing that is happening is that last digits of value are being converted into some another value.Sample is given below:



Book1
ABC
1REGISTRATIONTEXT TO COLUMNPROPER(B2)
2116121733711161217337111612173371
311631230298896311.16312E+151163123029889630
410331703202444001.03317E+151033170320244400
51223221868012602971.22322E+17122322186801260000
6104231493651042314936510423149365
7104319321310431932131043193213
8104411850440461.04412E+1310441185044046
910411954337711.0412E+121041195433771
1010421284617662001.04213E+151042128461766200
1110421229670930001.04212E+151042122967093000
12104211769671450861.04212E+1610421176967145000
1310411571592042451.04116E+151041157159204240
14122431630536381371.22432E+1612243163053638100
15104111914865783271.04112E+1610411191486578300
1610431575678804651.04316E+151043157567880460
17104311688949298831.04312E+1610431168894929800
18122421204736202951.22421E+1612242120473620200
19122421534704875391.22422E+1612242153470487500
20104211488662146481.04211E+1610421148866214600
21105211105967132551.05211E+1610521110596713200
221074153825005963581.07415E+17107415382500596000
Sheet3



If we compare column A and C then there is difference between these values. Can anybody explain why this is happening ? How Can I convert values back from column C to column A ?

Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
It is because you are letting "Text to Columns" treat all of the split out columns as General instead of as Text. When you get to Step 3 of 3 on the "Text to Columns" wizard, select all the columns (select the first column and Shift-click the last column) and then select the Text option button at the top left side of the dialog box... that will make the formatting of the columns Text and the numbers won't change.
 
Upvote 0
Rick,

That's okay but I want to change it into numbers not text. If you look at A2, it is not changing but A3 is changing after text to column.
 
Upvote 0
...but I want to change it into numbers not text.
No, I do not think you do... not with the size of some of your numbers. In the table you posted in Message #1, look at the value in cell A5 and then look at the value in cell C5 (which is the column you designated as being the "proper" output)... notice any difference at the end of the number? That is because Excel can only display a maximum of 15 significant digits for numeric values... anything after the 15th digit becomes zero.
 
Upvote 0
Thanks Rick. You're right, I shouldn't convert it to numbers because it may create duplicates !
 
Upvote 0
Yep. You hit that wall a few time you learn just because someone calls it a number doesn't mean it should be treated as number in Excel.
Account "numbers", UPS "numbers" and approval "numbers" often aren't numbers but labels or codes, ie text values.
 
Upvote 0

Forum statistics

Threads
1,214,996
Messages
6,122,636
Members
449,092
Latest member
bsb1122

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top