How to Use COUNTIFS in Excel: The Complete Step-by-Step Guide 2026 September

Learn how to use COUNTIFS in Excel with multiple criteria, wildcards, dates, and real examples. Master conditional counting in under 30 minutes. 🗨️

Microsoft ExcelBy Katherine LeeSep 1, 202621 min read
How to Use COUNTIFS in Excel: The Complete Step-by-Step Guide 2026 September

Understanding how to use COUNTIFS in Excel is one of the most practical skills you can add to your spreadsheet toolkit. Unlike its simpler cousin COUNTIF, which handles only a single condition, COUNTIFS lets you count rows that satisfy two, three, or even a dozen criteria simultaneously. Whether you are tracking sales by region and product, filtering survey responses by age group and score, or auditing payroll records by department and date range, COUNTIFS delivers precise conditional counts that would otherwise require hours of manual filtering.

Excel's COUNTIFS function belongs to a family of conditional aggregation functions that also includes SUMIFS and AVERAGEIFS. The syntax is refreshingly consistent: you supply one or more criteria ranges paired with matching criteria values, and Excel counts only the rows where every condition is true at once. That AND logic is the key distinction — COUNTIFS does not count a row if even one condition fails. This makes it ideal for narrowing down large datasets to exactly the subset you care about.

Many users first encounter COUNTIFS when they want to count cells that contain specific text, numbers above a threshold, or dates within a window. For example, a sales manager might ask, "How many orders from the West region exceeded $500 last quarter?" With COUNTIFS, that question becomes a single formula rather than a pivot table or a helper column. The function handles numbers, text, dates, wildcards, and even references to other cells as criteria, giving you enormous flexibility without leaving formula view.

If you are already comfortable with how to use countifs in excel in financial modeling contexts, you will appreciate how COUNTIFS pairs naturally with other functions like SUMIFS, IFERROR, and dynamic array formulas introduced in Excel 365. The principles carry over directly: define your range, define your condition, repeat for each additional filter. Once that pattern clicks, you will reach for COUNTIFS every time you need a conditional count, the same way experienced analysts instinctively reach for VLOOKUP when they need a lookup.

This guide walks through every aspect of COUNTIFS from basic syntax to advanced multi-condition formulas. We cover wildcards for partial text matching, comparison operators for numeric and date ranges, common pitfalls like mismatched range sizes, and performance tips for large workbooks. By the end, you will be able to build COUNTIFS formulas with confidence, troubleshoot errors quickly, and combine COUNTIFS with other Excel features for even more powerful analysis. Each section includes a concrete formula example you can adapt to your own data immediately.

Learning Excel functions deeply is what separates casual users from power users. Functions like COUNTIFS, SUMIFS, and dynamic arrays are tested on certification exams, expected in data-focused job roles, and used daily in finance, operations, HR, and marketing. Taking the time to understand not just the syntax but the underlying logic — AND conditions, range sizing, criteria types — gives you a foundation that transfers to every Excel challenge you will face in your career.

Before diving into the syntax, it helps to know when COUNTIFS is the right tool. Use it when you need a single count that depends on multiple simultaneous conditions applied to one or more columns. If you need a sum instead of a count, switch to SUMIFS. If you need an average, use AVERAGEIFS. If you need to count rows where ANY condition is true (OR logic), you will need a workaround using two separate COUNTIFS calls added together. Keeping these distinctions clear from the start will save you debugging time and help you write cleaner, more readable formulas.

Excel COUNTIFS by the Numbers

📊127Built-in Excel FunctionsCOUNTIFS is among the top 10 most used
127+Max Criteria PairsExcel allows up to 127 range/criteria pairs
⏱️30 minAverage Learning TimeTo master basic COUNTIFS syntax
💰$64KAvg. Excel Analyst SalaryUS median for data/spreadsheet roles
🎓2003Year COUNTIFS Was AddedFirst appeared in Excel 2007 (version 12)

How to Build a COUNTIFS Formula Step by Step

📋

Identify the Count Column

Decide which column determines whether a row is counted. This is your first criteria_range. For example, if you want to count orders by region, the Region column is your first range. Make sure the range covers all your data rows and does not include the header.
✏️

Write Your First Criteria

Type the condition as a text string, number, or cell reference. Use quotation marks for text and comparison operators: =COUNTIFS(B2:B100,"West"). The criteria tells Excel which values to match in your criteria_range. You can also reference a cell like B1 so the formula updates dynamically when you change the filter value.

