Converting imported txt cells to number remove 4 last characters.

metropol

Board Regular
Joined
Aug 19, 2005
Messages
209
I have tried different solutions regarding converting importet TXT cells to Number Cells (copy blank cell, paste special with Multiply etc) but nothing seems to work

1. I have exported a report as a csv document. Asked the report to export this field as NUMBER field.
2. Using import wizard and choose NUMBER for this column
3. Number is imported as 707057500064619706. Green indicator tell me that "this numbers is stored as text". I have an option to convert to number. I accept
4. Excel produce 7,07058E+17
5. I choose format cell and NUMBER.
6. Excel produce 707057500064614000,00

The last 4 characters are changed.

Any ideas?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Excel can only handle numbers with up to 15 digits. Above that length the number will be truncated.
 
Upvote 0
Thx for quick reply. That I was not aware of....Any workarounds?

Maybe a solution to use =left(a1, 18) in column to the left......
 
Last edited:
Upvote 0
If you don't convert the number stored as text you can have 18 (or more) characters but you won't be able to perform calculations.
 
Upvote 0

Forum statistics

Threads
1,202,962
Messages
6,052,815
Members
444,602
Latest member
Cookaa

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