Excel Issue

We have a column in a spreadsheet that contains part numbers; in some cases they are, in fact, numbers. In many cases, they are alphanumeric.

Some of them have leading zeros; when the leading zero is added, Excel eliminates it because it thinks it is numeric & therefore not needed.

How can I prevent Excel from doing that?
Richard KortsAsked:
Who is Participating?
Steven HarrisConnect With a Mentor PresidentCommented:
The column needs to be formatted as Text.  It will accept whatever you type in it at face value.

If you are working on a sheet already with active data and cannot 'start over' by reformatting the entire column, do the following:

Select the first empty cell in the Column, use CTRL + SHIFT + down arrow to select all remaining cells in the column (downward) and change format to Text.
Shanan212Connect With a Mentor Commented:

Look in there. Select the column. Depending on the number of charactors, say max is 9.

Then press CTRL + 1
Under customs (as in above link) enter 000000000

Change it as you wish.
Martin LissConnect With a Mentor Older than dirtCommented:
Prepend a quote in front of it. In other words


becomes '000123

Or you can probably just format the column as Text rather than General as it probably is now.
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Martin LissOlder than dirtCommented:
Did any of the above help you?
Richard KortsAuthor Commented:
I have not had time to try these yet; other pressing issues, but I will.

Martin LissOlder than dirtCommented:
Sorry to be a pest but...
Martin LissOlder than dirtCommented:
You're welcome and I'm glad I was able to help.

Marty - MVP 2009 to 2013
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.