+ Reply to Thread
Results 1 to 5 of 5

AAArgh, can I display a blank cell if the formula value doesn't co

Hybrid View

  1. #1
    Matt
    Guest

    AAArgh, can I display a blank cell if the formula value doesn't co

    I could probably find the answer to this question if I only new the right
    terms to search by. My problem is I have a sheet where I have values in
    cells b3 through m3. I then average those values in cell n3. I have
    multiple(many) rows so I dragged this formula down to the bottom. The
    problem is that for any rows where I don't have data in the b through m cells
    the cell(n3) displays #DIV/0!. Is there a way to write the formula so that
    it will be blank unless data is entered into b3 through m3? This is really
    only a cosmetic issue as I could easily delete those formulas where I don't
    yet have data and drag them in when I do but that isn't the most elegant
    solution.

    Any help?

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

    =IF(ISERR(your formula),"",your formula)

  3. #3
    Elkar
    Guest

    RE: AAArgh, can I display a blank cell if the formula value doesn't co

    Try this:

    =IF(ISERROR(formula),"",formula)

    Replace the word formula with whatever formula you're currently using.

    HTH,
    Elkar


    "Matt" wrote:

    > I could probably find the answer to this question if I only new the right
    > terms to search by. My problem is I have a sheet where I have values in
    > cells b3 through m3. I then average those values in cell n3. I have
    > multiple(many) rows so I dragged this formula down to the bottom. The
    > problem is that for any rows where I don't have data in the b through m cells
    > the cell(n3) displays #DIV/0!. Is there a way to write the formula so that
    > it will be blank unless data is entered into b3 through m3? This is really
    > only a cosmetic issue as I could easily delete those formulas where I don't
    > yet have data and drag them in when I do but that isn't the most elegant
    > solution.
    >
    > Any help?


  4. #4
    Matt
    Guest

    RE: AAArgh, can I display a blank cell if the formula value doesn'

    Thanks to both of you that worked.

    "Elkar" wrote:

    > Try this:
    >
    > =IF(ISERROR(formula),"",formula)
    >
    > Replace the word formula with whatever formula you're currently using.
    >
    > HTH,
    > Elkar
    >
    >
    > "Matt" wrote:
    >
    > > I could probably find the answer to this question if I only new the right
    > > terms to search by. My problem is I have a sheet where I have values in
    > > cells b3 through m3. I then average those values in cell n3. I have
    > > multiple(many) rows so I dragged this formula down to the bottom. The
    > > problem is that for any rows where I don't have data in the b through m cells
    > > the cell(n3) displays #DIV/0!. Is there a way to write the formula so that
    > > it will be blank unless data is entered into b3 through m3? This is really
    > > only a cosmetic issue as I could easily delete those formulas where I don't
    > > yet have data and drag them in when I do but that isn't the most elegant
    > > solution.
    > >
    > > Any help?


  5. #5
    Dave Peterson
    Guest

    Re: AAArgh, can I display a blank cell if the formula value doesn't co

    Another way is to look at the quantity of numbers in that range:

    =if(count(b3:m3)=0,"No numbers",average(b3:m3))





    Matt wrote:
    >
    > I could probably find the answer to this question if I only new the right
    > terms to search by. My problem is I have a sheet where I have values in
    > cells b3 through m3. I then average those values in cell n3. I have
    > multiple(many) rows so I dragged this formula down to the bottom. The
    > problem is that for any rows where I don't have data in the b through m cells
    > the cell(n3) displays #DIV/0!. Is there a way to write the formula so that
    > it will be blank unless data is entered into b3 through m3? This is really
    > only a cosmetic issue as I could easily delete those formulas where I don't
    > yet have data and drag them in when I do but that isn't the most elegant
    > solution.
    >
    > Any help?


    --

    Dave Peterson

+ 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