The result is too high
Adding individual COUNTIF totals implements a different rule and can double-count rows.
Step-by-step guide · read-only ·
Loading your interactive spreadsheet…
Preparing the worksheet and formulas…
In F6, count rows matching the team in F2, status in F3 and maximum age in F4.
Follow the highlighted cells. Switch to Your turn to edit. Answer cell: F6. Browser calculations may differ from your Excel version.
Practice stays on this device. No worksheet data is uploaded.
Count open tickets for one team within an age limit, without including rows that pass only one test.
Count a row only when its team is Blue, status is Open and age is at most 5. Four source rows meet all three tests, including the lowercase labels.
=COUNTIFS(A2:A9,F2,B2:B9,F3,C2:C9,"<="&F4)COUNTIFS combines its condition pairs with AND. Adding a new pair narrows the same-row population; it does not create an OR alternative. Criteria labels in this example contain no wildcards or operators.
=COUNTIFS(A2:A9,F2,B2:B9,F3,C2:C9,"<="&F4)| Row | A | B | C | E | F |
|---|---|---|---|---|---|
| 1 | "Team" | "Status" | "Age (days)" | "Condition" | "Value" |
| 2 | "Blue" | "Open" | 2 | "Team" | "Blue" |
| 3 | "Blue" | "Closed" | 1 | "Status" | "Open" |
| 4 | "Gold" | "Open" | 2 | "Maximum age" | 5 |
| 5 | "Blue" | "Open" | 5 | — | — |
| 6 | "Blue" | "Open" | 6 | "Matching count" | 4 |
| 7 | "blue" | "open" | 0 | — | — |
| 8 | "Gold" | "Closed" | 4 | — | — |
| 9 | "Blue" | "Open" | 3 | — | — |
These are reference examples with matching downloads. The primary worksheet has its own stated task and checks; choosing an example here leaves that worksheet and your progress unchanged.
Open the primary practiceMicrosoft function reference ↗ · Browser calculations checked. Native Excel and Google Sheets recalculation of these reference files has not been verified.
Each example uses the source data in its own downloadable workbook. Cell references below belong to that file. Opening an example leaves the primary practice and your progress unchanged.
Count a row only when its team is Blue, status is Open and age is at most 5. Four source rows meet all three tests, including the lowercase labels.
=COUNTIFS(A2:A9,F2,B2:B9,F3,C2:C9,"<="&F4)Enter in F6 in this example's workbook. The download contains the complete source and all result formulas.
COUNTIFS combines its condition pairs with AND. Adding a new pair narrows the same-row population; it does not create an OR alternative. Criteria labels in this example contain no wildcards or operators.
Download this example's workbookCount the Blue/Open/age group and the Gold/Open/age group, then add them. These two team labels cannot match the same row, so no row is counted twice.
=COUNTIFS(A2:A9,"Blue",B2:B9,F3,C2:C9,"<="&F4)+COUNTIFS(A2:A9,"Gold",B2:B9,F3,C2:C9,"<="&F4)Enter in F6 in this example's workbook. The download contains the complete source and all result formulas.
Adding counts implements this OR only because the alternatives are disjoint. Overlapping conditions need duplicate-row handling. Both branches retain the same status and age conditions.
Download this example's workbookReusing A2:A9 with Blue and Gold asks each cell to equal both labels at once. No source row can pass; zero is the correct result for that question.
=COUNTIFS(A2:A9,"Blue",A2:A9,"Gold")Enter in F6 in this example's workbook. The download contains the complete source and all result formulas.
This is a deliberate counterexample to OR. Repeating one criteria range is valid syntax, but both conditions still have to be true on the same row.
Download this example's workbookA cell can be at least 2 and at most 5 simultaneously. Repeating C2:C9 is useful here: five ages fall inside the inclusive interval.
=COUNTIFS(C2:C9,">=2",C2:C9,"<=5")Enter in F6 in this example's workbook. The download contains the complete source and all result formulas.
The bounds apply to the same numeric age. This example counts every team and status; the F2:F4 controls from the primary example are not used by this interval formula.
Download this example's workbookCOUNTIF applies one criterion to one range. COUNTIFS is useful here because team, status and age must all match on the same record. It counts records; it does not add the age values.
This task asks for the selected team AND the selected status AND an age within the limit. Adding separate COUNTIF results would include partial matches and might count some rows more than once.
Team and status comparisons ignore letter case. Ticket ages are numeric, nonnegative whole days. A zero-day ticket is valid and qualifies when the maximum is zero or higher. A team with no qualifying records returns zero.
Each row describes a single ticket. Count matching rows, not the number of cells containing a word.
Compare the Team column with the value in F2.
A2:A9,F2The status condition must be true on the same row as the team condition.
B2:B9,F3Join <= to F4 so the limit remains editable. An age exactly equal to F4 qualifies.
C2:C9,"<="&F4Each matching row contributes one, regardless of its age. Change the team or limit and check which rows remain.
Adding individual COUNTIF totals implements a different rule and can double-count rows.
Use <= rather than < when tickets exactly on the limit should count.
Reference F4 so changing the maximum age also changes the answer.
Published examples, formula filling and practice checks were tested in Chrome on October 13, 2026. Tests cover the supplied datasets and stated input rules, not every possible formula. These workbooks have not yet been independently recalculated in Microsoft Excel or Google Sheets.
Content version 3. Practice checks compare calculated results across different datasets; they do not certify every possible formula.