Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
cor cor is offline
external usenet poster
 
Posts: 1
Default how to speed up excel workbook

hi all
i'm running a montecarlo simulation on excel 97. my workbook has 10
sheets with different annual strategies of portfolio insurance. in the
first sheet there is the random stock process, which is copied in the
other sheets (simply with the formula =sheet1!cell1 in every cells).
instead of normsinv i'm using a vba code for the inverse cumulative
function. the last sheet is the output sheet, where i collect three
results for every strategies (so for 1000 simulations i should get
30.000 data). this is done via vba code (calculate and copy the data
in every sheets in the output one).
using my celeron 700mhz notebook it takes 5 min. for 2 steps
simulation. for a 100 steps simulation it should take 4 hours, but the
computer crashes. when i save a change in a cell or a formula, it
takes minutes!

any suggestions for modifying the workbook? is there a way to speed up
the calculations? should i use newer excel (2000 or 2002)? or use a
pentium 3-4 computer?
thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to speed up excel workbook

On thing you could do is in the vba code turn off autocalculate when you
are doing something then turn it back on when you are finished. I
would also turn it off in general for a workbook that has that much
linked data, that way you can make changes and the workbook won't spend
time calculating cells. When you need to have data updated hit F9 and
everything will calculate. That is one way to help. Unfortunatly with
monte carlo sims they are very very big so it is a resource heavy
program. I have developed some monte carlo sims in the past you can
check them out at www.kjtfs.com. I know some can bog down my 1Ghz
machine, but I also have a 3.6Ghz overclocked machine that handles them
in a snap. :) If your simulation is financial based and isn't
proprietary please email it to me so I can look at it. I always like
looking at new monte carlo methods.

Keith
www.kjtfs.com


---
Message posted from http://www.ExcelForum.com/

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 - the need for speed Mike Excel Discussion (Misc queries) 10 February 3rd 09 11:20 PM
Speed of Excel Michael Excel Discussion (Misc queries) 5 January 29th 08 06:03 AM
Calculation speed and workbook size manxman Excel Discussion (Misc queries) 3 October 29th 07 11:51 PM
Can you speed UP drag speed? Ryan W Excel Discussion (Misc queries) 1 October 24th 05 06:09 PM
how do i minimize/maximize a workbook from vba? I want to minimize it durring processing to speed things up a bit Daniel Excel Worksheet Functions 2 July 9th 05 03:35 AM


All times are GMT +1. The time now is 02:27 PM.

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"