Add More Criteria Pairs

Append additional range/criteria pairs separated by commas. Each new pair adds an AND condition. Example: =COUNTIFS(B2:B100,"West",C2:C100,">500"). Both conditions must be true for a row to be counted. All criteria ranges must be the same size and shape as the first range.
📅

Handle Dates and Wildcards

For date ranges, use two criteria pairs on the same column: one for >= start date and one for <= end date. For partial text matching, use asterisks as wildcards: "*North*" matches any text containing the word North. Wildcards only work with text criteria, not numeric comparisons.

Test and Verify the Result

After entering the formula, verify it against a manual filter or pivot table. Apply an AutoFilter with the same conditions and compare the visible row count to your COUNTIFS result. If they match, your formula is correct. If not, check for range size mismatches or criteria format issues.
🚀

Optimize for Large Datasets

Avoid using entire column references like B:B in large workbooks — this forces Excel to evaluate over one million rows. Instead, use a defined Table or a named range that covers only your actual data. For workbooks with tens of thousands of rows, this single change can dramatically speed up recalculation.

The full syntax of COUNTIFS is =COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...). The first two arguments are required; all additional pairs are optional. Excel processes all criteria pairs with AND logic, meaning a row is counted only when every single condition evaluates to true. This is fundamentally different from OR logic, which would count a row if any one condition is true. Understanding this AND behavior is the single most important concept to internalize about COUNTIFS before writing any real formulas.

One critical rule that trips up new users is that all criteria ranges must be the same size and shape. If criteria_range1 covers B2:B100 (99 rows), then criteria_range2 must also cover exactly 99 rows — for example, C2:C100 or D2:D100. Mixing a 99-row range with a 50-row range causes Excel to return a #VALUE! error.

Excel matches rows positionally: row 2 in range1 pairs with row 2 in range2, row 3 pairs with row 3, and so on. The ranges do not need to be in the same columns or even on the same sheet, but they must be dimensionally identical.

Criteria can take many forms. A plain text string like "Approved" matches cells that contain exactly that word (case-insensitive). A number like 500 matches cells equal to 500. A comparison string like ">500" matches cells greater than 500. You can reference a cell containing any of these values instead of hard-coding them directly in the formula. Cell references make formulas more flexible: if you put "West" in cell F1, you can write COUNTIFS(B2:B100, F1) and change the filter simply by editing F1 rather than the formula itself.

Blank cells deserve special attention. If you want to count rows where a cell is blank, use "" as the criteria. If you want to count rows where a cell is not blank, use "<>" as the criteria. These work correctly with both text and numeric columns. Be aware that a cell containing a space character is NOT blank — it looks empty but COUNTIFS will not count it with the "" criteria. If your data might have such cells, clean them first with TRIM or a Find & Replace operation.

You can also use wildcard characters within text criteria. An asterisk (*) matches any sequence of characters, including zero characters. A question mark (?) matches exactly one character. For example, "North*" matches "North", "Northeast", and "Northwest". "?ook" matches "book", "cook", and "look" but not "shook". These wildcards are powerful for partial matching in product codes, names, or category labels where exact matches are too restrictive. Note that wildcards only apply to text criteria — if your range contains numbers stored as text, wildcards will work; if it contains true numeric values, they will not.

For numeric and date criteria using comparison operators, you must wrap the entire condition in quotes and concatenate with an ampersand when combining an operator with a cell reference. For example, ">"&F1 builds a criterion that means "greater than the value in F1". This concatenation syntax catches many users off guard because they expect something like >F1 to work on its own. Writing the comparison operator in quotes and using & to join it with a cell reference is the correct and only supported approach in COUNTIFS criteria arguments.

Date criteria follow the same rules as numeric criteria. Dates in Excel are stored as serial numbers, so comparison operators work naturally: ">"&DATE(2024,1,1) counts rows where the date is after January 1, 2024. To count rows within a date range, use two criteria pairs on the same date column — one with >= the start date and one with <= the end date. You can also hard-code dates as text strings in the format COUNTIFS(D2:D100,">="&"1/1/2024") though using the DATE function is safer and avoids regional date format ambiguity.

Microsoft Excel Practice Test Questions

Prepare for the Microsoft Excel exam with our free practice test modules. Each quiz covers key topics to help you pass on your first try.

Microsoft Excel Excel Basic and Advance

Microsoft Excel Exam Questions covering Excel Basic and Advance. Master Microsoft Excel Test concepts for certification prep.

Microsoft Excel Excel Formulas

Free Microsoft Excel Practice Test featuring Excel Formulas. Improve your Microsoft Excel Exam score with mock test prep.

Microsoft Excel Excel Functions

Microsoft Excel Mock Exam on Excel Functions. Microsoft Excel Study Guide questions to pass on your first try.

Microsoft Excel Excel MCQ

Microsoft Excel Test Prep for Excel MCQ. Practice Microsoft Excel Quiz questions and boost your score.

Microsoft Excel Excel

Microsoft Excel Questions and Answers on Excel. Free Microsoft Excel practice for exam readiness.

Microsoft Excel Excel Trivia

Microsoft Excel Mock Test covering Excel Trivia. Online Microsoft Excel Test practice with instant feedback.

Microsoft Excel Advanced Data Analysis Tools

Free Microsoft Excel Quiz on Advanced Data Analysis Tools. Microsoft Excel Exam prep questions with detailed explanations.

Microsoft Excel Advanced Formula and Macro...

Microsoft Excel Practice Questions for Advanced Formula and Macro Creation. Build confidence for your Microsoft Excel certification exam.

Microsoft Excel Advanced Formulas and Macros

Microsoft Excel Test Online for Advanced Formulas and Macros. Free practice with instant results and feedback.

Microsoft Excel Basic and Advance Question...

Microsoft Excel Study Material on Basic and Advance Questions and Answers. Prepare effectively with real exam-style questions.

Microsoft Excel Creating and Managing Charts

Free Microsoft Excel Test covering Creating and Managing Charts. Practice and track your Microsoft Excel exam readiness.

Microsoft Excel Data Visualization with Ch...

Microsoft Excel Exam Questions covering Data Visualization with Charts. Master Microsoft Excel Test concepts for certification prep.

Microsoft Excel Formulas and Functions

Free Microsoft Excel Practice Test featuring Formulas and Functions. Improve your Microsoft Excel Exam score with mock test prep.

Microsoft Excel Formulas and Functions App...

Microsoft Excel Mock Exam on Formulas and Functions Application. Microsoft Excel Study Guide questions to pass on your first try.

Microsoft Excel Formulas Questions and Ans...

Microsoft Excel Test Prep for Formulas Questions and Answers. Practice Microsoft Excel Quiz questions and boost your score.

Microsoft Excel Functions Questions and An...

Microsoft Excel Questions and Answers on Functions Questions and Answers. Free Microsoft Excel practice for exam readiness.

Microsoft Excel Managing Data Cells and Ra...

Microsoft Excel Mock Test covering Managing Data Cells and Ranges. Online Microsoft Excel Test practice with instant feedback.

Microsoft Excel Managing Tables and Data

Free Microsoft Excel Quiz on Managing Tables and Data. Microsoft Excel Exam prep questions with detailed explanations.

Microsoft Excel Managing Tables and Table ...

Microsoft Excel Practice Questions for Managing Tables and Table Data. Build confidence for your Microsoft Excel certification exam.

Microsoft Excel Managing Worksheets and Wo...

Microsoft Excel Test Online for Managing Worksheets and Workbooks. Free practice with instant results and feedback.

Microsoft Excel MCQ Questions and Answers

Microsoft Excel Study Material on MCQ Questions and Answers. Prepare effectively with real exam-style questions.

Microsoft Excel Questions and Answers

Free Microsoft Excel Test covering Questions and Answers. Practice and track your Microsoft Excel exam readiness.

Microsoft Excel Trivia Questions and Answers

Microsoft Excel Exam Questions covering Trivia Questions and Answers. Master Microsoft Excel Test concepts for certification prep.

Microsoft Excel Workbook and Worksheet Man...

Free Microsoft Excel Practice Test featuring Workbook and Worksheet Management. Improve your Microsoft Excel Exam score with mock test prep.

COUNTIFS vs VLOOKUP vs Drop-Down Lists: When to Use Each

COUNTIFS is purpose-built for counting rows that meet multiple conditions simultaneously. Use it when your question is "how many" — how many orders shipped late, how many employees in the West region earned above $60,000, how many support tickets were opened and closed in the same week. Every scenario that involves a conditional count with two or more filters is a natural fit for COUNTIFS, and the formula stays readable even with four or five criteria pairs stacked together.

