ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Calculation (https://www.excelbanter.com/excel-discussion-misc-queries/148657-calculation.html)

Bill Ridgeway

Calculation
 
I have a rather large spreadsheet (database) with a large number of
formulae. Because the process has been slowed down by the amount of
recalculation I can see the process of the recalculation. This occurs in
batches of perhaps 2 or 3 rows. The odd thing is that these batches appear
out of sequence not, as you'd expect, in chronological order.

Has anyone got a simple answer to this strange behaviour?

Thanks.

Bill Ridgeway



Mike H

Calculation
 
I'm not sure about simple but look he-

http://www.decisionmodels.com/calcsecrets.htm

Mike

"Bill Ridgeway" wrote:

I have a rather large spreadsheet (database) with a large number of
formulae. Because the process has been slowed down by the amount of
recalculation I can see the process of the recalculation. This occurs in
batches of perhaps 2 or 3 rows. The odd thing is that these batches appear
out of sequence not, as you'd expect, in chronological order.

Has anyone got a simple answer to this strange behaviour?

Thanks.

Bill Ridgeway




Bill Ridgeway

Calculation
 
Thanks Mike. As you say it's not so simple. Neither does it answer the
question why (as each re-calculation is dependent on the result of the
immediately previous cell - over 3000 rows) can it re-calculate out of
sequence? I suppose this is just one of those things that we have too
accept!

The general concept seems to be to optimize re-calculation. This supports
the notion that sorting the database slows down re-calculation and that
re-calculation is speeded after copying all the formulae down each column
(which I do from time-to-time).

Regards.

Bill Ridgeway

"Mike H" wrote in message
...
I'm not sure about simple but look he-

http://www.decisionmodels.com/calcsecrets.htm

Mike

"Bill Ridgeway" wrote:

I have a rather large spreadsheet (database) with a large number of
formulae. Because the process has been slowed down by the amount of
recalculation I can see the process of the recalculation. This occurs in
batches of perhaps 2 or 3 rows. The odd thing is that these batches
appear
out of sequence not, as you'd expect, in chronological order.

Has anyone got a simple answer to this strange behaviour?

Thanks.

Bill Ridgeway






Stan Brown

Calculation
 
Mon, 2 Jul 2007 11:25:16 +0100 from Bill Ridgeway <info@
1001solutions.co.uk:
I have a rather large spreadsheet (database) with a large number of
formulae. Because the process has been slowed down by the amount of
recalculation I can see the process of the recalculation. This occurs in
batches of perhaps 2 or 3 rows. The odd thing is that these batches appear
out of sequence not, as you'd expect, in chronological order.


I assume you mean "not in row order" or "not in column order". Unless
you've got a time machine, you are seeing them in chronological
order.

Excel knows about dependencies, so it recalculates such that if B99
is used by A2 they are calculated in that order.

http://msdn2.microsoft.com/en-us/library/aa730921.aspx
explains how Excel does its recalculations (and a lot more).

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/

Bill Ridgeway

Calculation
 
"Stan Brown" wrote in message
t...
Mon, 2 Jul 2007 11:25:16 +0100 from Bill Ridgeway <info@
1001solutions.co.uk:
I have a rather large spreadsheet (database) with a large number of
formulae. Because the process has been slowed down by the amount of
recalculation I can see the process of the recalculation. This occurs in
batches of perhaps 2 or 3 rows. The odd thing is that these batches
appear
out of sequence not, as you'd expect, in chronological order.


I assume you mean "not in row order" or "not in column order". Unless
you've got a time machine, you are seeing them in chronological
order.

Excel knows about dependencies, so it recalculates such that if B99
is used by A2 they are calculated in that order.

http://msdn2.microsoft.com/en-us/library/aa730921.aspx
explains how Excel does its recalculations (and a lot more).

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/


That's interesting! My spreadsheet consists of several columns each cell of
which (except the first) calculates progressively from row 1 through 3000.
it is logical to assume (using the 'dependence' theory) that each cell can
only be calculated using the returned value of the previous cell when the
returned value of the previous cell is known ... I would, therefore, expect
to see a ripple of changed values progressing down the column. It doesn't.
I can see groups of three or four cells (including the last cell) change out
of sequence. That is not logical.

Regards.

Bill Ridgeway



MartinW

Calculation
 
Hi Bill,

I guess what you are saying is that your idea of a logical
chronological order differs from Excels.

From my personal perspective I say "Vive le Difference!"
If Excel were to follow me down some of the shortcuts
that I attempt we would all be in a lot of trouble. <g

Regards
Martin

"Bill Ridgeway" wrote in message
...
I have a rather large spreadsheet (database) with a large number of
formulae. Because the process has been slowed down by the amount of
recalculation I can see the process of the recalculation. This occurs in
batches of perhaps 2 or 3 rows. The odd thing is that these batches appear
out of sequence not, as you'd expect, in chronological order.

Has anyone got a simple answer to this strange behaviour?

Thanks.

Bill Ridgeway





All times are GMT +1. The time now is 08:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com