Table of contents
Formulas & functions
Formulas & functions


Use the SUMIF function to sum the values in a range that meet criteria that you specify.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.
  1. Select a cell where you want to write the formula.

  2. Type =SUMIF(.

  3. Select the range of cells that you want to evaluate by the criteria.

  4. Type a comma and enter the criteria.

    Tip: If the criteria is text, don't forget to enclose it with quotation marks ("").

  5. Type a comma and select the SUM range. It'll be the same size and shape as the original range you selected.

  6. Press Enter.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Office Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!