# Why can't I enter "3E281" in an Excel cell?

**URL:** <https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268>\
**Category:** Factual Questions\
**Created:** [January 3, 2006, 7:41pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268 "2006-01-03T19:41:42Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seven](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Seven](https://boards.straightdope.com/u/Seven)\
**Post date:** [January 3, 2006, 7:41pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/1 "2006-01-03T19:41:42Z")

</div>

**3E281** is an ID in a text file I’m working with. When I import this into MS Excel it converts it to “3.00E+281” and formats the cell as scientific.

If I go back and change the cell to general or text and retype **3E281** it converts it again.

Just for giggles I started a brank new worksheet and typed 3E281 into a cell. Sure enough it was converted into 3.00E+281.

What gives?

If there a way to stop this from happening?

---

<div class="post-metadata">

**Author:** ![Q.E.D](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Q.E.D](https://boards.straightdope.com/u/Q.E.D)\
**Post date:** [January 3, 2006, 7:45pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/2 "2006-01-03T19:45:06Z")

</div>

What version of Excel are you using? I just tried it, changing the cell format to “text” before entering the data, and it worked just fine.

---

<div class="post-metadata">

**Author:** ![hajario](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hajario/32/171_2.png) [@hajario](https://boards.straightdope.com/u/hajario)\
**Post date:** [January 3, 2006, 7:49pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/3 "2006-01-03T19:49:55Z")

</div>

Put an apostrophe before it ('3E281)and Excel will read it as text.

---

<div class="post-metadata">

**Author:** ![F.U.Shakespeare](https://avatars.discourse-cdn.com/v4/letter/f/aca169/32.png) [@F.U.Shakespeare](https://boards.straightdope.com/u/F.U.Shakespeare)\
**Post date:** [January 3, 2006, 7:50pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/4 "2006-01-03T19:50:22Z")

</div>

Typing a space before it will also work. But I like **Q** ’s way better.

---

<div class="post-metadata">

**Author:** ![Seven](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Seven](https://boards.straightdope.com/u/Seven)\
**Post date:** [January 3, 2006, 8:12pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/5 "2006-01-03T20:12:59Z")

</div>

It is Excel 2002

It is interesting because this is an ID mixed in with a handful of others as a teb-delimited text file. I can’t figure out a way to stop this from happening when I open the file straight into Excel.

If I create a new worksheet, change the cell to text and enter the data, it does work fine. The problem is I’m not hand entering this stuff.

What causes this? What does Excel think this is?

---

<div class="post-metadata">

**Author:** ![hajario](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hajario/32/171_2.png) [@hajario](https://boards.straightdope.com/u/hajario)\
**Post date:** [January 3, 2006, 8:14pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/6 "2006-01-03T20:14:02Z")

</div>

Excel sees it as a number in scientific notation.

---

<div class="post-metadata">

**Author:** ![treis](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@treis](https://boards.straightdope.com/u/treis)\
**Post date:** [January 3, 2006, 8:25pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/7 "2006-01-03T20:25:07Z")

</div>

“number"E"number” is a abbreviation for "number_10^“number”. In your case 3E281 is read as 3_10^281.

---

<div class="post-metadata">

**Author:** ![CJJ](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@CJJ](https://boards.straightdope.com/u/CJJ)\
**Post date:** [January 3, 2006, 8:28pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/8 "2006-01-03T20:28:31Z")

</div>

> [@](#):
>
> It is interesting because this is an ID mixed in with a handful of others as a teb-delimited text file. I can’t figure out a way to stop this from happening when I open the file straight into Excel.

I just tried this with a large tab-delimited text file. Upon opening the file, the Text Import wizard starts. On the third page of the wizard–where you set the format of each column, highlight the column containing the IDs and change the format type to “text” using the “Column Format” radio buttons in the upper right-hand corner. All data in this column will then be treated as text. If you leave it as “general”, 3E281 is indeed stored as the number “3E+218”.

> [@](#):
>
> What causes this? What does Excel think this is?

“3E+218” is shorthand for the numeral “3 x 10^218”, the value represented by the digit 3 followed by 218 zeroes. Many computer programs store scientific numerical data in this way–using “E” to stand in to the multiplication by an exponent–since it is difficult for ASCII test to show exponents.

Scientific notation is a compact numerical way to handle very large or very small numbers, which come up quite commonly in scientific work.

---

<div class="post-metadata">

**Author:** ![CJJ](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@CJJ](https://boards.straightdope.com/u/CJJ)\
**Post date:** [January 3, 2006, 8:30pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/9 "2006-01-03T20:30:32Z")

</div>

> [@](#):
>
> It is interesting because this is an ID mixed in with a handful of others as a teb-delimited text file. I can’t figure out a way to stop this from happening when I open the file straight into Excel.

I just tried this with a large tab-delimited text file. Upon opening the file, the Text Import wizard starts. On the third page of the wizard–where you set the format of each column, highlight the column containing the IDs and change the format type to “text” using the “Column Format” radio buttons in the upper right-hand corner. All data in this column will then be treated as text. If you leave it as “general”, 3E281 is indeed stored as the number “3E+218”.

> [@](#):
>
> What causes this? What does Excel think this is?

“3E+218” is shorthand for the numeral “3 x 10^218”, the value represented by the digit 3 followed by 218 zeroes. Many computer programs store scientific numerical data in this way–using “E” to stand in to the multiplication by an exponent–since it is difficult for ASCII test to show exponents.

Scientific notation is a compact way to handle very large or very small numbers, which come up quite commonly in scientific work.

---

<div class="post-metadata">

**Author:** ![Danalan](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@Danalan](https://boards.straightdope.com/u/Danalan)\
**Post date:** [January 3, 2006, 8:33pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/10 "2006-01-03T20:33:36Z")

</div>

Excel has it’s roots in accounting, so it assumes that any valid number entered into a cell is meant to be a number. You have to delineate the entry as text with the apostrophe, or overall formatting as **CJJ** \* noted.

---

<div class="post-metadata">

**Author:** ![Seven](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Seven](https://boards.straightdope.com/u/Seven)\
**Post date:** [January 3, 2006, 8:36pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/11 "2006-01-03T20:36:20Z")

</div>

> [@CJJ\*](#):
>
> I just tried this with a large tab-delimited text file. Upon opening the file, the Text Import wizard starts. On the third page of the wizard–where you set the format of each column, highlight the column containing the IDs and change the format type to “text” using the “Column Format” radio buttons in the upper right-hand corner. All data in this column will then be treated as text. If you leave it as “general”, 3E281 is indeed stored as the number “3E+218”.
> 
> “3E+218” is shorthand for the numeral “3 x 10^218”, the value represented by the digit 3 followed by 218 zeroes. Many computer programs store scientific numerical data in this way–using “E” to stand in to the multiplication by an exponent–since it is difficult for ASCII test to show exponents.
> 
> Scientific notation is a compact numerical way to handle very large or very small numbers, which come up quite commonly in scientific work.

My copy of Excel just opens csv files without the option of importing.

I think I’ll just avoid Excel all together and process this data in Access.

**Thanks for the help all.**

---

<div class="post-metadata">

**Author:** ![Seven](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Seven](https://boards.straightdope.com/u/Seven)\
**Post date:** [January 3, 2006, 8:50pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/12 "2006-01-03T20:50:33Z")

</div>

Here’s something I just noticed. We have another ID that is **5E728** but it doesn’t format this one as scientific.

After a bit of playing it seems the second number after **E** has to be below 308 for Excel to auto-format the cell as scientific.

---

<div class="post-metadata">

**Author:** ![UncleRojelio](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/unclerojelio/32/3160_2.png) [@UncleRojelio](https://boards.straightdope.com/u/UncleRojelio)\
**Post date:** [January 3, 2006, 9:00pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/13 "2006-01-03T21:00:43Z")

</div>

> [@Seven](#):
>
> My copy of Excel just opens csv files without the option of importing.

Yes, but if you open a blank sheet and then use the import function, you will get the options that **CJJ** \* pointed out. Furthermore, there will be a button on the toolbar the allows you to ‘Update’ your data. Forever more you would be able to import your data at the click of a botton, do whatever it is you need to do to it, and then save it off to a file. No muss, no fuss.

---

<div class="post-metadata">

**Author:** ![Nanoda](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Nanoda](https://boards.straightdope.com/u/Nanoda)\
**Post date:** [January 3, 2006, 9:33pm UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/14 "2006-01-03T21:33:59Z")

</div>

I had this problem before, with Excel formatting certain serial numbers as dates. If you use the import function, and designate your columns to be text, it will work ok.  
Checking the document I wrote up about it (our clients have to do this sometimes), you use Data-\>Get External Data -\> Import Text File, make sure your delimiters are set right, and then force it to import the problem columns as text.

---

<div class="post-metadata">

**Author:** ![Terminus\_Est](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/terminus_est/32/3087_2.png) [@Terminus\_Est](https://boards.straightdope.com/u/Terminus_Est)\
**Post date:** [January 4, 2006, 12:06am UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/15 "2006-01-04T00:06:54Z")

</div>

> [@Seven](#):
>
> Here’s something I just noticed. We have another ID that is **5E728** but it doesn’t format this one as scientific.
> 
> After a bit of playing it seems the second number after **E** has to be below 308 for Excel to auto-format the cell as scientific.

1.7976931348623157 x 10[sup]308[/sup] is the upper limit of double-precision floating point numbers.

---

<div class="post-metadata">

**Author:** ![Terminus\_Est](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/terminus_est/32/3087_2.png) [@Terminus\_Est](https://boards.straightdope.com/u/Terminus_Est)\
**Post date:** [January 4, 2006, 12:27am UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/16 "2006-01-04T00:27:24Z")

</div>

> [@Seven](#):
>
> Here’s something I just noticed. We have another ID that is **5E728** but it doesn’t format this one as scientific.
> 
> After a bit of playing it seems the second number after **E** has to be below 308 for Excel to auto-format the cell as scientific.

Excel stores numbers as double-precision floating point. The upper limit is 1.7976931348623157 x 10[sup]308[/sup].

---

<div class="post-metadata">

**Author:** ![Terminus\_Est](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/terminus_est/32/3087_2.png) [@Terminus\_Est](https://boards.straightdope.com/u/Terminus_Est)\
**Post date:** [January 4, 2006, 12:28am UTC](https://boards.straightdope.com/t/why-cant-i-enter-3e281-in-an-excel-cell/338268/17 "2006-01-04T00:28:29Z")

</div>

Rats. How the heck did that happen?
