Excel won't accept leading zero's

Robster61

New Member
Joined
May 16, 2009
Messages
5
Hi everyone, I am brand spanking new to this forum and a novice excel user. At my work we have Excel 2003 installed. I can use excel to upload my orders to my vendor. I thought I would try that today. I created a sheet which has as headings in the first row: Column 1 named SKU, Column 2 named Qty., and Column 3 named Retail. Some of my SKU numbers contain a leading zero(example 0035678). When I put in the leading zero and hit enter it drops the leading zero and now I only have a 6 digit SKU instead of a 7 digit SKU. The website will not accept the SKU because of that error. I have tried everything to format but to no avail. I am sure there is a way around this. Can anyone help? Thanks guys.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi, and welcome!
If you format the column as Text (select the column, choose Format-Cells from the menu, then on the Number tab, choose Text) before entering the data, you should keep your leading zeroes.
 
Upvote 0
Hi everyone, I am brand spanking new to this forum and a novice excel user. At my work we have Excel 2003 installed. I can use excel to upload my orders to my vendor. I thought I would try that today. I created a sheet which has as headings in the first row: Column 1 named SKU, Column 2 named Qty., and Column 3 named Retail. Some of my SKU numbers contain a leading zero(example 0035678). When I put in the leading zero and hit enter it drops the leading zero and now I only have a 6 digit SKU instead of a 7 digit SKU. The website will not accept the SKU because of that error. I have tried everything to format but to no avail. I am sure there is a way around this. Can anyone help? Thanks guys.
Welcome to the MrExcel board!

One way is to format the column a Text before entering the values.
 
Upvote 0
Hello and welcome to MrExcel.

Select the cells > Format > Cells > Custom > 0000000

Does that work?
 
Upvote 0
Wow. That was quick and also.......right! That did it for me. Thanks so much. I can see I will be using this forum quite a bit
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top