Hello,
I need to take the average of values in a column if the values in two other columns meet some criteria. For the attached example, I want column G to return a 1 if the value in column E is in the bottom 3 quartiles of all the values for a given item in column A. I had this IF statement set up to do that on a more manual basis =IF(AND(E4>=QUARTILE.INC($E$4:$E$30,0),E4<=QUARTILE.INC($E$4:$E$30,3)),1,0), but I want the formula to query on the item number, not to have to manually set the parameters for each item and corresponding array. I hope I've explained this adequately.
Book2.xlsx
Bookmarks