Hi All,
I have written a VBA application which applies a number of SUMIF formulas to various columns in my dataset. The dataset currently holds 50000 rows and grows larger each month.
Because of this the calculation time is getting longer and longer. At present it takes about 5 minutes.
Having done some testing today I have found that if I create a pivot table from the data and reference that instead, this speeds things up quite considerably.
My question though is can a pivot table be created in memory and referenced from there? I don't need it to be physically on a worksheet as it would only be required temporarily just so that I can reference the row totals. Is this possible or do I definitely have to create it physically?
Thanks.
Bookmarks