+ Reply to Thread
Results 1 to 4 of 4

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

  1. #1
    ALupin
    Guest

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

    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?

  2. #2
    bj
    Guest

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

    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?


  3. #3
    Hairy Hurdler
    Guest

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

    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?


  4. #4
    ALupin
    Guest

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

    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?


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1