+ Reply to Thread
Results 1 to 4 of 4

AVERAGEIFS using multiple ranges and multiple criteria

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    2

    AVERAGEIFS using multiple ranges and multiple criteria

    I have sorted through several posts on this topic, none of which I have had success with, I'm hoping someone can give me some clear direction on this one. I would like an average of a range of cells where multiple criteria must be met, including one range with two different criteria options.

    To summarize:

    Here is what I would like in cell J14:

    - The average of cells D30:D213, IF D30:D213>0, IF P30:P213<=J10, IF Q30:Q213=0 OR >H10

    I have had success with =AVERAGEIFS(D30:D213, D30:D213, ">0", P30:P213, "<="&J10, Q30:Q213, "=0"), but this formula does not include Q30:Q213>H10 criteria.


    Thanks!
    Last edited by LindsayS; 04-03-2013 at 11:07 AM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: AVERAGEIFS using multiple ranges and multiple criteria

    Try this array formula**:

    =AVERAGE(IF(D30:D213>0,IF(P30:P213<=J10,IF((Q30:Q213=0)+(Q30:Q213>H10),D30:D213))))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: AVERAGEIFS using multiple ranges and multiple criteria

    Thank you! Your array formula works perfectly. The support is much appreciated!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: AVERAGEIFS using multiple ranges and multiple criteria

    You're welcome. Thanks for the feedback!

+ 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