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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shanan212Commented:
http://www.techrepublic.com/blog/microsoft-office/entering-leading-zeroes-in-excel/?count=all&view=expanded

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.
0
Martin LissOlder than dirtCommented:
Prepend a quote in front of it. In other words

000123

becomes '000123

Or you can probably just format the column as Text rather than General as it probably is now.
0
Steven HarrisPresidentCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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

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

Marty - MVP 2009 to 2013
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.