Unlike VLOOKUP excel lookup formulas, COUNTIFS does not return a value from another column — it returns only a count. This distinction matters when you are building dashboards: use COUNTIFS for scorecards and KPI tiles that display quantities, and switch to SUMIFS when you need a monetary total or AVERAGEIFS for an average. Mixing up these three functions is one of the most common formula mistakes, but once you internalize that COUNTIFS = how many, SUMIFS = how much, and AVERAGEIFS = what average, the right choice becomes intuitive.

COUNTIFS Advantages and Limitations

Pros
  • +Handles up to 127 criteria range/criteria pairs in a single formula
  • +Works with text, numbers, dates, wildcards, and cell references as criteria
  • +No helper columns required — logic stays inside one formula
  • +Compatible with Excel Tables, named ranges, and structured references
  • +Returns exact integer counts, making results easy to verify manually
  • +Criteria are case-insensitive, simplifying text matching in mixed-case datasets
Cons
  • Uses AND logic only — OR conditions require multiple formulas added together
  • All criteria ranges must be identical in size and shape or a #VALUE! error results
  • Wildcards work only on text criteria, not on numeric or date values
  • Entire-column references (B:B) slow recalculation significantly on large workbooks
  • Cannot count by cell color, font formatting, or conditional formatting rules
  • Criteria containing comparison operators must be quoted strings, which surprises new users

COUNTIFS Formula Best Practices Checklist

  • Confirm every criteria range covers exactly the same number of rows before closing the formula.
  • Use Excel Table structured references ([@Column]) instead of plain ranges to make formulas auto-expand.
  • Wrap text criteria in double quotes and use & to concatenate comparison operators with cell references.
  • Use the DATE function for date criteria instead of hard-coded date strings to avoid regional format issues.
  • Test each formula against an AutoFilter or pivot table to verify the count is correct.
  • Avoid entire-column references like B:B in workbooks with more than 10,000 rows.
  • Use named ranges for frequently referenced data columns to make formulas readable at a glance.
  • For OR logic, write two separate COUNTIFS formulas and add them with the + operator.
  • Use IFERROR(COUNTIFS(...), 0) to suppress errors gracefully in dashboard cells.
  • Document complex multi-criteria formulas with a comment cell explaining the business rule being counted.

Combine COUNTIFS with UNIQUE for Instant Category Counts

In Excel 365 and Excel 2021, you can wrap COUNTIFS inside a dynamic array formula to count occurrences of every unique value in a column at once. Use =COUNTIFS(B2:B100, UNIQUE(B2:B100)) to generate a spill array of counts aligned with each unique category — no pivot table required. This single formula replaces dozens of individual COUNTIFS cells in summary dashboards and updates automatically when your data changes.

Advanced COUNTIFS techniques start with understanding how to implement OR logic, which the function does not natively support. The most straightforward workaround is writing two separate COUNTIFS formulas and adding them together. For example, to count rows where the region is either "East" or "West", write =COUNTIFS(B2:B100,"East") + COUNTIFS(B2:B100,"West"). If the two conditions could potentially match the same row (which is impossible when they test the same column for different values but possible when they test different columns), you need a more careful approach using SUMPRODUCT to avoid double-counting.

SUMPRODUCT is the Swiss army knife for complex conditional counting. The formula =SUMPRODUCT((B2:B100="East")+(B2:B100="West")>0) counts rows where the region is East OR West without double-counting, because the (>0) conversion collapses any double-true to a single 1. SUMPRODUCT also handles criteria that COUNTIFS cannot, such as evaluating a calculated expression per row or applying a function like LEN or MONTH inside the criteria. However, SUMPRODUCT is slower than COUNTIFS on large datasets, so reserve it for the cases where COUNTIFS genuinely cannot do the job.

Another advanced pattern is using COUNTIFS to build frequency distributions. Suppose you have a column of test scores from 0 to 100 and you want to count how many scores fall in each 10-point bin. You can set up a table with bins (0, 10, 20 ... 90) and use a COUNTIFS formula with two criteria on the same column: =COUNTIFS(C2:C500,">="&A2,C2:C500,"<"&(A2+10)). This formula counts scores in the range [A2, A2+10) for each row in your bin table, producing a frequency distribution without a histogram tool or pivot table.

COUNTIFS works beautifully inside IF statements for conditional formatting triggers and dashboard logic. For example, =IF(COUNTIFS(B2:B100,"Overdue")>0,"Action Required","All Clear") generates a status message based on whether any rows are flagged as overdue. You can also use COUNTIFS as the logical test in data validation rules to prevent duplicate entries: a custom validation formula like =COUNTIFS(A:A,A1)=1 rejects any entry in column A that already exists, enforcing uniqueness without VBA.

