specify number format

D

-D-

I have a column that requires 5 numbers:

I want to prefix with zeros any number that doesn't meet the required 5
digits.


Is there a way to format the column with this structure and in the future if
the file is modifed that it will automatically adjust the column, so that if
someone types in:

123 that the result would be 00123
or
1234 then the result would be 01234

How can I accomplish this?

Thank you.
 
D

dodong

-D- said:
I have a column that requires 5 numbers:

I want to prefix with zeros any number that doesn't meet the required 5
digits.


Is there a way to format the column with this structure and in the future if
the file is modifed that it will automatically adjust the column, so that if
someone types in:

123 that the result would be 00123
or
1234 then the result would be 01234

How can I accomplish this?

Thank you.
 
D

Dave Peterson

Select that column
Format|cells|Number tab|Custom category
type in: 00000
in the "Type:" box
 
D

dodong

Under format menu go to custom then under Type put 00000 then ok

this will give you what you want.

Regards,
Dodong
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top