1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Windows Excel Gurus? How to make cells blank when no data present.

Discussion in 'Software' started by pete*, 28 Mar 2015.

  1. pete*

    pete* Something witty here.

    Joined:
    29 Apr 2009
    Posts:
    1,034
    Likes Received:
    63
    Hi all,

    Pretty newbie question here about excel.
    Basically I have a table which I am working out a load of percentages
    and because it isn't all filled in I get the DIV/0! errors or ## everywhere
    unless I enter some data.
    What formula can I put to make it blank until I enter date into the relevant boxes.
    Screenies incoming.

    Formula for the far right V4 for example is, =AVERAGE(D4:Q4).
    As you can see in V12 etc, it shows errors if there is nothing in the cells.
    I've tried googling but they all use different equations to decide what to do, not what i'm trying. Geez I hate maths and formulas!

    Does anyone know what I should put? Basically, if there is no data I want
    the cell blank, then when I input data, it shows the correct figures (like it does now).

    Thanks in advance :)

    Pete

    [​IMG]
     
    Last edited: 28 Mar 2015
  2. wolfticket

    wolfticket Downwind from the bloodhounds

    Joined:
    19 Apr 2008
    Posts:
    3,556
    Likes Received:
    646
  3. pete*

    pete* Something witty here.

    Joined:
    29 Apr 2009
    Posts:
    1,034
    Likes Received:
    63
    Thank you! I am so thick.
     
  4. pete*

    pete* Something witty here.

    Joined:
    29 Apr 2009
    Posts:
    1,034
    Likes Received:
    63
    Right, so that worked a treat. However, now I have a problem that where I need to use the damn spreadsheet,
    has an older Excel. That doesn't work with IFERROR and some other things.
    Needs to save as a 97-2093 workbook, but it gives me warnings about it not working, which it doesn't work properly. :(

    What formula can I use to replace the IFERROR I have been using?

    Also, it seems it will mess up the Cond. Formatting - so when it goes above/below values
    it won't change colour etc as it should - I asssume that is what will be lost? But it doesn't help much. When I click find it just highlights all the cells with formulas in, which I obviously know are the culprits. But how can I get around this without losing the functions?
    Anyone know?

    Cheers

    [​IMG]
     
  5. RichCreedy

    RichCreedy Hey What Who

    Joined:
    24 Apr 2009
    Posts:
    4,698
    Likes Received:
    172
    save as the newer version, get anyone who needs to open them to get the office compatibility pack? linky
     
  6. Dae314

    Dae314 What's a Dremel?

    Joined:
    3 Sep 2010
    Posts:
    988
    Likes Received:
    61
    Tell me if I'm being stupid, but what if you just did this?

    =IF(SUM($D4:$Q4)=0, 0, AVERAGE($D4:$Q4))

    I suggest you use 0 in this formula instead of "" because if you have an entry that's all 0's you still want the correct answer.
     
  7. wolfticket

    wolfticket Downwind from the bloodhounds

    Joined:
    19 Apr 2008
    Posts:
    3,556
    Likes Received:
    646
    Last edited: 30 Mar 2015

Share This Page