Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Allowing a leading zero if there is one

I have looked & looked through all the postings about this subject and none
of them quite cover what I'm after.

I am trying to input Part Numbers in a spreadsheet. Some of the part
numbers are short - some are long. Some lead with a zero ... some do not.

How can I format the cells to display a zero if a zero is keyed in as the
FIRST digit??
--
Thanks in advance for any help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Allowing a leading zero if there is one

On Jun 26, 12:08 pm, RontheWrench
wrote:
I have looked & looked through all the postings about this subject and none
of them quite cover what I'm after.

I am trying to input Part Numbers in a spreadsheet. Some of the part
numbers are short - some are long. Some lead with a zero ... some do not.

How can I format the cells to display a zero if a zero is keyed in as the
FIRST digit??
--
Thanks in advance for any help!


Since they're part numbers, I assume you don't need to be able to
multiply with them and such. Therefore, I would recommend entering
them with a leading apostrophe. For example, '0550221 instead of
0550221. This will format your input as text and should preserve the
leading 0. The apostrophe will not be displayed.

Hope that helps,

Tim

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,202
Default Allowing a leading zero if there is one

I have looked & looked through all the postings about this subject and
none
of them quite cover what I'm after.

I am trying to input Part Numbers in a spreadsheet. Some of the part
numbers are short - some are long. Some lead with a zero ... some do
not.

How can I format the cells to display a zero if a zero is keyed in as the
FIRST digit??
--
Thanks in advance for any help!


Since they're part numbers, I assume you don't need to be able to
multiply with them and such. Therefore, I would recommend entering
them with a leading apostrophe. For example, '0550221 instead of
0550221. This will format your input as text and should preserve the
leading 0. The apostrophe will not be displayed.


Or, you could format the column as Text, then you won't need the apostrophe
(whatever you type in a cell will be what is displayed).

Rick

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
Allowing only 1 check box to be ticked Nadia Excel Discussion (Misc queries) 12 November 28th 09 10:55 PM
Allowing Data Entry ONLY??? mthespike Excel Worksheet Functions 1 June 29th 05 08:11 PM
Allowing only one entry in a range McKenna New Users to Excel 7 March 11th 05 04:56 PM
Allowing Macros in Excel Trevor Setting up and Configuration of Excel 1 February 18th 05 10:48 PM
Only Allowing Certain Codes In Column Buttercup Excel Discussion (Misc queries) 2 January 6th 05 09:32 PM


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