Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Teresa-Hot Iron
 
Posts: n/a
Default How do I type a # (01020) in Excel & have the 1st 0 stay?

I am trying to do a spread sheet in Excel that requires me to put in item
numbers that begin with the number 0. However, when I type in the # and hit
enter, the 0 goes away. How do I format the cells to keep the 0?
Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Domenic
 
Posts: n/a
Default How do I type a # (01020) in Excel & have the 1st 0 stay?

Precede the entry with a single quote...

'012345

Or format the cell as 'Text'.

Hope this helps!

In article ,
Teresa-Hot Iron <Teresa-Hot wrote:

I am trying to do a spread sheet in Excel that requires me to put in item
numbers that begin with the number 0. However, when I type in the # and hit
enter, the 0 goes away. How do I format the cells to keep the 0?
Thanks!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
Morrigan
 
Posts: n/a
Default How do I type a # (01020) in Excel & have the 1st 0 stay?


Change to cell to text format


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=527321

  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default How do I type a # (01020) in Excel & have the 1st 0 stay?

Precede the entry with apostrophe ' or format as text, if you always want
the same number of digits you can use a custom format
(formatcellsnumbercustom)

00000

for 5 digits


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Teresa-Hot Iron" <Teresa-Hot wrote in
message ...
I am trying to do a spread sheet in Excel that requires me to put in item
numbers that begin with the number 0. However, when I type in the # and
hit
enter, the 0 goes away. How do I format the cells to keep the 0?
Thanks!!



  #5   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default How do I type a # (01020) in Excel & have the 1st 0 stay?

Generally, the easiest way is to format the input cells as text:

Select the cells
<Format<Cells<Number tab
Category: TEXT
Click the [OK] button

OR

If you prefix the entry with an apostrophe ('), Excel will treat the entry
as text.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Teresa-Hot Iron" wrote:

I am trying to do a spread sheet in Excel that requires me to put in item
numbers that begin with the number 0. However, when I type in the # and hit
enter, the 0 goes away. How do I format the cells to keep the 0?
Thanks!!



  #6   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default How do I type a # (01020) in Excel & have the 1st 0 stay?

You have two options

I. Enter the numbers with an apostrophe at the beginning. This will force
the cell to be text.
Example:
entering '01234 will result in 01234
Actually the cell will equal the text string "01234". "01234" does not
equal 1234.

II. Enter a custom number format using zeros to signifie the number of
digits. This will keep the cell as a number and show leading zeros.
Example:
Using a format of
00000
entering 123 will result in 00123. The value of the cell will equal the
number 123 but will show as with the leading zeros (ie 00123).

I hope this helps.

"Teresa-Hot Iron" wrote:

I am trying to do a spread sheet in Excel that requires me to put in item
numbers that begin with the number 0. However, when I type in the # and hit
enter, the 0 goes away. How do I format the cells to keep the 0?
Thanks!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Excel x,y chart type x range must be re-entered each series Thomas R. Glass Charts and Charting in Excel 1 February 8th 06 11:23 PM
type mismatch on saving excel calculation mode via VB app Ken Shaffer Excel Discussion (Misc queries) 3 November 2nd 05 01:51 PM
Can't start Excel based on File Type Stuart Excel Discussion (Misc queries) 7 October 21st 05 07:17 PM


All times are GMT +1. The time now is 05:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"