Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 192
Default Leading 0's disappear

Ok, heres my dilema, I deal with a lot of serial numbers, many of which begin
with a 0, and well it is very time consuming to go through and enter '0
infront of all of them. Is there any way to turn off the auto-correct
feature that gets rid of leading zeros in my cells?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Leading 0's disappear

Let's say you have already entered data in A1:A10
Put in B1: ="0"&A1
Copy down to A10. Then copy B1:B10, paste over A1:A10 with a paste special
as values. This "restores" the leading zero to the data at one go. Clear
B1:B10.

For new data entries,
just pre-format the range as TEXT before you enter the data
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100 Files:360 Subscribers:56
xdemechanik
---
"Nick" wrote:
Ok, heres my dilema, I deal with a lot of serial numbers, many of which begin
with a 0, and well it is very time consuming to go through and enter '0
infront of all of them. Is there any way to turn off the auto-correct
feature that gets rid of leading zeros in my cells?

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,344
Default Leading 0's disappear

Hi,

First the answer to your question - no.

But besides concatenating a leading 0 as already suggested, you might be
able to handle your problem with a format. If 1. all entries are the same
length, say 5 characters, then you can create the custom format 00000. You
do this by choosing the command Format, Cells, Number tab, Custom and
entering 00000 on the Type line. 2. This method would also address the
problem if you wanted all numbers displaying 5 digits but some of them only
had 1 non-zero digit, such as "9". The above format would display as 00009.

--
Thanks,
Shane Devenshire


"Nick" wrote:

Ok, heres my dilema, I deal with a lot of serial numbers, many of which begin
with a 0, and well it is very time consuming to go through and enter '0
infront of all of them. Is there any way to turn off the auto-correct
feature that gets rid of leading zeros in my cells?

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
Gridlines disappear stucker Excel Discussion (Misc queries) 1 January 4th 08 04:59 PM
Links disappear Dave Links and Linking in Excel 4 February 4th 07 07:02 PM
How do I make it disappear? Ralphael1 New Users to Excel 1 October 12th 05 12:19 AM
New formula ## does not disappear Tink Excel Discussion (Misc queries) 1 June 9th 05 02:22 AM
Add-Ins disappear Gates72 Setting up and Configuration of Excel 0 December 2nd 04 04:06 PM


All times are GMT +1. The time now is 03:19 PM.

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"