+ Reply to Thread
Results 1 to 10 of 10

#DIV/O! error divided by zero

  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    Sutton, Quebec, Canada
    MS-Off Ver
    office 2007
    Posts
    37

    #DIV/O! error divided by zero

    Hi, I found another problem with my pool spreadsheet.

    In the Calculation worksheet, region P3:AU27 ;

    Within that table, it would be nice to have the formula's filled for the entire table but as it stands, I have to drag the formula every time we play, I'd like to lock that page so I don't make a mistake in it. Because I get an #DIV/0! error that screws up all the results.

    Is there a way to fill that table with the formula so I don't have to touch it and the results will be calculated properly?

    The function of the said table is to give the players their true average in percentage. It calculates the amount of points they accumulated individually everyday they played, compares to the total possible points in that day and returns an average.

    So to recapitulate, if I drag the formula's form " Calculations " " AI " to " AJ ", I'll get errors if there was no score entered in the Player DATA sheet. Any way to avoid this ?

    BTW, I'm using excel 2007.

    Thanks, Mike.
    Attached Files Attached Files
    Last edited by Diesel13; 01-21-2010 at 11:09 PM. Reason: Forgot to attach my work.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: #DIV/O! error divided by zero

    I think basicallly the structure you need is along the lines of...

    =IF(divisor cell="","",your_formula)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-19-2010
    Location
    Sutton, Quebec, Canada
    MS-Off Ver
    office 2007
    Posts
    37

    Re: #DIV/O! error divided by zero

    Something like this ?
    Please Login or Register  to view this content.
    entered in cell AJ3 ? and then dragged ?

    does not work, probably doing it wrong, not that good at excel.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: #DIV/O! error divided by zero

    Try

    =IF(BW28l="","",BW3/BW28)

  5. #5
    Registered User
    Join Date
    01-19-2010
    Location
    Sutton, Quebec, Canada
    MS-Off Ver
    office 2007
    Posts
    37

    Re: #DIV/O! error divided by zero

    #NAME?

    this is what I get

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: #DIV/O! error divided by zero

    Sorry...I've got fat fingers....

    =IF(BW28="","",BW3/BW28)

  7. #7
    Registered User
    Join Date
    01-19-2010
    Location
    Sutton, Quebec, Canada
    MS-Off Ver
    office 2007
    Posts
    37

    Re: #DIV/O! error divided by zero

    How does this look ?

    =IF(BW28="",BW3/BW28,"")

    seems to work testing as we speak

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: #DIV/O! error divided by zero

    Shouldn't it be as I showed?: =IF(BW28="","",BW3/BW28)

    This checks to see if BW28 is blank.. If it is, it will return a blank instead of an error. If it is not blank, then it will do the division.

    Would there be zeroes in BW28 or blanks? if zeroes, the replace the "" with 0..

  9. #9
    Registered User
    Join Date
    01-19-2010
    Location
    Sutton, Quebec, Canada
    MS-Off Ver
    office 2007
    Posts
    37

    Re: #DIV/O! error divided by zero

    Well, that does not give me errors but it does not calculate either . . .

  10. #10
    Registered User
    Join Date
    01-19-2010
    Location
    Sutton, Quebec, Canada
    MS-Off Ver
    office 2007
    Posts
    37

    Re: #DIV/O! error divided by zero

    YES !!!!!!!!

    You got it, works great, now, to re-do the entire table using this formula . . ..

    ah well, beggers can't be choosers.

    Thanks a lot, another problem solved.

    Mike.

+ 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