+ Reply to Thread
Results 1 to 6 of 6

How do I make a cell appear empty when the formula = 0?

  1. #1
    t1202
    Guest

    How do I make a cell appear empty when the formula = 0?

    If the answer to the formula is 0, how can I make it just show the cell as
    empty instead of actually putting a 0 in the cell?

  2. #2
    Dave Peterson
    Guest

    Re: How do I make a cell appear empty when the formula = 0?

    =if(yourformulahere=0,"",yourformulahere)



    t1202 wrote:
    >
    > If the answer to the formula is 0, how can I make it just show the cell as
    > empty instead of actually putting a 0 in the cell?


    --

    Dave Peterson

  3. #3
    Alan
    Guest

    Re: How do I make a cell appear empty when the formula = 0?

    In say A1
    =IF(B1+B2=0,"",B1+B2)
    Regards,
    Alan
    "t1202" <[email protected]> wrote in message
    news:[email protected]...
    > If the answer to the formula is 0, how can I make it just show the cell as
    > empty instead of actually putting a 0 in the cell?




  4. #4
    bigwheel
    Guest

    RE: How do I make a cell appear empty when the formula = 0?

    Either use a formula like =IF(B1-C1=0,"",B1-C1) or surpress all zeros with
    Tools>Options>View and uncheck the Zero Values box

    "t1202" wrote:

    > If the answer to the formula is 0, how can I make it just show the cell as
    > empty instead of actually putting a 0 in the cell?


  5. #5
    Jay
    Guest

    Re: How do I make a cell appear empty when the formula = 0?

    > If the answer to the formula is 0, how can I make it just show the
    > cell as empty instead of actually putting a 0 in the cell?


    One way:
    Tools >> Options >> View
    And un-check "zero values."

    Another way:
    Format >> Conditional formatting
    and set the font color to the background color when a cell is zero.

    Another way:
    =IF( <formula>=0, "", <formula> )

    Another way:
    Format >> Cells>> Number >> Custom
    And put the following for Type:
    ###;-###;""

    (I have Excel 97.)

  6. #6
    Earl Kiosterud
    Guest

    Re: How do I make a cell appear empty when the formula = 0?

    Jay,

    This is a nit, but the pair of quotes isn't really needed, as long as the
    second semicolon is there.
    ###;-###;
    --
    Earl Kiosterud
    mvpearl omitthisword at verizon period net
    -------------------------------------------

    "Jay" <[email protected]> wrote in message
    news:[email protected]...
    >> If the answer to the formula is 0, how can I make it just show the
    >> cell as empty instead of actually putting a 0 in the cell?

    >
    > One way:
    > Tools >> Options >> View
    > And un-check "zero values."
    >
    > Another way:
    > Format >> Conditional formatting
    > and set the font color to the background color when a cell is zero.
    >
    > Another way:
    > =IF( <formula>=0, "", <formula> )
    >
    > Another way:
    > Format >> Cells>> Number >> Custom
    > And put the following for Type:
    > ###;-###;""
    >
    > (I have Excel 97.)




+ 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