+ Reply to Thread
Results 1 to 7 of 7

need help getting rind of #DIV/0 erron on work book

  1. #1
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    need help getting rind of #DIV/0 erron on work book

    I have a work book that has an average if formula to calculate the average scores of audits completed in a week. problem is if an audit is not turned in on a week i get the #div/o error. I have attached a worsheet. please look in to secton c on the new accumulations tab...

    Audit Tracking.xlsx

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: need help getting rind of #DIV/0 erron on work book

    any specific reason why the array is from row 1052 to 2400?
    Audit Scores'!$C$1052:$C$2400
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: need help getting rind of #DIV/0 erron on work book

    use iferror formula
    =IFERROR(AVERAGEIFS('Audit Scores'!$D$1052:'Audit Scores'!$D$2400,'Audit Scores'!$C$1052:$C$2400,"A",'Audit Scores'!$A$1052:$A$2400,1),"")

    and why can't use dynamic formula for support
    instead of "A", use cell reference "U$2 and for "1" rows(V$3:V3)
    if you make these above changes in your formula you can copy the formula towards the down as well as towards the left

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: need help getting rind of #DIV/0 erron on work book

    use iferror formula
    =IFERROR(AVERAGEIFS('Audit Scores'!$D$1052:'Audit Scores'!$D$2400,'Audit Scores'!$C$1052:$C$2400,"A",Audit Scores'!$A$1052:$A$2400,1),"")

    and why can't use dynamic formula for support
    instead of "A", use cell reference "U$2 and for "1" rows(V$3:V3)
    if you make these above changes in your formula you can copy thleftmula towards the down as well as towards the right or left

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: need help getting rind of #DIV/0 erron on work book

    Try this, copied down. It also eliminates the need to manually adjust the number at the end....

    =IFERROR(AVERAGEIFS('Audit Scores'!$D$1052:'Audit Scores'!$D$2400,'Audit Scores'!$C$1052:$C$2400,"C",'Audit Scores'!$A$1052:$A$2400,ROW()-2),0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: need help getting rind of #DIV/0 erron on work book

    yes becuase i attend on using that many over the next couple months.

  7. #7
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: need help getting rind of #DIV/0 erron on work book

    or better than using using row, use the value in column T (which is week number)

    =IFERROR(AVERAGEIFS('Audit Scores'!$D$1052:$D$2400,'Audit Scores'!$C$1052:$C$2400,U$2,'Audit Scores'!$A$1052:$A$2400,$T3),0)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hyperlink within work book (without using book name)
    By raze in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2013, 12:49 AM
  2. Create PDF files from multiple work sheets in a single work book
    By erprasannaa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2012, 03:42 AM
  3. Replies: 2
    Last Post: 06-20-2012, 05:10 AM
  4. Extract data into a master work book by accessing various input work sheets/workbooks
    By kammariarun in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-08-2011, 05:10 PM
  5. Insert work book in another work book
    By aromaveda in forum Excel General
    Replies: 7
    Last Post: 01-11-2011, 02:33 PM

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