#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Displaying a zero

I had a column of numbers with dashes in between like this 08-188-22-33-0044.
I found and edited out the dashes so it looks like 818822330044. The
problem is that it removed the zeros at the beginning of the number and I
can't get them to display.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Displaying a zero

hi
to display leading zeros, you have to formate the number as text or lead it
with an apostophe. You can create a custom format to display a leading zero
on the screen but in the formula bar, it will not have the leading zero. and
if you copy, paste or export.....no leading zero. formating does not change
data, it just changes the way it looks on the screen.

regards
FSt1


"Tommy Kramer 9" wrote:

I had a column of numbers with dashes in between like this 08-188-22-33-0044.
I found and edited out the dashes so it looks like 818822330044. The
problem is that it removed the zeros at the beginning of the number and I
can't get them to display.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Displaying a zero

=SUBSTITUTE(A2,"-","")
--
David Biddulph

"Tommy Kramer 9" wrote in message
...
I had a column of numbers with dashes in between like this
08-188-22-33-0044.
I found and edited out the dashes so it looks like 818822330044. The
problem is that it removed the zeros at the beginning of the number and I
can't get them to display.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Displaying a zero

Add an apostrophe before the leading 0 before doing your EditReplace or
whatever editing you used.

Or if all numbers the same length, Custom Format to 0000000000000


Gord Dibben MS Excel MVP

On Tue, 15 Jan 2008 13:57:01 -0800, Tommy Kramer 9
wrote:

I had a column of numbers with dashes in between like this 08-188-22-33-0044.
I found and edited out the dashes so it looks like 818822330044. The
problem is that it removed the zeros at the beginning of the number and I
can't get them to display.


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
Not displaying a value KB Excel Discussion (Misc queries) 3 May 17th 07 08:54 PM
Would like help with displaying data if are a certain value is pre Adrian Excel Worksheet Functions 8 June 10th 06 06:47 PM
Displaying the Date #3 Henry Excel Worksheet Functions 2 March 7th 06 01:35 AM
Displaying a different value Mac Excel Discussion (Misc queries) 8 February 2nd 06 01:09 PM
Displaying #N/A as a zero kosciosco Excel Worksheet Functions 2 November 23rd 04 11:51 AM


All times are GMT +1. The time now is 01:12 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"