SUMIF adds up numbers in a range that meet one condition. SUMIFS does the same with several conditions at once. This guide suits beginners who can already type a basic formula in Microsoft Excel and want totals by category, region or date.
YouTube video: How to use the SUMIF and SUMIFS Functions in Microsoft Excel for Beginners
Captions are available. Use CC in the YouTube player.
Choose a chapter (3)
- Video length
- 7 min 40 s
- Time to do it
- 10 minutes
- Difficulty
- Easy
- Steps
- 8
What you need
Steps
Click the cell where you want the total to appear. Type =SUMIF( to start the formula.
Select the range of labels to check, such as a category column. Add a comma after the range.
Type the criteria in quotes, for example "North", then a comma.
Select the range of numbers to add up and close the bracket. Press Enter to see the total.
For several conditions, type =SUMIFS( instead. The sum range comes first in this function.
Add a comma, then select the first criteria range and type its criteria in quotes.
Repeat with each extra range and criteria pair, separated by commas. Close the bracket and press Enter.
Check the result against a few rows by hand. If it looks wrong, click the cell and review each range in the formula bar.
Tips and common mistakes
Keep the sum range and criteria ranges the same size, or the totals will be wrong.
Text criteria need quotes, but numbers and cell references do not.
Use wildcards like "North*" to match labels that start with the same word.
Questions
What is the difference between SUMIF and SUMIFS?
SUMIF tests one condition and takes the sum range last. SUMIFS tests two or more conditions and takes the sum range first.
Can I use SUMIFS with dates?
Yes. Type the date in quotes, such as ">=1/1/2024", or point to a cell that holds the date.
Why does my formula return 0?
The criteria probably do not match the cells exactly. Check for extra spaces, wrong case or ranges of different sizes.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


