Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
"johnT" wrote...
can countif criteria be based on 2 or more sets of data?? such as: =COUNTIF(A1:A8,"=AND(a,b)") No. If you really mean *AND*, and the 'a' and 'b' would be things the cells in A1:A8 could equal, then if a < b, this COUNTIF would always necessarily equal zero. If a = b, then no point to including b. On the other hand, if 'a' and 'b' are just tokens for different conditions, e.g., 'a' = greater than 10, and 'b' = odd integer, then you'd need to use SUMPRODUCT, as in =SUMPRODUCT(--(A1:A810),--(MOD(A1:A8,2)=1)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
counting cells (COUNTIF) based on two or more criteria | Excel Worksheet Functions | |||
Using COUNTIF with 2 criteria - SUMPRODUCT? | Excel Worksheet Functions | |||
Countif with dynamic criteria | Excel Worksheet Functions | |||
use a date range as criteria in a countif formula | Excel Worksheet Functions | |||
How do I get the COUNTIF criteria to recognize only month and yea. | Excel Worksheet Functions |