Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default incrementing numbers with preceeding zeros

How do I get incrementing numbers with prececing zero's. e.g. 001, 002, etc.
e.g for printing ticket numbers. I can't find a cell format that suits. Is
there a format or formula. I can't do it in page no's in word either.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default incrementing numbers with preceeding zeros

Format as 000.
--
David Biddulph

"cristo" wrote in message
...
How do I get incrementing numbers with prececing zero's. e.g. 001, 002,
etc.
e.g for printing ticket numbers. I can't find a cell format that suits. Is
there a format or formula. I can't do it in page no's in word either.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default incrementing numbers with preceeding zeros

As David said, you can format the cell as 000. However, that will not
change the value in the cell. It will only pad the zeros via
formatting to make it appear as though they are truly in the cell. A
Text formula such as below will actually place the zeros in front of
your data. Of course, the formula would be what's really in the cell
unless you do a Copy--Paste Special--Values.
=TEXT(A2,"000")

cristo wrote:
How do I get incrementing numbers with prececing zero's. e.g. 001, 002, etc.
e.g for printing ticket numbers. I can't find a cell format that suits. Is
there a format or formula. I can't do it in page no's in word either.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default incrementing numbers with preceeding zeros

hi cristo.
try vith a personalized format 000
eliano

"cristo" wrote:

How do I get incrementing numbers with prececing zero's. e.g. 001, 002, etc.
e.g for printing ticket numbers. I can't find a cell format that suits. Is
there a format or formula. I can't do it in page no's in word either.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default incrementing numbers with preceeding zeros

Preformat using a custom format like 000 then put 1 in the first cell and
right click lower right corner and drag down the formula and select fill
series when you release the mouse or simply format as text and put 001 in a
cell then copy it down


--


Regards,


Peo Sjoblom



"cristo" wrote in message
...
How do I get incrementing numbers with prececing zero's. e.g. 001, 002,
etc.
e.g for printing ticket numbers. I can't find a cell format that suits. Is
there a format or formula. I can't do it in page no's in word either.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default incrementing numbers with preceeding zeros

hi,
If you are going to be printing the numbers with preceeding zeros then you
will have to format the numbers to text. otherwise the preceeding zeros will
not print.
you can set a custom number format to show the preceeding zeros ON the sheet
but mathmaticly speaking, preceeding zeros on a number are not necessary
which is why excel knocks them off. having the numbers formated as text (or
preceeded with an apostrophe ( ' )) is the only way you can show AND print
the preceeding zeros.
yeah i know....seems weird. but as i have told people in the past. when
dealing with a computer, human logic goes out the window. the only logic that
applies is computer logic.
regards
FSt1

"cristo" wrote:

How do I get incrementing numbers with prececing zero's. e.g. 001, 002, etc.
e.g for printing ticket numbers. I can't find a cell format that suits. Is
there a format or formula. I can't do it in page no's in word either.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default incrementing numbers with preceeding zeros

"FSt1" wrote in message
...
If you are going to be printing the numbers with preceeding zeros then you
will have to format the numbers to text. otherwise the preceeding zeros
will
not print.


Yes they will in exactly the same way as the currency symbol prints even
although it is not really there.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"FSt1" wrote in message
...
hi,
If you are going to be printing the numbers with preceeding zeros then you
will have to format the numbers to text. otherwise the preceeding zeros
will
not print.
you can set a custom number format to show the preceeding zeros ON the
sheet
but mathmaticly speaking, preceeding zeros on a number are not necessary
which is why excel knocks them off. having the numbers formated as text
(or
preceeded with an apostrophe ( ' )) is the only way you can show AND print
the preceeding zeros.
yeah i know....seems weird. but as i have told people in the past. when
dealing with a computer, human logic goes out the window. the only logic
that
applies is computer logic.
regards
FSt1

"cristo" wrote:

How do I get incrementing numbers with prececing zero's. e.g. 001, 002,
etc.
e.g for printing ticket numbers. I can't find a cell format that suits.
Is
there a format or formula. I can't do it in page no's in word either.




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default incrementing numbers with preceeding zeros

No need for a formula, just format as text will do


--


Regards,


Peo Sjoblom



"JW" wrote in message
ups.com...
As David said, you can format the cell as 000. However, that will not
change the value in the cell. It will only pad the zeros via
formatting to make it appear as though they are truly in the cell. A
Text formula such as below will actually place the zeros in front of
your data. Of course, the formula would be what's really in the cell
unless you do a Copy--Paste Special--Values.
=TEXT(A2,"000")

cristo wrote:
How do I get incrementing numbers with prececing zero's. e.g. 001, 002,
etc.
e.g for printing ticket numbers. I can't find a cell format that suits.
Is
there a format or formula. I can't do it in page no's in word either.




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default incrementing numbers with preceeding zeros

On Sep 24, 5:09 pm, "Peo Sjoblom" wrote:
No need for a formula, just format as text will do

--

Regards,

Peo Sjoblom

"JW" wrote in message

ups.com...

As David said, you can format the cell as 000. However, that will not
change the value in the cell. It will only pad the zeros via
formatting to make it appear as though they are truly in the cell. A
Text formula such as below will actually place the zeros in front of
your data. Of course, the formula would be what's really in the cell
unless you do a Copy--Paste Special--Values.
=TEXT(A2,"000")


cristo wrote:
How do I get incrementing numbers with prececing zero's. e.g. 001, 002,
etc.
e.g for printing ticket numbers. I can't find a cell format that suits.
Is
there a format or formula. I can't do it in page no's in word either.


Yes, formatting as text will work. But I have seen far too many cases
where the cell "magically" reformatted itself back into a number.

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
how can I use preceeding zeros and data validation in Excel? Tropical Excel Discussion (Misc queries) 3 March 21st 07 09:57 PM
EXCEL DROPS OFF ALL ZEROS PRECEEDING A NUMBER ARTHURG Excel Discussion (Misc queries) 3 July 25th 06 06:10 AM
how do i format cells with preceeding zeros & minus sign Homer Excel Worksheet Functions 2 May 31st 06 04:02 PM
Concatenate and keep preceeding zeros Wrkn4alivn Excel Worksheet Functions 2 February 16th 06 11:32 PM
how do I add preceeding zeros clarkld Excel Worksheet Functions 4 November 26th 04 09:49 PM


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