+ Reply to Thread
Results 1 to 9 of 9

div/0 error problem

  1. #1
    Registered User
    Join Date
    04-23-2009
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    7

    div/0 error problem

    Hello,

    I am new to this site. Need help with an Average b1:b10. The formula wont work because b5 has a div/o error. How do I make the average formula ignore this error.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: div/0 error problem

    fix the div0 perhaps so it returns 0
    but then your average will be out if you dont want to include 0 values anyway
    Last edited by martindwilson; 04-23-2009 at 04:35 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-23-2009
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: div/0 error problem

    I am getting the div/o error when I copy and paste...the formulas disapear and this causes a div/o error. why would the formulas disapear?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: div/0 error problem

    select the cell with div0 in whats in the formula bar?

  5. #5
    Registered User
    Join Date
    04-23-2009
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: div/0 error problem

    I am getting the div/o error when I copy and paste...the formulas disapear and this causes a div/o error. why would the formulas disapear?

  6. #6
    Registered User
    Join Date
    04-23-2009
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: div/0 error problem

    Its pulling the info from a different spreadsheet. And when I copy and paste that spreadsheet the formula disapears and leaves a blank which is causing the Div/o error.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: div/0 error problem

    whats the formula that disappears then?

  8. #8
    Registered User
    Join Date
    04-21-2009
    Location
    Melbourne,Australia
    MS-Off Ver
    Excel 2003,2007
    Posts
    34

    Re: div/0 error problem

    Try this array formula:

    Please Login or Register  to view this content.
    Don't type the curly braces - they are there to remind you that this is an array formula which means it returns results from many cells. When you put the formula in dont press Enter. Instead press Ctrl+Shift+Enter. You will see that Excel puts the curly braces around the formula when you do that.

  9. #9
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,008

    Re: div/0 error problem

    Hi subs23,

    I think you can attach a sample file for solving your problem faster.

+ 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