SUMIF & COUNTIF — Excel Conditional Formulas Made Simple

If you work with sales data, budgets, or inventory, SUMIF and COUNTIF are the formulas you'll use every single day. They answer questions like "How much did we sell in the East region?" or "How many orders are over $500?" — in one formula, no manual filtering required.

SUMIF — Sum Values That Meet a Condition

=SUMIF(range, criteria, [sum_range])

SUMIFS — Multiple Conditions

=SUMIFS(sum_range, range1, criteria1, range2, criteria2)

=SUMIFS(D:D, B:B, "East", C:C, ">1000") → Sum column D where region="East" AND sales>1000. Supports up to 127 condition pairs.

COUNTIF / COUNTIFS — Count With Conditions

AVERAGEIF — Average With Conditions

=AVERAGEIF(B:B, "East", C:C) → Average of column C where column B is "East"

Generate Your Formula in English →

© 2026 FormulaHawk — Free AI Excel Formula Generator