Numbers as Text

F

Felix

I want to convert the number 12345678, etc. into Text with 10 digits, with
leading zeros, when necessary, i.e. 0012345678.

I first formatted the 8 digit number to a 10 digit one with the Format Cells
Dialog Box (0000000000) and then format it as Text. But whenever I do that,
the leading zeros get lost and the values remain numbers!

How can I format the Cells that the values remain "0000000000" (=text)

Felix
 
G

Gord Dibben

In a helper cell...............

=TEXT(12345678,"0000000000")

Or =TEXT(cellref,"0000000000")


Gord Dibben MS Excel MVP
 

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