Zero suppression.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My intention is to retain the leading zeros of a number while entering the same in a cell. For Ex: 0010000 gets converted to 100000. i dont want this to happen. Any suggestions?
 
Hi

Format the cell as Custom "0000000" (the number of zeros determines to which
length are leading zeros added).

Or enter your numbers as text (you can't use them in calculations then
without converting them before). To enter numbers as text:
format the range/column as text;
or
preceed your entry with apostrophe, p.e. '0010000


--
Arvi Laanemets
(When sending e-mail, use address arvil<At>tarkon.ee)



Vicky said:
My intention is to retain the leading zeros of a number while entering the
same in a cell. For Ex: 0010000 gets converted to 100000. i dont want this
to happen. Any suggestions?
 
My intention is to retain the leading zeros of a number while
entering the same in a cell. For Ex: 0010000 gets converted
to 100000. i dont want this to happen. Any suggestions?

If you know how many places you want to keep, try using a Custom
format string. Click Format / Cells, Number tab, Category = Custom.

Use one 0 (zero) in the "Type" window for each place.

Or format the cell as "Text"
 

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