Most valuable professional
  • Excel Book Excerpt

Excel Can the Results of a Formula Be Used in SUMIF?

This page is an advertiser-supported excerpt of the book, Learn Excel 2007-2010 from MrExcel - 512 Excel Mysteries Solved. If you like this topic, please consider buying the entire e-book.

Can the Results of a Formula
Be Used in SUMIF?

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:


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”.


Figure 413 The criterion is built from a formula.

<-Previous Topic                    Next Topic->

For more resources for Microsoft Excel: