Hello,
Any help would be appreciated.
I have a workbook which processes and analyses 5k to 20k lines rows of data at a time through macros. Unfortunately, the macro runs very slowly (5-20 minutes)… Trying to find the bottleneck, I found that a couple of formulas are slowing everything down:
The formulas which calculate unique instances of a combination of 'person', 'week', and 'area'. See below:
Unique Persons and dates combinations only
Formula:Please Login or Register to view this content.
Unique Persons, dates, and area combinations
Formula:Please Login or Register to view this content.
Any way to make these more efficient? Or less resource intensive. I attached an example workbook in case it could help (Attachment HERE: uniqueCount.xlsx)
I read that using SUMPRODUCT might be quicker but not by much, would VBA be better? I saw someone create a user defined function for something similar but it was too different from my situation for me to be able to use.
Thanks,
Goeff.
Bookmarks