ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Hex numbers displayed in scientific notation when importing text f (https://www.excelbanter.com/excel-discussion-misc-queries/151021-hex-numbers-displayed-scientific-notation-when-importing-text-f.html)

Gabriel Nehmer

Hex numbers displayed in scientific notation when importing text f
 
Even when choosing 'Column data format: text', the result is scientific
notation for 32-bit hex numbers that contain an 'E'. The file contains some
columns that are decimal numbers, some hex, some text.

I am using Microsoft Excel 2003 SP2.



Gary''s Student

Hex numbers displayed in scientific notation when importing text f
 
If you want to manually enter hex values in cells ( or a column):
Format Cells... Text
or
Precede the entry with a single quote (apostrophe)
--
Gary''s Student - gsnu200734


"Gabriel Nehmer" wrote:

Even when choosing 'Column data format: text', the result is scientific
notation for 32-bit hex numbers that contain an 'E'. The file contains some
columns that are decimal numbers, some hex, some text.

I am using Microsoft Excel 2003 SP2.



Gabriel Nehmer

Hex numbers displayed in scientific notation when importing te
 
I am trying to process space-delimited text data that is 3000+ rows long
where some of it comes in as text, some as decimal number, some as hex
number. I am trying to use Excel to process this data, and I would need
something to pre-process it to add an apostrophe, but only to the column that
has hex data before sending it to Excel. So, adding an Apostrophe won't work
for me.

My frustration is that Excel always handles an 'E' in a number like it's
Scientific Notation, which it's not supposed to if you click import columns
as 'Text' instead of 'General'. Why does it do this, and is there some way to
turn this automation off?


"Gary''s Student" wrote:

If you want to manually enter hex values in cells ( or a column):
Format Cells... Text
or
Precede the entry with a single quote (apostrophe)
--
Gary''s Student - gsnu200734


"Gabriel Nehmer" wrote:

Even when choosing 'Column data format: text', the result is scientific
notation for 32-bit hex numbers that contain an 'E'. The file contains some
columns that are decimal numbers, some hex, some text.

I am using Microsoft Excel 2003 SP2.




All times are GMT +1. The time now is 01:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com