LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Recalculation taking a massive 11 seconds


Hi,

I've designed a simple spreadsheet that's looking at a small table of
data and returning 2 values.

(The sheet gets updated by external means, hence I'm using the
worksheet_calculate event).

The average of the 2 is then calculated and used to display historical
Min and Max values (in the Yellow boxes).

These 3 (Average, Min Average, Max Average) are then rounded to
predefined increments.

When I choose selection "A" or "D" and run my code (from a cmdButton)
it takes a MASSIVE 11 seconds on my well specced PC..

But if I choose "B", "C", or "E" and run my code it takes less than 1
second.

My VLOOKUPS seem to be fine, the problem lies somewhere in my MROUND /
INDEX / MATCH formula...


It's maybe best that you look at the attached example 'dave.xls' and
ask if there's anything that you don't understand because I'm useless
at explaining things!

Can someone please help me clean up my code, or work out what is
wrong?

Thanks,

Dave


+-------------------------------------------------------------------+
|Filename: dave.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4034 |
+-------------------------------------------------------------------+

--
David.Allen297
------------------------------------------------------------------------
David.Allen297's Profile: http://www.excelforum.com/member.php...o&userid=27820
View this thread: http://www.excelforum.com/showthread...hreadid=484471

 
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
search massive lynch44 Excel Worksheet Functions 0 May 27th 06 02:10 AM
Converting Julian Seconds with a macro to replace old seconds data Keldair Excel Discussion (Misc queries) 2 February 18th 06 12:09 AM
Recalculation taking a massive 11 seconds David.Allen297 Excel Worksheet Functions 2 November 12th 05 06:46 PM
Recalculation taking a massive 11 seconds David.Allen297 Excel Worksheet Functions 0 November 12th 05 01:21 AM
Convert "Time Interval" in "hours : minutes : seconds" to seconds Ianukotnorth New Users to Excel 7 May 8th 05 08:11 PM


All times are GMT +1. The time now is 02:36 AM.

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

About Us

"It's about Microsoft Excel"