Using COUNTIF with 2 criteria - SUMPRODUCT?

M

Mike R.

Greetings,
I would like to COUNTIF with 2 criteria and I have read on how to use
SUMPRODUCT to accomplish this. However, I am still getting a pretty #NUM!
error in the calculation. Here is my formula:

=SUMPRODUCT(--('Turnover Details by HR Group'!D:D=A4),--('Turnover Details
by HR Group'!B:B=$B$2))

Please help. Thank you,
Mike
 
J

Jason Morin

SUMPRODUCT nor array formulas can handle entire column
references. Rather than using D:D, use something like
D1:D2000.

HTH
Jason
Atlanta, GA
 
M

Mike R.

Perfect... I thought there was something wierd like that, I just couldn't
remember or find it in the newsgroup. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top