Help!

How can I have an initial zero in an Excel cell?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Excel General (archive) RSS
Next:  Please Need an Example!  
Author Message
ALupin
External


Since: Oct 31, 2005
Posts: 3



PostPosted: Mon Oct 31, 2005 7:59 am    Post subject: How can I have an initial zero in an Excel cell?
Archived from groups: microsoft>public>excel>misc (more info?)

I want to be able to enter times as eg 0845 but no matter what cell format I
use, there is a problem, either that the initial zero is lopped off or that I
am informed there is an error. Is there any way of solving this?
Back to top
bj
External


Since: Dec 23, 2004
Posts: 803



PostPosted: Mon Oct 31, 2005 8:15 am    Post subject: RE: How can I have an initial zero in an Excel cell? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

try
<format><cell><number><custom>
enter 0000
and you will get a four digit display with an initial display with a leading
zero.
Note this is not a time function

"ALupin" wrote:

> I want to be able to enter times as eg 0845 but no matter what cell format I
> use, there is a problem, either that the initial zero is lopped off or that I
> am informed there is an error. Is there any way of solving this?
Back to top
Hairy Hurdler
External


Since: Oct 31, 2005
Posts: 1



PostPosted: Mon Oct 31, 2005 11:57 am    Post subject: RE: How can I have an initial zero in an Excel cell? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I use Format, Cells, Number tab, select "Custom" format and select the "0"
just below "General"; then I add three zeros to the "0" displayed in "Type"
and this format is then available for use.

"bj" wrote:

> try
> <format><cell><number><custom>
> enter 0000
> and you will get a four digit display with an initial display with a leading
> zero.
> Note this is not a time function
>
> "ALupin" wrote:
>
> > I want to be able to enter times as eg 0845 but no matter what cell format I
> > use, there is a problem, either that the initial zero is lopped off or that I
> > am informed there is an error. Is there any way of solving this?
Back to top
ALupin
External


Since: Oct 31, 2005
Posts: 3



PostPosted: Mon Oct 31, 2005 1:06 pm    Post subject: RE: How can I have an initial zero in an Excel cell? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Brilliant, Hairy Hurdler - many, many thanks. This has been foxing me for
over a year!!

"Hairy Hurdler" wrote:

> I use Format, Cells, Number tab, select "Custom" format and select the "0"
> just below "General"; then I add three zeros to the "0" displayed in "Type"
> and this format is then available for use.
>
> "bj" wrote:
>
> > try
> > <format><cell><number><custom>
> > enter 0000
> > and you will get a four digit display with an initial display with a leading
> > zero.
> > Note this is not a time function
> >
> > "ALupin" wrote:
> >
> > > I want to be able to enter times as eg 0845 but no matter what cell format I
> > > use, there is a problem, either that the initial zero is lopped off or that I
> > > am informed there is an error. Is there any way of solving this?
Back to top
Argghhhh
External


Since: Nov 11, 2006
Posts: 1



PostPosted: Sat Nov 11, 2006 2:16 am    Post subject: RE: How can I have an initial zero in an Excel cell? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

BUT when you save the file and go back to it the number looks the same but
the format has changed from 0000 to Greek !! Anybody else had this problemo
? It screws the cell format for later merging to other documents I've found.

"bj" wrote:

> try
> <format><cell><number><custom>
> enter 0000
> and you will get a four digit display with an initial display with a leading
> zero.
> Note this is not a time function
>
> "ALupin" wrote:
>
> > I want to be able to enter times as eg 0845 but no matter what cell format I
> > use, there is a problem, either that the initial zero is lopped off or that I
> > am informed there is an error. Is there any way of solving this?
Back to top
pphread



Joined: Jun 10, 2009
Posts: 1



PostPosted: Wed Jun 10, 2009 7:56 am    Post subject: [Login to view extended thread Info.]

Simply format the cell. Select custom and type in hh:mm and click OK. DONE.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Excel General (archive) All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum