I need a cell to populate as a one when 2 cells meet criteria

L

Loren71

I am looking for a cell to add each time two cells in two different collomns
meet certian criteria
 
J

JE McGimpsey

Perhaps:

if just 2 cells:

=(A1="criterion1") + (B1="criterion2")

if comparing each row in two columns:

=SUMPRODUCT(--(A1:A100="criterion1"),--(B1:B100="criterion2"))
 
Top