PDA

View Full Version : Making Processing Faster



Custos
09-21-2006, 02:01 AM
I have a problem in that i have a series of Vlookup formulas that can be automatically expand to 60,000 lines depending on how many reference cells there are. My problem though is that when Excel calculates all these cells the workbook hangs for quite a while, while processing this data.

Is there anyway to speed up the processing of formulas in excel using VBA? (i.e. like taking out a safety measure then reapplying that safety measure, like Application.ScreenUpdating function.)

Thanks in advance.

ALe
09-21-2006, 03:52 AM
this article explains some hints to make vlookup faster. hope it helps
http://www.decisionmodels.com/optspeede.htm

Custos
09-21-2006, 03:58 AM
Thank you Ale but the version i am using does not have this function availavle yet. Is there no other way of making calculations run faster?

ALe
09-21-2006, 04:15 AM
which function?

Ken Puls
09-21-2006, 04:21 PM
CUriuos, what version of Excel are you on?

For reference, the only formula that is referred to there that you won't have (don't care what version) is AVLOOKUP, as that is a function of the FastExcel product. If you scroll down the list, there are several helpful tips there, as ALe mentions. Just a couple are:


Avoid using exact match lookup if possible.
If speed is critical keep Lookups and Data on the same sheet.
SORT your data and use approximate Match.
The smaller the Range the better.
etc...