I read a solution from a 2013 thread where FDibbins suggested using SUMPRODUCT instead of AVERAGEIF to pull data from another workbook.
"SUMPRODUCT is what I was thinking, but I'm not very proficient with the formula. As of now, this is my formula: =AVERAGEIF('[Ty stats.xlsx]Averages'!$A$2$:$A$61,"Qualifying",'[Ty stats.xlsx]Averages'!F2:F61) Basically, if anything in the A column on the Averages sheet in Ty's book says "Qualifying", I want to take the Average of the F column. It's not too complicated, I just want it to work when Ty's workbook is closed"
"Maybe something like this?
=sumproduct(--('[Ty stats.xlsx]Averages'!$A$2$:$A$61="Qualifying"),'[Ty stats.xlsx]Averages'!F2:F61)/sumproduct(--('[Ty stats.xlsx]Averages'!$A$2$:$A$61="Qualifying"))"
Question 1: Will a version of this formula work if two conditions must be satisfied? i.e. Column A must = "Qualifying" and Column C must = "Red" ?
Question 2: Instead of calculating average, how would I calculate MEDIAN AND/OR MODE ?
"SUMPRODUCT is what I was thinking, but I'm not very proficient with the formula. As of now, this is my formula: =AVERAGEIF('[Ty stats.xlsx]Averages'!$A$2$:$A$61,"Qualifying",'[Ty stats.xlsx]Averages'!F2:F61) Basically, if anything in the A column on the Averages sheet in Ty's book says "Qualifying", I want to take the Average of the F column. It's not too complicated, I just want it to work when Ty's workbook is closed"
"Maybe something like this?
=sumproduct(--('[Ty stats.xlsx]Averages'!$A$2$:$A$61="Qualifying"),'[Ty stats.xlsx]Averages'!F2:F61)/sumproduct(--('[Ty stats.xlsx]Averages'!$A$2$:$A$61="Qualifying"))"
Question 1: Will a version of this formula work if two conditions must be satisfied? i.e. Column A must = "Qualifying" and Column C must = "Red" ?
Question 2: Instead of calculating average, how would I calculate MEDIAN AND/OR MODE ?