I would like to write a formula that returns "True" if ALL of a specific set of cells are marked with an 'X'. For example below....
A B C D E
1 X
2
3 X X
4 X
5 X
One way to check that ALL of those values have an 'X' is with the formula below
=IF( AND(A1 = "X", A3 = "X", B3 = "X", B4 = "X", C5 = "X"), "True", "false")
However, A3:B3 is a similar grouping, but the comparison statement doesn't recognize that for the purposes
=IF( AND(A1 = "X", A3:B3 = "X", B4 = "X", C5 = "X"), "True", "false")
Is there a shorthand way to compare a range of cells to a single value?
=COUNTIF(A1:C5,"X")=COUNTA(A1:C5)
– BigBen