+ Reply to Thread
Results 1 to 4 of 4

Need cell to display 0 when target cell is empty

  1. #1
    Registered User
    Join Date
    07-25-2011
    Location
    Connecticut
    MS-Off Ver
    Excel 2003
    Posts
    4

    Need cell to display 0 when target cell is empty

    So I've created a simple excel spreadsheet that gives you the sizes of certain parts according to the overall dimensions entered into the WIDTH and HEIGHT fields. The problem I am having is when I clear the WIDTH and HEIGHT fields, I get the base formulas displayed in the right hand side and I really want 0 or nothing at all to be displayed in these fields. I've formatted the cells to display fractions which I've never done before so I'm not sure if this has anything to with it. My guess is I need some kind of if then statement but I am not sure. Can someone help me out with this? Thanks.
    Attached Files Attached Files
    Last edited by Cutter; 08-14-2012 at 09:51 PM. Reason: Amended title

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Help with a fomula

    Hello SlipNot.

    Thanks for amending your thread title.
    Last edited by Cutter; 08-14-2012 at 09:55 PM. Reason: Removed request for title change

  3. #3
    Registered User
    Join Date
    07-25-2011
    Location
    Connecticut
    MS-Off Ver
    Excel 2003
    Posts
    4

    Need cell to display 0 when target cell is empty.

    So I've created a simple excel spreadsheet that gives you the sizes of certain parts according to the overall dimensions entered into the WIDTH and HEIGHT fields. The problem I am having is when I clear the WIDTH and HEIGHT fields, I get the base formulas displayed in the right hand side and I really want 0 or nothing at all to be displayed in these fields. I've formatted the cells to display fractions which I've never done before so I'm not sure if this has anything to with it. My guess is I need some kind of if then statement but I am not sure. Can someone help me out with this? Thanks.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Need cell to display 0 when target cell is empty

    Using a simple IF statement..

    =IF(B3="","",Your_formula)
    and
    =IF(D3="","",Your_formula)

    See attached updated for Group 1
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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