View Single Post
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Counting different colums

=SUMPRODUCT(--(P1:P1000="yes"),--(G1:G1000=1))


--

Regards,

Peo Sjoblom

"gadget" wrote in
message ...

I am using this and it works perfectly:

=COUNTIF('Issues Registered'!(P:P,"yes")

But I want it to look in another column as well (Count "Yes" in column
P and all "1" in column G). What am I doing wrong?

=COUNTIF('Issues Registered'!(P:P,"yes")(g:g,"1"))

Your help will be appreciated

Mike :)


--
gadget
------------------------------------------------------------------------
gadget's Profile:

http://www.excelforum.com/member.php...o&userid=28648
View this thread: http://www.excelforum.com/showthread...hreadid=483122