View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default count the # of times "name" is in E and "x" in F are in the same r

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)

--
Biff
Microsoft Excel MVP


"Nielly" wrote in message
...
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!