ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   COUNTA with IF trouble... (https://www.excelbanter.com/excel-worksheet-functions/52388-counta-if-trouble.html)

TEAM

COUNTA with IF trouble...
 

I am working with the following formula...

{=COUNTA(IF(C16:C500=K3,H16:H500))}


My goal is to look at that data in column C to locate all rows
corresponding to a specific data entry (K3). Then, from that narrowed
list of rows, I want to count the number of cells in column H that are
nonblank.


Any ideas?


--
TEAM
------------------------------------------------------------------------
TEAM's Profile: http://www.excelforum.com/member.php...o&userid=22810
View this thread: http://www.excelforum.com/showthread...hreadid=479459


Domenic

COUNTA with IF trouble...
 
Try...

=SUM(IF((C16:C500=K3)*(H16:H500<""),1))

....confirmed with CONTROL+SHIFT+ENTER, or...

=SUMPRODUCT(--(C16:C500=K3),--(H16:H500<""))

....confirmed with just ENTER.

Hope this helps!

In article ,
TEAM wrote:

I am working with the following formula...

{=COUNTA(IF(C16:C500=K3,H16:H500))}


My goal is to look at that data in column C to locate all rows
corresponding to a specific data entry (K3). Then, from that narrowed
list of rows, I want to count the number of cells in column H that are
nonblank.


Any ideas?



All times are GMT +1. The time now is 11:15 AM.

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