COUNTIFS with a number and a text condition
Count rows that pass several tests, such as orders over 500 that are marked Paid.
The formula
Excel and Google Sheets
=COUNTIFS(D2:D100, ">500", E2:E100, "Paid")How it works
D2:D100, ">500"Only count rows where the amount is greater than 500. Comparison operators go inside quotes.
E2:E100, "Paid"And where the status is Paid.
Example
| D: Amount | E: Status |
|---|---|
| 750 | Paid |
| 900 | Open |
| 520 | Paid |
| 120 | Paid |
Tips
- Result for this data: 2.
- To compare with a cell, join the operator and the cell: ">"&G1.