ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I display numbers beginning with zero? (https://www.excelbanter.com/excel-discussion-misc-queries/36043-how-can-i-display-numbers-beginning-zero.html)

CSMthePR

How can I display numbers beginning with zero?
 
Trying to make a document including ISBN numbers, some beginning with zero.
Excel changes the codes into number values, eliminating any zeros at the
beginning of codes. How can I override this? I tried Format Cells/ special -
no applicable option. Tried Format/ Cells/ Custom using ten zeros as the
format. No luck.

Bernard Liengme

Since these are not really numbers (some end with X), type ' before entering
ISNB. The apostrophe (single quote) will not show on worksheet or on
printout.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"CSMthePR" wrote in message
...
Trying to make a document including ISBN numbers, some beginning with
zero.
Excel changes the codes into number values, eliminating any zeros at the
beginning of codes. How can I override this? I tried Format Cells/
special -
no applicable option. Tried Format/ Cells/ Custom using ten zeros as the
format. No luck.




Duke Carey

The custom format should have worked. The problem is that that format
doesn't store the actual value with the leading zero(s), it simply displays
the value that way.

The best approach is to use the Text format. After you've applied that
format to the cells, you will need to re-enter the value, keying in the
leading zeros

Format|Cells|Number|Text


"CSMthePR" wrote:

Trying to make a document including ISBN numbers, some beginning with zero.
Excel changes the codes into number values, eliminating any zeros at the
beginning of codes. How can I override this? I tried Format Cells/ special -
no applicable option. Tried Format/ Cells/ Custom using ten zeros as the
format. No luck.


botany_girl

You could include the dashed in the ISBN number with the cells set up with
the "General" number format. If you enter the ISBN number into a cell with
"General" numbers format, with dashes included (i.e. 0-8165-1074-1), I've
found that the first zero is unaffected.
Otherwise, using the "Text" format from the Number format selection list
allows you to enter the numbers without dashes.

hope that helps.

"CSMthePR" wrote:

Trying to make a document including ISBN numbers, some beginning with zero.
Excel changes the codes into number values, eliminating any zeros at the
beginning of codes. How can I override this? I tried Format Cells/ special -
no applicable option. Tried Format/ Cells/ Custom using ten zeros as the
format. No luck.


CSMthePR

Thank you very much. All options work well. Text option is best for my
purposes.

"CSMthePR" wrote:

Trying to make a document including ISBN numbers, some beginning with zero.
Excel changes the codes into number values, eliminating any zeros at the
beginning of codes. How can I override this? I tried Format Cells/ special -
no applicable option. Tried Format/ Cells/ Custom using ten zeros as the
format. No luck.



All times are GMT +1. The time now is 08:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com