Hi
I have the following code to loop though data to perform a series of CountIfs and fill specific cells with the results. However, this is very slow with 100 rows of data and I am concerned that it will be even slower when the number of rows become hundreds or even several thousand.
Could someone suggest a way to improve performance? I was wondering if arrays could be the answer?
The principle is that all the data is in Sheet4. My criteria is to count the number of occurrences the Department 1 to Department 6 against each of the codes LFT, CAV, EXO, EXL, EXC and REM.
The code that I have at the moment (which works very slowly!) is :
Thanks
Bookmarks