For very large datasets with millions of rows, Power Query and Power Pivot offer alternatives to COUNTIFS that execute outside Excel's grid calculation engine. COUNTIFS in a regular worksheet will recalculate every time any cell changes, which can make large workbooks feel sluggish. Moving your data to an Excel Table and using structured references helps, but for truly massive data the right tool is the Data Model with DAX measures, which calculates counts on demand without slowing the spreadsheet. That said, for datasets under 100,000 rows, COUNTIFS with proper range management performs perfectly well in practice.

One underused technique is combining COUNTIFS with OFFSET or INDEX to create dynamic range references that shift as new data is added. For example, =COUNTIFS(OFFSET(B1,1,0,COUNTA(B:B)-1,1),"West") builds a criteria range that automatically includes all non-blank rows in column B regardless of how many rows of data exist. This is particularly useful in workbooks where new rows are added regularly and you cannot use a full Excel Table structure. The formula adjusts its own range boundaries every time it calculates, so it never misses new entries and never includes blank rows.

Finally, COUNTIFS integrates naturally with Excel's What-If Analysis tools. You can set up a sensitivity table where one axis varies a criteria value and COUNTIFS recalculates the count for each scenario. For example, a sales analyst might build a table showing how many deals closed at different discount thresholds — 5%, 10%, 15%, 20% — by referencing the threshold cell as the COUNTIFS criteria. Changing the threshold instantly updates all related counts, providing a live sensitivity view without manually rewriting formulas. This kind of interactive modeling is where mastering COUNTIFS really pays off in professional settings.

Excel Spreadsheet - Microsoft Excel certification study resource

Troubleshooting COUNTIFS errors is a skill in its own right, and the most frequent issues fall into predictable categories. A #VALUE! error almost always means your criteria ranges are different sizes. Fix it by carefully checking each range argument and standardizing them to the same start and end row.

A result of zero when you expect a nonzero count usually means a criteria type mismatch — for example, the data column contains numbers stored as text while your criteria is a true number, or vice versa. Use the ISNUMBER function to diagnose whether your data column holds true numbers or text-formatted numbers.

When COUNTIFS returns a count that is lower than expected, the most likely cause is extraneous spaces in your data. A cell containing "West " (with a trailing space) does not match the criteria "West". Fix the data with TRIM applied to the entire column, or use "West*" as a wildcard criteria if you cannot clean the source data. Similarly, hidden characters like non-breaking spaces (character code 160) imported from web data or other applications will cause mismatches that are invisible on screen but break text matching.

Date criteria mismatches are another common source of unexpected zero counts. If your date column is stored as text (dates that are left-aligned in the cell are a telltale sign), COUNTIFS date comparison operators will not work correctly. Convert text dates to real Excel date values using DATEVALUE, or by using Data > Text to Columns and selecting the Date format. Once your dates are genuine Excel serial numbers, comparison operators like >= and <= work reliably in COUNTIFS criteria.

Case sensitivity is not an issue in COUNTIFS because the function is inherently case-insensitive. "west", "West", and "WEST" all match the criteria "West" without any special handling. However, if your use case requires case-sensitive matching — for example, distinguishing product codes "ABC" from "abc" — you need to use SUMPRODUCT with the EXACT function instead: =SUMPRODUCT((EXACT(B2:B100,"ABC"))*1). COUNTIFS alone cannot perform case-sensitive matching, so it is important to know when to reach for SUMPRODUCT as an alternative.

Circular reference errors in COUNTIFS are rare but possible if your formula's criteria range overlaps with the cell containing the formula itself. Excel will warn you about circular references and calculate incorrectly (usually returning 0) when this happens. Always place COUNTIFS formulas in cells that are outside the ranges they reference. If your data and your summary formulas must coexist in the same columns, separate them with blank columns or move the summary section to a different worksheet to eliminate any possibility of circular overlap.

Performance issues in COUNTIFS-heavy workbooks often stem from volatile functions used inside criteria arguments. Functions like NOW(), TODAY(), RAND(), and OFFSET() recalculate every time any cell in the workbook changes, and if they appear inside a COUNTIFS criteria argument, they force the entire COUNTIFS to recalculate on every keystroke. Replace TODAY() with a static date reference stored in a named cell and update it manually, or use a helper column to pre-calculate date comparisons so your COUNTIFS criteria can reference simple values instead of volatile expressions.

