ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif Q (https://www.excelbanter.com/excel-worksheet-functions/74498-countif-q.html)

John

Countif Q
 
I'm trying to Count the number of instances of "Yes" in Column A (sheet2)
BUT only if the values in Column A (sheet2) = to a value I have in C8 in
Sheet1

Column A and Column B on sheet2 are both of equal length.
C8 = a date
ColumnA = a range of different date

Thanks



John

Countif Q
 
Sorry my "Yes" and "No" texts are in Column P, not Col A


"John" wrote in message
...
I'm trying to Count the number of instances of "Yes" in Column A (sheet2)
BUT only if the values in Column A (sheet2) = to a value I have in C8 in
Sheet1

Column A and Column B on sheet2 are both of equal length.
C8 = a date
ColumnA = a range of different date

Thanks





John

Countif Q
 
Got this from a posting by Arvi Laanemets

=SUMPRODUCT((P2:P165="Yes")*(A2:A165=Report!C8))

"John" wrote in message
...
I'm trying to Count the number of instances of "Yes" in Column A (sheet2)
BUT only if the values in Column A (sheet2) = to a value I have in C8 in
Sheet1

Column A and Column B on sheet2 are both of equal length.
C8 = a date
ColumnA = a range of different date

Thanks






All times are GMT +1. The time now is 10:45 AM.

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