Multiple ranges for COUNTIF?
Koko
-
Vaucluse Posted messages 27336 Registration date Status Contributor Last intervention -
Vaucluse Posted messages 27336 Registration date Status Contributor Last intervention -
Hello,
I would like to know if it is possible to integrate multiple ranges into a single COUNTIF function rather than adding several separate COUNTIF functions.
For example, I would like the function to indicate how many times I find the value 3 in the ranges A1:A10, B1:B20, and C1:C15.
Thank you very much,
Configuration: Windows XP / Internet Explorer 7.0
I would like to know if it is possible to integrate multiple ranges into a single COUNTIF function rather than adding several separate COUNTIF functions.
For example, I would like the function to indicate how many times I find the value 3 in the ranges A1:A10, B1:B20, and C1:C15.
Thank you very much,
Configuration: Windows XP / Internet Explorer 7.0
5 answers
Good evening
actually there is a solution, but only if your tables are not likely to contain the sought values in the overflowing parts of the shortest ranges
you can then write:
=COUNTIF(A1:C20,3)
Crdlmnt
--
Let’s ask ourselves if we are not the only ones to understand what is being explained?
actually there is a solution, but only if your tables are not likely to contain the sought values in the overflowing parts of the shortest ranges
you can then write:
=COUNTIF(A1:C20,3)
Crdlmnt
--
Let’s ask ourselves if we are not the only ones to understand what is being explained?
In fact, I simply want to use the COUNTIF function, but my range spans across several different columns.
If I take my previous example, can the COUNTIF(range;criteria) function contain a range that spans multiple columns? In terms of function, what I'm trying to do would look something like below... but that would actually work!
COUNTIF((A1:A10;B1:B20;C1:C15);3)
If I take my previous example, can the COUNTIF(range;criteria) function contain a range that spans multiple columns? In terms of function, what I'm trying to do would look something like below... but that would actually work!
COUNTIF((A1:A10;B1:B20;C1:C15);3)
I thought about using the COUNTIFS formula, but it doesn't match what the person wants.
Sorry.
Have a great day everyone :-)
Eric