Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings and TIA for your time.
I'm summarising a spreadsheet database using a crosstab. I started off using sumproduct worksheet formulas, but found the recalculation to be very slow. Next I tried concatenating fields in the database and using countif in the crosstab. This improved the worksheet calculation time up by a factor of more than 10. Next i wrote some code to transfer ranges to VBA arrays, operate on VBA arrays using worksheetfunction.sumproduct then transfer the result back to the spreadsheet crosstab. The code worked ok but again there was a performance problem.... which brings me to my question: Could I get a performance advantage by concatenating ranges into aVBA array and operating on the array with VBA functions and then transferring the resulting array back to the spreadsheet crosstab? If so please guide me on the best way to concatenate the arrays and which function(s) to use. -- David |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Summing a crosstab | Excel Worksheet Functions | |||
XL 2007 - Out of Memory - memory leak/bug? | Excel Discussion (Misc queries) | |||
Need crosstab function in excel | Excel Worksheet Functions | |||
Vlookup "crosstab" | Excel Worksheet Functions | |||
Crosstab to Database VBA | Excel Programming |