count the # of times "name" is in E and "x" in F are in the same r

  • Thread starter Thread starter Nielly
  • Start date Start date
N

Nielly

Not exactly sure how to describe it best. Just need a tally of the times a
two different names in two different columns are on the same row. Thanks!
 
Try something like this...

=SUMPRODUCT(--(A2:A10="Biff"),--(B2:B10="Betty"))

Better to use cells to hold the criteria.

D2 = Biff
E2 = Betty

=SUMPRODUCT(--(A2:A10=D2),--(B2:B10=E2))

If you happen to be using Excel 2007:

=COUNTIFS(A2:A10,D2,B2:B10,E2)
 
Hi,

In 2007:

=COUNTIFS(E1:E9,"Shane",F1:F9,"x")

or if the name is in A1

=COUNTIFS(E1:E9,A1,F1:F9,"x")
 
Back
Top