Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
QV QV is offline
external usenet poster
 
Posts: 1
Default A zero as a first digit

How can I get in a cell a zero as a first digit, for instance 01102008?
I'm using Excel 97. Thanks in advance!
QV
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default A zero as a first digit

I cannot test it in Excel 97 but maybe some of the methods available in Excel
2003 work also in 97.

1. Format cell like text.
2. Put an apostrophe (') before digits: '01102008
3. If all cells are of the same length (say 8 digits) then custom format
cells with format code "00000000" (8 zero digits)

Regards,
Stefi

€˛QV€¯ ezt Ć*rta:

How can I get in a cell a zero as a first digit, for instance 01102008?
I'm using Excel 97. Thanks in advance!
QV

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

To add to Stefi's reply number 1, the cell needs to be formatted as text
*before* you enter the number. Once Excel has stored the data as a number,
rather than text, then reformatting the cell subsequently as text won't
retrieve the leading zeroes which have already been lost.
--
David Biddulph

"Stefi" wrote in message
...
I cannot test it in Excel 97 but maybe some of the methods available in
Excel
2003 work also in 97.

1. Format cell like text.
2. Put an apostrophe (') before digits: '01102008
3. If all cells are of the same length (say 8 digits) then custom format
cells with format code "00000000" (8 zero digits)

Regards,
Stefi

"QV" ezt ķrta:

How can I get in a cell a zero as a first digit, for instance 01102008?
I'm using Excel 97. Thanks in advance!
QV



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default A zero as a first digit

Thanks David for your correcting!
Stefi


€˛David Biddulph€¯ ezt Ć*rta:

To add to Stefi's reply number 1, the cell needs to be formatted as text
*before* you enter the number. Once Excel has stored the data as a number,
rather than text, then reformatting the cell subsequently as text won't
retrieve the leading zeroes which have already been lost.
--
David Biddulph

"Stefi" wrote in message
...
I cannot test it in Excel 97 but maybe some of the methods available in
Excel
2003 work also in 97.

1. Format cell like text.
2. Put an apostrophe (') before digits: '01102008
3. If all cells are of the same length (say 8 digits) then custom format
cells with format code "00000000" (8 zero digits)

Regards,
Stefi

"QV" ezt Ć*rta:

How can I get in a cell a zero as a first digit, for instance 01102008?
I'm using Excel 97. Thanks in advance!
QV




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
Convert 2 digit month to 4 digit years and months BB Excel Worksheet Functions 2 September 17th 06 09:33 PM
Color a single digit in a mult-digit number cell Phyllis Excel Discussion (Misc queries) 6 November 17th 05 12:46 AM
How do I identify the 7th digit in a 13 digit number, then establi Catherine Excel Worksheet Functions 7 April 4th 05 06:11 PM
Tell users how to sort 5 digit and 9 digit zipcodes correctly aft. [email protected] New Users to Excel 1 February 18th 05 12:59 AM
When we enter a 16 digit number (credit card) the last digit chan. ceking Excel Discussion (Misc queries) 5 December 8th 04 11:45 PM


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