This function counts the number of items which match multiple criterias set by the user.
Syntax
=COUNTIFS(RangeOfThings,Criteria1ToBeMatched,RangeOfThingsToBeCounted,Criteria2ToBeMatched)
The criteria can be typed in any of the following ways.
To match a piece of text type the text in quotes, such as =COUNTIFS(A1:A5,"Hello",B1:B5,"dp")
To match using operators surround the expression with quotes, such as =COUNTIFS(A1:A5,">50",B1:B5,"43")
To match a specific number type the number, such as =COUNTIFS(A1:A5,100,B1:B5,50)
Example:
Syntax
=COUNTIFS(RangeOfThings,Criteria1ToBeMatched,RangeOfThingsToBeCounted,Criteria2ToBeMatched)
The criteria can be typed in any of the following ways.
To match a piece of text type the text in quotes, such as =COUNTIFS(A1:A5,"Hello",B1:B5,"dp")
To match using operators surround the expression with quotes, such as =COUNTIFS(A1:A5,">50",B1:B5,"43")
To match a specific number type the number, such as =COUNTIFS(A1:A5,100,B1:B5,50)
Example:
Comments
Post a Comment