You will write a SUMIF formula that adds up numbers by label, such as spend per channel or cost per department. It suits beginners who can already type a formula in Excel or Google Sheets. You need a table with a label column and a number column.
YouTube video: Excel IF, Nested IF & SUMIF Explained with REAL Office Examples (Marketing, HR, Finance) | Day 2
YouTube’s video details do not confirm captions. Check CC in the player for available tracks.
- Video length
- 10 min 28 s
- Time to do it
- 10 minutes
- Difficulty
- Easy
- Steps
- 8
What you need
Steps
Open your spreadsheet and check your data. Put the labels you want to group by in one column, such as Department or Channel, and the amounts to add in another column.
Click an empty cell below or beside your table where the total should appear.
Type =SUMIF( to start the formula. Excel shows a hint with the three parts: range, criteria and sum_range.
Select the label column, for example B2:B100, and type a comma. This is the range Excel checks against your criteria.
Type your criteria in double quotes, like "Marketing", then a comma. You can also point to a cell that holds the label instead.
Select the number column, for example D2:D100, close the bracket and press Enter. The cell shows the total for that one label.
Lock the ranges with dollar signs, such as $B$2:$B$100 and $D$2:$D$100, then drag the formula down to get a total for each department or channel.
For a quick budget check, use IF beside the total: =IF(D2>C2,"Over Budget","Within Budget"). Chain one IF inside another for ratings or risk bands.
Tips and common mistakes
SUMIF ignores capital letters but not extra spaces, so trim stray spaces from labels if a total comes back as 0.
Use * as a wildcard for partial matches, like "Insta*" to catch every Instagram row.
If a total shows 0, check whether the amounts are stored as text. A small green triangle in the corner of the cell is a sign.
Use SUMIFS when you need more than one condition, such as channel plus month.
Questions
What is the difference between SUMIF and SUMIFS?
SUMIF adds numbers that meet one condition. SUMIFS adds numbers that meet several conditions, and it asks for the sum range first.
Why does my SUMIF return 0?
Usually the criteria does not match the labels, or the amounts are stored as text. Check for extra spaces and number formatting.
Can I use a cell reference as the criteria?
Yes. Type the cell address without quotes, like =SUMIF(B2:B100,F2,D2:D100), so the total updates when you change the label in that cell.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