For certification exam prep, COUNTIFS questions typically test whether you understand the AND-only logic, how to supply comparison operator criteria as quoted strings concatenated with cell references, the requirement for equal-sized ranges, and how COUNTIFS differs from COUNTIF (single criteria only). Practice writing formulas that combine text, numeric, and date criteria in a single COUNTIFS call. These multi-condition formulas appear regularly on Microsoft Office Specialist (MOS) Excel exams and in data analyst job interviews, making them worth drilling until you can write them from memory.

Putting COUNTIFS into daily practice starts with identifying the right opportunities in your existing work. The next time you find yourself manually filtering a dataset and checking the row count at the bottom of the screen, stop and write a COUNTIFS formula instead. The formula will recalculate automatically when the data changes, it will not accidentally be cleared by someone sorting the table, and it can be referenced by other formulas in your workbook. That single habit shift — formula instead of manual filter — is what turns COUNTIFS from a syntax exercise into a genuine productivity tool.

Building a personal formula library is one of the highest-leverage habits for Excel power users. Create a dedicated worksheet called "Formulas" or "Snippets" in a personal workbook and paste in every useful COUNTIFS pattern you write: the date range version, the wildcard version, the OR workaround, the blank cell version.

Add a column explaining what each formula does and what kind of data it expects. When you encounter a new scenario, check your library first. Over six months, this library becomes more valuable than any textbook because every entry solves a problem you actually encountered with data that actually looks like yours.

Excel Tables (Insert > Table) are the single best infrastructure improvement you can make before writing COUNTIFS formulas. When your data lives in a Table, every column gets a structured reference name like Table1[Region] that is always exactly the right size — no more manual range updates when rows are added. COUNTIFS formulas using structured references like =COUNTIFS(Table1[Region],"West",Table1[Amount],">500") are self-documenting, auto-expanding, and immune to the range-size mismatch error. If you are not already storing your data in Excel Tables, converting them is a five-second operation that pays dividends across every formula you write going forward.

Naming your criteria cells is a complementary practice that makes COUNTIFS formulas readable by anyone on your team. Instead of =COUNTIFS(B2:B500,F1,C2:C500,">"&G1), write =COUNTIFS(RegionData,SelectedRegion,AmountData,">"&MinAmount) using named ranges defined in Formulas > Name Manager. The formula instantly communicates its purpose to a reader who has never seen it before, reduces the chance of accidentally referencing the wrong cell, and makes global changes (such as extending the data range) a single update in the Name Manager rather than a search through dozens of formulas.

Cross-sheet COUNTIFS is a common requirement in multi-tab workbooks where raw data lives on one sheet and summaries live on another. The syntax is exactly the same — just prefix the range with the sheet name: =COUNTIFS(Data!B2:B500,"West",Data!C2:C500,">500"). If the sheet name contains spaces, wrap it in single quotes: =COUNTIFS('Raw Data'!B2:B500,"West",'Raw Data'!C2:C500,">500"). Excel does not limit the number of sheets a COUNTIFS formula can reference, though referencing multiple external workbooks will require those files to be open for the formula to calculate correctly.

Regularly validating your COUNTIFS results against a pivot table is a professional habit that prevents formula drift. After building a new COUNTIFS-based dashboard, create a quick pivot table on the same data and configure it to show the same groupings and conditions. If the COUNTIFS numbers match the pivot exactly, you have high confidence in your formula logic. If they differ, the pivot table is almost certainly correct and your COUNTIFS formula has a criteria or range issue. This cross-validation takes five minutes and can prevent a wrong number from propagating through a report for weeks before anyone notices.

Finally, teach COUNTIFS to at least one colleague. Explaining a concept forces you to identify gaps in your own understanding and to organize your knowledge clearly. Walk someone through a real formula from your work — show them the syntax, demonstrate what happens when you change a criteria, show them the wildcard trick.

Teaching is the highest form of learning for technical skills, and Excel COUNTIFS is the perfect formula to teach because it is immediately useful, the syntax is regular and easy to explain, and the results are visually verifiable. Spreading this skill on your team multiplies the productivity benefit and positions you as a go-to Excel resource.

Excel Questions and Answers

About the Author

Katherine Lee
Katherine LeeMBA, CPA, PHR, PMP

Business Consultant & Professional Certification Advisor

Wharton School, University of Pennsylvania

Katherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.