countif or sumproduct ?

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I have job titles in H2:H54 ( 10 various)
Some are occupied (names in B2:B34)
Some are vacant (B35:B54) nothing in B35:B54
I'd like a formula to count how many are occupied by title, and how many are
vacant by title.

Thanks,

Steve
 
Thank you. In my haste, I wasn't totally clear on what I needed, but while
waiting, another thread helped. This is what produced what I needed, counting
how many occupied or vacant for each job title( refs B3 dragged down and B11
dragged down:

=SUMPRODUCT(N('WC'!$H$2:$H$54=B3),N('WC'!$B$2:$B$54>0)) - for the occupied
and
=SUMPRODUCT(N('WC'!$H$2:$H$54=B11),N('WC'!$B$2:$B$54<=0)) - for the vacant

What is the N mean ?

Thanks,
 
Back
Top