How to use the SUMIF function in Excel

SUMIF adds up only the cells in a range that match a condition you set. It suits anyone who tracks lists in Excel, like sales by region or hours by person. You just need a spreadsheet with a column of values and a column to check against.

YouTube video: How to Use SUMIF Function in Excel (Step by Step)

Captions are available. Use CC in the YouTube player.

4 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (4)
Video length
5 min 8 s
Time to do it
5 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Open your spreadsheet and click the cell where you want the total to appear.

  2. Type =SUMIF( to start the formula. Excel expects three parts: range, criteria and sum range.

  3. Select the range of cells to check against your condition, then type a comma.

  4. Type the criteria in quotes, for example "North", then type a comma.

  5. Select the range of cells holding the numbers to add, then close the bracket and press Enter.

  6. For a comparison, put an operator in the quotes, like ">100", so only cells above 100 are summed.

  7. Copy the formula down or across if you need the same total for other criteria.

Tips and common mistakes

The criteria range and the sum range should be the same size, or results will be wrong.

Text criteria need quotes, but a cell reference as criteria does not.

Use SUMIFS when you need more than one condition at once.

Questions

What is the difference between SUMIF and SUMIFS?

SUMIF checks one condition. SUMIFS lets you add several conditions across different ranges.

Why does my SUMIF return 0?

The criteria likely does not match any cell exactly. Check spelling, spaces and whether numbers are stored as text.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all