What you will build
Build a small CRM with fictional data: each lead has a stable Lead ID, company, standardized Stage, and Next action. Then use COUNTIF to quickly count leads currently at the Qualified stage.
Learning objective
Learn to organize a simple lead table, use a consistent Stage vocabulary, enter COUNTIF in the exact result cell, and verify how the formula reacts when a Stage changes.
Prepare the sample data
Open the exact source workbook below. It uses the Example tab and fictional data, so no real customer information appears. The source includes a demonstration result in H2; on your own copy, clear H2 before re-entering the formula later in the lesson.
Practice in your own copy
Make your own Google Sheets copy with the same data, formulas, formatting, filter and frozen header. The original remains unchanged.
Sign in to Google. If the original is not publicly shared, download the full workbook and import it into Google Sheets, or paste the example data into your own sheet.
Open the exact source workbook in Google Sheets ↗
Work through the example
Step 1: On your copy, keep Lead ID as stable codes L01, L02, and L03. Do not use row numbers as identifiers because inserting, deleting, or sorting rows can change row numbers.
Step 2: Keep Stage values in one consistent vocabulary: New, Contacted, and Qualified. Exact spelling lets COUNTIF count reliably.
Step 3: Clear H2 on your copy, select H2, and enter the formula below once. This formula returns one summary value, so there is no fill or copy-down step.
Formula to try
=COUNTIF(C2:C4,"Qualified")Checkpoint
| Lead ID | Company | Stage | Next action |
|---|---|---|---|
| L01 | Acme Demo | New | Schedule call |
| L02 | North Demo | Contacted | Send summary |
| L03 | River Demo | Qualified | Prepare quote |
After restoring the sample data, H2 should equal 1 because only L03 is at the Qualified stage.
Common mistakes and fixes
If you use variants such as qualified, a Qualified value with extra spaces, or a different Stage name, exact criterion matching will not treat them as the same value.
Independent practice
Temporarily change C2 from New to Qualified and confirm H2 increases from 1 to 2; then restore C2 to New and confirm H2 returns to 1.
Key takeaways
- ✓Use stable Lead IDs instead of row numbers to identify leads.
- ✓Keep Stage values in a consistent vocabulary so counts remain reliable.
- ✓COUNTIF(C2:C4,"Qualified") counts leads whose Stage is exactly Qualified.
- ✓With the sample data, only L03 is Qualified, so H2 equals 1.
- ✓This is one summary formula in H2; it does not need to be dragged or copied down.
Check your understanding
Answer four questions about the practice sheet.
Continue learning
Previous lesson: Inventory tracker. Next lesson: Invoice tracker.
Comments
No comments yet. Be the first to join the discussion.