Number Zero not displaying

adrian078

New Member
Joined
Sep 23, 2009
Messages
7
I have a file with some postcodes that start with the number zero. Each time I try to use a formula the zero is not shown in the result. I tried reformatting but can't find how to do this.

E.g. Cell A1 = "0800"
I use a formula B1 = A1 I get the result "800" instead of "0800"

Any ideas how to format it so it does show? The finished file needs to be CSV format.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Include a single quote mark (') at the begninning or change the cell format to "0000"
 
Upvote 0
Hi
First select the cells that you want to change format, press Ctrl+1 then choose Text and then try tipe your numbers (or press F2 if you have entered values before)
 
Upvote 0
I have a file with some postcodes that start with the number zero. Each time I try to use a formula the zero is not shown in the result. I tried reformatting but can't find how to do this.

E.g. Cell A1 = "0800"
I use a formula B1 = A1 I get the result "800" instead of "0800"

Any ideas how to format it so it does show? The finished file needs to be CSV format.
If the values are always 4 digits the try
=TEXT(A1,"0000")

If the number of digits can vary then try
=LEFT(A1,LEN(A1))
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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