+ Reply to Thread
Results 1 to 4 of 4

Average array if 3 criteria are met

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    16

    Average array if 3 criteria are met

    Hi -

    This is a continuation of a previous thread, here; this thread dealt with only 2 (not 3) criteria.

    The formula that I am currently using gives me incorrect values.

    =AVERAGE(IF($A$3:$A$277=$Q$4, IF($B$3:$B$277=$Q$5, IF($C$2:$N$2=R$4, IF($C$3:$N$277<>"",$C$3:$N$277)))))

    Please let me know if you have any suggestions. Best!

    Average Formula Error_2.xlsx

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Average array if 3 criteria are met

    Hi,

    I don't understand your expected results. I would've thought the (array) formula in R5 should be:

    =AVERAGE(IF($C$2:$N$2=R$4,IF($B$3:$B$277=$Q5,IF($A$3:$A$277=$Q$4,IF($C$3:$N$277<>"",$C$3:$N$277)))))

    Edit: the formula in your attachment does not match that in your thread.

    Regards
    Last edited by XOR LX; 05-22-2014 at 11:06 AM.
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    10-04-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Average array if 3 criteria are met

    Hi -

    I accidentally uploaded the incomplete version of the file - sorry! I was actually using the same formula as you proposed, and it is giving me incorrect results.

    I have attached the updated version with the formula v. expected averages.

    Thanks for all your help!

    Average Formula Error_2_Fixed.xlsx

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Average array if 3 criteria are met

    I still don't see how you arrive at your expected results. The results seem correct to me.

    Regards

+ 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. Replies: 0
    Last Post: 10-13-2012, 10:13 PM
  2. [SOLVED] Array formula which can average and sum two different criteria
    By CFlack8472 in forum Excel General
    Replies: 5
    Last Post: 07-05-2012, 11:13 AM
  3. Replies: 5
    Last Post: 05-05-2010, 10:32 AM
  4. Return average and count from multiple criteria in a list or array of data
    By robcosta in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-22-2008, 03:18 AM
  5. Replies: 8
    Last Post: 03-21-2008, 12:09 PM

Tags for this Thread

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