These formulae evaluate to SUMPRODUCT across full column references:
As, with Excel 2007 and above, there are over a million rows in a worksheet. So, in each case, you are making a making a matrix of 1,000,000+ times however many columns. Guaranteed to be slow.
I think you would be better making those references fixed and use an arbitrary high number of rows, say 30,000, 50,000 or 100,000 depending on how many transactions you are likely to need. Bit of a risk but a calculated one.
As you are already preparing helper columns with row numbers, it would make sense if you did that for the transactions sheets. And better to do those calculations once and "build" the range as you have done and then refer to it as required. Then you could accurately calculate the range to use in your INDIRECTs.
Regards, TMS
Bookmarks