Excel UDF slow - can add-in speed things up?
Posted on 2010-08-26
I have a complex excel workbook with quit some sheets (over 20) with lots of data on it (lets say 30 ranges of 100x100 cells per sheet).
In that workbook there are also a huge amount of formulas that mostly do vlookups, indexes and matches and some ordanary +-*/ calculations. Those formulas are often very complex (4 to 5 lines in the formula bar) so we had to put them in UDF's for readability and to keep things manageable. Which works very nice.
There is only one downside to this workbook: Calculating all formulas can take up to 5 minutes. And because a lot of formulas are linked to one another, we cannot just calculate one sheet but need to do a full calculation.
My question: is there a way to speed up all those UDF's?
I have searced the internet and found quit some stuff to speed things up but it never gives me the complete answer.
One thing that comes back every time is that native Excel functions are much faster than UDF.
So do I have to look for xll, COM/Automation add-in's or are UDF's in VBA still faster?
I have tried xll and COM/Automation add-in's but didn't find a solution yet.
As I mentioned, the formulas do a lot of lookup work so I'm guessing it would be best if I could use the Excel built-in lookup functions as they are quit fast.
But so far I haven't succeeded in making the Excel Built-in functions work within an xll or COM/Automation add-in.
Any workable help or good ideas would be very much appreciated.
ps: Could "Add-in Express 2010 for Microsoft Office and .net" do the job? Can't try that one as there is no trial version available...