track
COUNTIF() Excel: Count Cells Based on Conditions
Use Excel’s COUNTIF() function to quickly count cells matching specific criteria like text, numbers, dates, and wildcard characters.
Updated Mar 13, 2025 · 8 min read
Advance Your Career with Excel
Gain the skills to maximize Excel—no experience required.
How do I count duplicates in a column?
Can I use COUNTIF() to count dates based on today’s date?
Can I use COUNTIF() for non-adjacent cells?
How do I use COUNTIF() with case sensitivity?
Topics
Learn Excel with DataCamp
16hrs hr
course
Advanced Excel Functions
2 hr
5.7K
course
Case Study: Analyzing Customer Churn in Excel
1 hr
13.1K
See More
RelatedSee MoreSee More
tutorial
SUMIFS() Function in Excel: Sum Data with Multiple Criteria
The SUMIFS() function in Excel sums values that meet multiple criteria, making it useful for conditional calculations with numbers, dates, and text. Learn to use SUMIFS() with syntax, examples, and best practices.
Laiba Siddiqui
8 min
tutorial
COUNT() SQL FUNCTION
COUNT() lets you count the number of rows that match certain conditions. Learn how to use it in this tutorial.
Travis Tang
3 min
tutorial
Nested IF() in Excel: A Quick Solution for Many Conditions
Discover how to handle complex criteria in a single formula. Elevate your reporting in a way that saves time and effort and reduces mistakes.
Laiba Siddiqui
10 min
tutorial
Conditional Formatting in Excel: A Beginner’s Guide
Explore conditional formatting in Excel with simple to advanced examples and their best practices.
Joleen Bothma
7 min
tutorial
How to Count Unique Values in Excel: What You Need to Know
Learn to count unique values in Excel using basic and advanced formulas. See the difference between unique and distinct values.
Laiba Siddiqui
8 min
tutorial
How to Highlight Duplicates in Excel
Explore how you can identify duplicate entries in Excel using Conditional Formatting, the COUNTIF() formula, and Power Query. Learn best practices and troubleshoot issues.
Laiba Siddiqui
6 min