J
Jeff Evans
Excel 2002 (10.6789.6735) SP3
TreePlan add-in (not used in referenced spreadsheet)
Hi,
I have a spreadsheet with a large number of random numbers being
calculated to perform what is essentially Monte Carlo integration. I'm
having a very hard time understanding how the calculations work in
Excel, such that the calculation time required can increase by many
orders of magnitude, after adding a single cell reference. To see what
I mean, please download my spreadsheet:
https://netfiles.uiuc.edu/jwevans1/www/temp/spreadsheet.zip
I have manual calculation disabled. When I manually recalculate (F9),
it finishes in two seconds or less, with all the numbers in the large
table being updated as well as the values at the top of the sheet.
However, suppose I want to add another value at the top which references
anything in the table, or another value derived from the table. For
example, it could be something as simple as setting any empty cell equal
to D4. After adding this new value (which depends directly or
indirectly on the values in the large table), the time for the NEXT
recalculation takes on the order of minutes or perhaps longer (I didn't
wait around).
My original intention was to add some statistics such as standard
deviation, standard error, etc. but found that even contrived
"calculations" cause the massive slowdown as well.
Can anyone shed some light on what is going on, or how to fix it? Thanks.
TreePlan add-in (not used in referenced spreadsheet)
Hi,
I have a spreadsheet with a large number of random numbers being
calculated to perform what is essentially Monte Carlo integration. I'm
having a very hard time understanding how the calculations work in
Excel, such that the calculation time required can increase by many
orders of magnitude, after adding a single cell reference. To see what
I mean, please download my spreadsheet:
https://netfiles.uiuc.edu/jwevans1/www/temp/spreadsheet.zip
I have manual calculation disabled. When I manually recalculate (F9),
it finishes in two seconds or less, with all the numbers in the large
table being updated as well as the values at the top of the sheet.
However, suppose I want to add another value at the top which references
anything in the table, or another value derived from the table. For
example, it could be something as simple as setting any empty cell equal
to D4. After adding this new value (which depends directly or
indirectly on the values in the large table), the time for the NEXT
recalculation takes on the order of minutes or perhaps longer (I didn't
wait around).
My original intention was to add some statistics such as standard
deviation, standard error, etc. but found that even contrived
"calculations" cause the massive slowdown as well.
Can anyone shed some light on what is going on, or how to fix it? Thanks.