Count cells that meet multiple conditions at once.
The COUNTIFS function counts cells that satisfy several criteria simultaneously. Its syntax is =COUNTIFS(range1, criteria1, range2, criteria2, ...). It is the multi-criteria version of COUNTIF.
Count the cells in A1:A6 whose value is between 100 and 150 inclusive and place the result in B1.
Click cell B1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Values | Count 100-150 | ||||
| 1 |
160
|
||||
| 2 |
95
|
||||
| 3 |
130
|
||||
| 4 |
169
|
||||
| 5 |
112
|
||||
| 6 |
53
|
||||
| 7 |