View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default order formulas are updated..

Your formulas should be recalculated in their "natural" sequence. Excel knows which cells depend on which.
However, there are exceptions.
See my standard text on "cells not recalculating correctly". Pay attention to 5. and 6, but don't skip the rest
Please let us know if you had success (or not)

--
Kind regards,

Niek Otten


--
Kind regards,

Niek Otten

================================================== =======

Cells not calculating (correctly)

Niek Otten, March 31, 2006



Most frequent causes:



1. Calculation is set to Automatic. This may have happened unintentionally, for example by opening another workbook first.
Calculation is an Excel-wide setting; the first workbook opened determines the calculation mode, which then applies to all open
workbooks and workbooks that are opened later in that instance of Excel. It can be changed manually (again, for all open
workbooks):
ToolsOptionsCalculation tab, check Automatic.

2. There are User Defined Functions (UDFs) which access cells directly from within the function, that is, not via the
argument list. Then Excel is not aware of the need of recalculation if the precedent cell changes. You can include
Application.Volatile in the function, but there is no guarantee this will always calculate cells in the correct sequence in all
(future) versions of Excel. It also causes the calling cells (and dependents) to always be recalculated, even if not necessary.
Really the best way is to include all precedent cells in the argument list.

3. You see the formulas in the cell, not the answers. Two options: a. ToolsOptionsView, Formulas is checked (you may
accidentally have hit the shortcut key: CTRL+`), b. the cell was formatted as text before you entered the formula. Format as
General and re- enter (F2, ENTER).

4. Excel version 5.0a (yes, very, very old!) has serious recalculation bugs, Excel 97 absolutely needs Service Pack 2 (SP2)
to calculate correctly.

5. Very, very rarely, Excel's dependency tree gets messed up. One way to rebuild it is to find and replace all "=" by "=",
for all sheets. Later versions of Excel rebuild by pressing CTRL+ALT+SHIFT+F9

6. For many calculation secrets, visit Charles William's site:
www.decisionmodels.com

================================================== =======



wrote in message oups.com...
|I have a big workbook with many worksheets, and many formulae in it.
| The problem (which occurs whether I have automatic calculation on, or
| manual) is that since certain formulas work off other formulas, one of
| them is updated before the other, and then the result of one of them is
| wrong. e.g. I'll have a lot of DIV/0 errors since one cell referred to
| is 0, but if I go into that cell and press enter to evaluate only that
| formula (with manual calculation on) then it returns the correct
| number. Then I can manually evaluate the division formula and it's OK.
|
| Is there any help for this? Or anything to allow one to specify which
| ranges are updated before other ranges?
|