Professional Documents
Culture Documents
How To Use The Excel COUNTIFS Function - Exceljet PDF
How To Use The Excel COUNTIFS Function - Exceljet PDF
How To Use The Excel COUNTIFS Function - Exceljet PDF
Search... Search
Video training
Function Guide
Formula Examp
Formula
Criteria
Excel Shortcuts
Pivot Tables
101 Excel
Functions
Excel Tables
INDEX and
Summary MATCH
The Excel COUNTIFS function returns the count of cells Excel Charts
that meet one or more criteria. COUNTIFS can be used Conditional
with criteria based on dates, numbers, text, and other Formatting
conditions. COUNTIFS supports logical operators (>,<, Custom
<>,=) and wildcards (*,?) for partial matching. Number
Formats
Data Validation
Purpose Nested IF
examples
Count cells that match multiple criteria
Formula
challenges
Return value How-to videos
Excel glossary
The number of times criteria are met Excel people
Excel books
Recent
Syntax
comments
=COUNTIFS (range1, criteria1, [range2], [criteria2], ...)
Key functions
Arguments IF function
VLOOKUP funct
range1 - The rst range to evaulate. SUMIFS
criteria1 - The criteria to use on range1. function
COUNTIFS
range2 - [optional] The second range to evaluate.
function
criteria2 - [optional] The criteria to use on range2. INDEX
function
MATCH
Usage notes function
SUMPRODUCT
COUNTIFS counts the number of cells in a range that
function
match supplied criteria. Unlike the COUNTIF function,
COUNTIFS can apply more than one set of criteria, with
more than one range. Ranges and criteria are applied in
pairs, and only the rst pair is required. For each
additional criteria, you must supply another Hi - I'm Da
range/criteria pairs. Up to 127 range/criteria pairs are and I
allowed. run
Exceljet
Examples with my
wife, Lisa. Our goal is
With the example shown, COUNTIFS can be used to to help you work
count records using 2 criteria as follows: faster in Excel. We
create short videos,
= COUNTIFS(C5:C14,"red",D5:D14,"TX") // and clear examples of
red and TX formulas, functions,
= COUNTIFS(C5:C14,"red",F5:F14,">20") // pivot tables,
red and >20 conditional
formatting, and
Notes: charts. Read more.
Course completion
summary with criteria
This example illustrates
one way to summarize
course completion data
using a criteria, in this case "group". In the example
shown, the formula in I4 is:
=COUNTIFS($B$4:$B$11,$H4,D$4:D$11,"
<>")/COUNTIFS...
=IF(COUNTIFS(name,$F4,course,G$3...
Summary count by
month with COUNTIFS
To create a summary
count by month, you can
use the COUNTIFS
function and the EDATE
function with two
criteria. In the example shown, the formula in G5 is:
=COUNTIFS(dates,">="&F5,dates,"<...
Rank if formula
To rank items in a list
using one or more
criteria, you can use the
COUNTIFS function. In
the example shown, the formula in E5 is:
=COUNTIFS(groups,C5,scores,">"&D5)+1 where "groups"
is the named...
Related videos
Related functions
Excel COUNTIF Function
COUNTIF is a function to
count cells that meet a
single criteria. COUNTIF
can be used to count
cells with dates,
numbers, and text that match speci c criteria. The
COUNTIF function supports logical operators (>,...
Good links
Microsoft COUNTIFS function documentation
Excel Formula
Training
Formulas are the key to getting
things done in Excel. In this
accelerated training, you'll
learn how to use formulas to
manipulate text, work with
dates and times, lookup values with VLOOKUP and
INDEX & MATCH, count and sum with criteria,
dynamically rank values, and create dynamic
ranges. You'll also learn how to troubleshoot, trace
errors, and x problems. Instant access. See
details here.
Learn more