ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Counting different colums (https://www.excelbanter.com/new-users-excel/54319-counting-different-colums.html)

gadget

Counting different colums
 

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


Peo Sjoblom

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





All times are GMT +1. The time now is 02:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com