+ Reply to Thread
Results 1 to 6 of 6

[SOLVED] AVERAGEIF ignoring 0%

  1. #1
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    [SOLVED] AVERAGEIF ignoring 0%

    hi,

    column A contains months of the year, column Q contains percentage scores.

    I want the formula to look for a specific month and average the corresponding scores in column Q but ignore any 0% scores.

    I suck at nesting IF statements (if that's the correct solution) but this is what i have so far

    Please Login or Register  to view this content.
    I've been playing around with "<>0" but I can't get it to work properly, help?!
    Last edited by fabrecass; 06-10-2021 at 09:07 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: AVERAGEIF ignoring 0%

    =AVERAGEIFs($Q:$Q,$A:$A,"May",$q:$q,"<>0")
    Last edited by davsth; 06-10-2021 at 08:17 AM.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: AVERAGEIF ignoring 0%

    Try

    =AVERAGEIFS($Q:$Q,$A:$A,"May",$Q:$Q,"<>0" )

  4. #4
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: AVERAGEIF ignoring 0%

    Quote Originally Posted by davsth View Post
    =AVERAGEIFs($Q:$Q,$A:$A,"May",$q:$q,"<>0")
    I'm getting "you've entered too many arguments for this function".

    Does the fact that the formula will be on a different worksheet matter? Sorry I thought i was keeping it simple by removing the worksheets from the formula

    =AVERAGEIF('Alex Brown'!$Q:$Q,'Alex Brown'!$A:$A,"May",'Alex Brown'!$Q:$Q,"<>0")

    This is what I used based on your solution to get the "you've entered too many arguments for this function" error. Am I doing something stupid?

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: AVERAGEIF ignoring 0%

    look again, slightly stupid, but we all do it, you just missed an S, that's why the number column is now first. the same applies with countif(s) and sumif(s)
    =AVERAGEIFs($Q:$Q,$A:$A,"May",$q:$q,"<>0")

    =AVERAGEIFS('Alex Brown'!$Q:$Q,'Alex Brown'!$A:$A,"May",'Alex Brown'!$Q:$Q,"<>0")
    Last edited by davsth; 06-10-2021 at 08:51 AM.

  6. #6
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: AVERAGEIF ignoring 0%

    Thank you so much! worked perfectly. Knew I was doing something stupid.

+ 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. AverageIF ignoring empty cells
    By Konkol in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-08-2020, 07:07 PM
  2. [SOLVED] SUMIF, ignoring blanks and find earliest date ignoring blanks
    By Chris_Devon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2019, 10:16 AM
  3. AVERAGEIF and STDEV ignoring errors
    By sroh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-26-2015, 05:32 PM
  4. [SOLVED] Data Cleanup - ignoring blanks, ignoring rows with string values etc.
    By Huyaku in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2015, 08:17 AM
  5. AverageIF formula Ignoring Certain values
    By jvandermolen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2014, 11:52 AM
  6. [SOLVED] Averageif ignoring #N/A
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-07-2014, 10:26 PM
  7. [SOLVED] AVERAGEIF - Ignoring 0 values - It's supposed to but not doing it.
    By BeachRock in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2013, 11:57 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