Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default How do I keep the zeros...I need the numbe to be 0005...not 5?!?!

I have a catalog with product numbers that need to have the zeros infront of
the number...(ex 0244, 0017,0021) how do I set up my document to reflect that?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 118
Default How do I keep the zeros...I need the numbe to be 0005...not 5?!?!

Hi Karla
Either put an apostrophe before the number
OR
Format the cell as text.
Formating as text works great, but remember that you won't be abe to use
maths on it if it is text.

HTH
Michael M

"Karla" wrote:

I have a catalog with product numbers that need to have the zeros infront of
the number...(ex 0244, 0017,0021) how do I set up my document to reflect that?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 299
Default How do I keep the zeros...I need the numbe to be 0005...not 5?!?!

If there are always 4 digits you can use formatcellsnumbercustom and use
0000
otherwise precede entries with an apostrophe '
that way it is seen as text and the apostrophe is not visible in the cell
You can also preformat the cells as text but I would not recommend that in
case you pout a formula in one of those cells
since it would just return the text string


--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)


"Karla" wrote in message
...
I have a catalog with product numbers that need to have the zeros infront
of
the number...(ex 0244, 0017,0021) how do I set up my document to reflect
that?



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
Keep Lead Zeros Laury Excel Discussion (Misc queries) 6 April 13th 06 04:28 PM
Leading Zeros Karen Excel Discussion (Misc queries) 3 January 10th 06 09:50 PM
Spliting a number with leading zeros haitch2 Excel Discussion (Misc queries) 7 September 30th 05 12:09 AM
Creating formulas that allow the solutions to start with zeros. mevans Excel Discussion (Misc queries) 2 July 20th 05 05:00 PM
How do I force leading zeros in an Excel cell? EricKei Excel Discussion (Misc queries) 2 June 15th 05 08:28 PM


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

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

About Us

"It's about Microsoft Excel"