We have a range in A1 to A6
1
2
3
4
1
2
I use countif function and enter the function as this
=Countif($A$1:$A$6,$A1) and it gives me the value.
If I enter the function as =Countif($A$1:$A$6,$A$1:$A$6)and enter it as an array formula. it only copies one value to all cells.
On the second instance the formula says that I have two arrays:
1 1
2 2
3 3
4 4
1 1
2 2
In term of an array formula, how could this be interpreted? How could we compare an array with a range? Which element of the first array and which element of second array are compared?
Thank you very much for the help in explaining this.
Guity
1
2
3
4
1
2
I use countif function and enter the function as this
=Countif($A$1:$A$6,$A1) and it gives me the value.
If I enter the function as =Countif($A$1:$A$6,$A$1:$A$6)and enter it as an array formula. it only copies one value to all cells.
On the second instance the formula says that I have two arrays:
1 1
2 2
3 3
4 4
1 1
2 2
In term of an array formula, how could this be interpreted? How could we compare an array with a range? Which element of the first array and which element of second array are compared?
Thank you very much for the help in explaining this.
Guity