I have a table with two columns, X and Y.
I also have a list of desirable values of X and a list of desirable values of Y.
I am interested in the count of entries in the table that have both a valid entry in column X and a valid entry in column Y and I need a single formula that only refers to whole columns and whole lists.
How can I write an array formula that will check down column X for entries that exist in the validation list for X and then count all of those that also have an entry in column Y that exists in the validation list for Y?
If there were only one column and list I could use:
SUM(COUNTIF(column X, validation list X))
as an array formula.
I have tried using:
SUM(IF(column X = validation list X, IF(column Y = validation list Y, 1, 0) 0))
but this does not work.
I also have a list of desirable values of X and a list of desirable values of Y.
I am interested in the count of entries in the table that have both a valid entry in column X and a valid entry in column Y and I need a single formula that only refers to whole columns and whole lists.
How can I write an array formula that will check down column X for entries that exist in the validation list for X and then count all of those that also have an entry in column Y that exists in the validation list for Y?
If there were only one column and list I could use:
SUM(COUNTIF(column X, validation list X))
as an array formula.
I have tried using:
SUM(IF(column X = validation list X, IF(column Y = validation list Y, 1, 0) 0))
but this does not work.