+ Reply to Thread
Results 1 to 7 of 7

Replace #DIV/0! with "0" in Averageifs function results

  1. #1
    Registered User
    Join Date
    11-25-2009
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    30

    Replace #DIV/0! with "0" in Averageifs function results

    Hello.

    I am using the AVERAGEIFS function to average multiple percentages in a column by rep. I have tried to embed the IFERROR funnction which in turn gives me a #N/A. Not sure what I am doing wrong. I have attached the spreadsheet for review. Can anyone assist?

    Thanks,
    Attached Files Attached Files
    Last edited by nickelcell1; 05-12-2010 at 02:09 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Replace #DIV?0! with "0" in Averageifs function results

    B2 and down: =IFERROR(AVERAGEIFS('OA Stack Ranking Detail'!$I:$I, 'OA Stack Ranking Detail'!$C:$C, 'Stk Rank Avgs'!$A2, 'OA Stack Ranking Detail'!$B:$B, B$1), 0)

    C2 and down: =IFERROR(AVERAGEIFS('OA Stack Ranking Detail'!$I:$I, 'OA Stack Ranking Detail'!$C:$C, 'Stk Rank Avgs'!$A2, 'OA Stack Ranking Detail'!$B:$B, C$1), 0)

    Delete unused rows and columns, and your workbook shrinks 1000:1.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Replace #DIV?0! with "0" in Averageifs function results

    nickelcell,

    the Development Testing Forum is for testing, not for asking questions. Please select an appropriate forum before starting a new thread.

    Moved to Excel Worksheet Functions.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Replace #DIV?0! with "0" in Averageifs function results

    Sorry for not noticing, T.

  5. #5
    Registered User
    Join Date
    11-25-2009
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Replace #DIV?0! with "0" in Averageifs function results

    My apologie teylyn. I didn't realize i was in the incorrect category. Thank you for letting me know.

    Thank you shg the function worked great. I guess there is nothing else I need to do here, correct? Like apply "Solved" or anything?
    Last edited by nickelcell1; 05-06-2010 at 12:26 PM.

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Replace #DIV?0! with "0" in Averageifs function results

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  7. #7
    Registered User
    Join Date
    11-25-2009
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Replace #DIV/0! with "0" in Averageifs function results

    Thanks all! Working well!

+ 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