Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Formula recalculation speed

I have a really large spreadsheet with loads of formulas (lookups and
vlookups plus mathematical functions) But it takes forever to
recalculate cells whenever I cut and paste or change the contents of
any cell within the workbook...
Are there any formulas that are particularly slow and if so, are there
better ways to perform the same task?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Formula recalculation speed

"Steve Slack" wrote in message
om...
I have a really large spreadsheet with loads of formulas (lookups and
vlookups plus mathematical functions) But it takes forever to
recalculate cells whenever I cut and paste or change the contents of
any cell within the workbook...
Are there any formulas that are particularly slow and if so, are there
better ways to perform the same task?
Thanks


There is some good information here that may help you:
http://www.decisionmodels.com/optspeedd.htm


  #3   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Formula recalculation speed

The workbooks that I've seen that are slow recalculating usually have tons of
=vlookups() in them.

In fact, a lot of these have =vlookup() in consecutive columns. The only
difference between the formulas is the column that's returned.

=if(iserror(vlookup(...)),"Missing",if(vlookup(... )="","",vlookup(...)))

And this type of formula could evaluate up to 3 times.

If you have a few columns like this and lots of rows that contain them, you
might want to dedicate a column to look for the match (say column J):

=match(a1,sheet2!a:a,0)

Would return either a number if a match was found or an error (#n/a) if no
match.


Then if column k were to return the value in column B, you could do:

=if(iserror(j1),"missing",index(sheet2!b:b,j1))

And drag down. (You could add that other check if you wanted.)

So you're looking for the match only once per row. And if it's not found, you
don't even go looking for more.





Steve Slack wrote:

I have a really large spreadsheet with loads of formulas (lookups and
vlookups plus mathematical functions) But it takes forever to
recalculate cells whenever I cut and paste or change the contents of
any cell within the workbook...
Are there any formulas that are particularly slow and if so, are there
better ways to perform the same task?
Thanks


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Formula recalculation speed


Very useful, thanks


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 formula recalculation DevTestPerson Excel Discussion (Misc queries) 1 November 28th 08 05:31 PM
Improving Recalculation Speed for Complex Links Andrew Excel Discussion (Misc queries) 0 November 7th 06 09:29 AM
Formula Recalculation Error uknow message board Excel Worksheet Functions 2 September 21st 06 05:33 PM
Recalculation of Formula. Big Rick Excel Discussion (Misc queries) 5 September 8th 05 04:09 PM
Formula Recalculation after using AutoFilter DD in Virginia Excel Worksheet Functions 4 November 8th 04 01:41 AM


All times are GMT +1. The time now is 07:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"