Count cells
=SUM(IF(A1:A8=1,(IF(D1:D8="A",1,0))))
"S Muzumdar" wrote:
I have a long table which looks something like this....
1 4 7 A
1 6 5 D
2 7 4 C
4 8 2 D
3 2 9 A
2 1 4 F
5 6 7 D
1 2 3 A
I need a query which counts the number of times "A" appears in the 4th
column for every "1" in column 1. In this case the answer would be 2.
|