Problem: Can the results of a formula be used as the criteria? I would like to add all numbers that are above average.
Strategy: The second parameter of the SUMIF/COUNTIF can be a calculation, but you must concatenate a comparison operator in quotes with the formula. Consider this formula:
=SUMIF($F$6:$F$61,">"&AVERAGE($F$6:$F$61),$F$6:$F$61)
The criteria is ">"&AVERAGE(F6:F61). Excel first calculates the average, then joins the operator with the result. In the second step of evaluating the formula, Excel has changed the formula to ">39535.71".
- The criterion is built from a formula.