If and CountIF Nesting
COUNTIF works on only one criteria.
For multiple criteria you need to use SUMPRODUCT
=SUMPRODUCT(--(A1:A10="Hartford"),--(B1:B10="Yes"),--(C1:C10="Yes")) will
count all rows for which column A shows Hartford, column B shows Yes, and
column C shows Yes.
Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.
"nperpill" wrote:
I want to create a formula that will calculate how many rows satisfy the
following criteria:
Column A = Hartford
Column B = Yes
Column C = Yes
I'm run into a problem trying to nest the if and countif functions. Thanks!
|