View Single Post
  #3   Report Post  
Debi
 
Posts: n/a
Default how do I count the numbers of row that meet 2 criteria

Thanks for your assistance.
Woud you be able to clarify one thing for me thougjh? What do the double
minus sign represent (--)

"Duke Carey" wrote:

=sumproduct(--(B1:B1000="DR"),--(J1:J1000="f"))

"Debi" wrote:

I am atempting to count how many occurances there are when two criteria are
met in the same row but different cells For example in row b there are
initials and in row j there are two different letter f and h. I would like
the total number of rows that have the initials DR in column b and the letter
f in column j. Sound simple but I can't seem to get it