formatting

  • Thread starter Thread starter jopla
  • Start date Start date
J

jopla

I have formatted a cell to have the following format:
#####-####-## (all numbers). This is a NDC number for a
specific drug. In many cases I need leading zeros - in
fact the first 4 numbers may be zeros. Excel ignores the
zeros and returns 78-0377-45, when it should be 00078-0377-
45.

Any ideas? Thanks for the help.
 
How about a format:

00000-0000-00
I have formatted a cell to have the following format:
#####-####-## (all numbers). This is a NDC number for a
specific drug. In many cases I need leading zeros - in
fact the first 4 numbers may be zeros. Excel ignores the
zeros and returns 78-0377-45, when it should be 00078-0377-
45.

Any ideas? Thanks for the help.
 

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

Back
Top