Exercices Excel

The SUMIF Function

Add up cells that meet a specific condition.

📖 Quick reference

The SUMIF function adds only the cells in a range that match a given criterion. Its syntax is =SUMIF(range, criteria). For example, =SUMIF(A1:A6,">100") sums only values above 100.

Calculate the sum of cells in A1:A6 whose value is greater than 100 and place the result in B1.

Click cell B1, type your formula and press Enter.

B1
A B C D E
Sales Sum > 100
1
192
2
53
3
56
4
58
5
177
6
70
7