B
Bob Phillips
Roger,
A week or so ago we discussed which is quicker, COUNTA(rng) or
COUNTIF(rng,"<>"). I said I would benchmark it.
As suspected COUNT is quicker. I set up 15,000 cells for each function, the
first run tested against a whole column (=COUNTA(A:A)), the second against
part of a column (=COUNTA(A1:A5000)). In both tests, the COUNTA came out at
over 4 times as quick as COUNTIF.
Regards
Bob
A week or so ago we discussed which is quicker, COUNTA(rng) or
COUNTIF(rng,"<>"). I said I would benchmark it.
As suspected COUNT is quicker. I set up 15,000 cells for each function, the
first run tested against a whole column (=COUNTA(A:A)), the second against
part of a column (=COUNTA(A1:A5000)). In both tests, the COUNTA came out at
over 4 times as quick as COUNTIF.
Regards
Bob