MOD(Range,2)=0 will create an array of Boolean values where TRUE will mean the number is even and FALSE will mean the number is not even. We then convert these TRUE and FALSE values to 1 and 0 values by multiplying the array by 1. This will give us the count of the number of even numbers in the range. In our example MOD({1.36;-2;2;9;10;7;1.33;8},2)=0 will result in the following Boolean array. When we multiply this by 1 we get {0;1;1;0;1;0;0;1}. Then SUM({0;1;1;0;1;0;0;1}) results in 4 which is the count of even numbers in our range of values.

How To Count All Even Numbers In A Range - 82