automatically prefix cell entry with leading zeros

G

Guest

Hi,

I am trying to setup a prefix where I have a set number starting out but
need to add additional numbers..

I have the format down to do that but is there a way to keep the leading
zeros displayed since some of the numbers I have start with zeros...

Example 123 is the set number and i want to add 00456...

correct result 123456
 
G

Guest

Use the text function, or set the column format to text.
with the function, change the 4 zeroes below to the number of digits there
will be
=TEXT(A1,"0000")
 

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