I hope you do enjoy this free blog. I only ask one thing from you in return, click in one of the ads

Wednesday, 21 January 2015

COUNTIFS function

Category: Statistical functions


What does this function do?


Count the cells in a range that meet one or more specified conditions.



Syntax:


COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)

  • criteria_range1 (required): The first range in which to evaluate the associated criteria.
  • criteria1 (required): The criteria in the form of a number, expression, cell reference, or text that define which cells will be counted. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32".
  • criteria_range2, criteria2, ...(optional): Additional ranges and their associated criteria. Up to 127 range/criteria pairs are allowed.


Examples:


=COUNTIFS(A1:A3, “>1″) = 2 if A1:A3={1,2,3}
=COUNTIFS(B1:B5,1,A1:A5,”>1″) = 1 if B1:B5 ={1;0;0;1;1} and A1:A5 ={0;2;3;4;4}

No comments:

Post a Comment