Leading Zero as value not appearance


Z

zyus

When i use formatting cell custom with 0000 i manage to add leading zero but
the problem is the leading zero only as appearance. Is it possible to make it
as value in the cell
 
Ad

Advertisements

M

Ms-Exl-Learner

Format the cell as Text.
Select the Range>>Do Right Click>>Format Cells>>Number>>Category>>Text and
give ok. Now input your leading zero value in the text formatted range.

But the Values are not treated as real numbers and it is considered as Text
Values.

Remember to Click Yes, if this post helps!
 
Ad

Advertisements

G

Gord Dibben

2 options.

You want value of 0123 in A1

Precede 0123 with an apostrophe.

OR in an adjacent cell =TEXT(A1,"0000")


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