Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
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.

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
Attached Files
File Type: zip dave.zip (15.7 KB, 137 views)
  #3   Report Post  
Junior Member
 
Posts: 2
Red face

Apologies, it won't happen again.
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
Adding minutes & seconds Emily16 Excel Discussion (Misc queries) 5 October 13th 05 10:01 PM
Formatting minutes and seconds to calculate a total average VeronicaO Excel Worksheet Functions 4 October 6th 05 08:42 PM
Formatting Time with Hundredths of Seconds quebro5 Excel Worksheet Functions 1 May 5th 05 03:16 AM
How do I convert 00:03:54 to get 234 seconds? SteverinoNeedsHelp Excel Worksheet Functions 2 March 26th 05 07:17 PM
convert seconds to minutes and seconds Brian Excel Worksheet Functions 2 December 9th 04 09:45 PM


All times are GMT +1. The time now is 02:13 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"