Excell 2000 - Cell calculations do not function correctly

I haven't the time to research this one, therefore I need help from the experts.

Creating a worksheet that calculates values both across as well as down. As an example:

| quantity | value | 1.15 | sum |
| quantity | value | 1.15 | sum |
| quantity | value | 1.15 | sum |
| quantity | value | 1.15 | sum |
| quantity | value | 1.15 | sum |
|          |       |      |total|

The value of "sum" is cell 1*cell 2*cell 3

Initially sum calculates correctly, however if I change either the quantity of value figures, sum does not recalculate (or update).

What needs to be changed?

Dennis
LVL 25
dew_associatesAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
GUEENConnect With a Mentor Commented:
PSS ID Number: Q215732
Article last modified on 11-29-2000
 
SYMPTOMS
========
 
When you create a formula in Microsoft Excel that uses the SUMIF() worksheet function, and you then change one of the values that you want to sum, the formula does not return an updated sum as expected.
 
CAUSE
=====
 
This issue can occur if the range that is evaluated for the criteria and the sum_range are not the same length, and the value that you change is outside of the range of the sum_range but inside the range of the cells being evaluated, as in the following example:
 
1. Start Excel, and then create the following worksheet.
 
   A1: 3  B1: 4
  A2: 3  B2: 5
  A3: 3  B3: 6
  A4: 3
 
2. In cell C4, type the following formula:
 
   =SUMIF(A1:A3, A4, B1:B2)
 
   With this formula, you evaluate the range of cells A1:A3 using the criteria in   cell A4. The range of cells that you want to sum is specified as B1:B2, which
  is a different length than the range of cells that you are evaluating. Excel   automatically extends the sum_range to include B3 and returns a value of 15.
 
3. Change the value in cell B3 to 7, and then press F9 to recalculate.
 
B3 is not specified in the formula, therefore the recalculate command doesn't
work as expected.
 
RESOLUTION
==========
 
To resolve this issue, change the formula so that the criteria range and the sum_range are the same length.
 
In the example shown in the "Cause" section, change the formula to read as
follows:
 
   =SUMIF(A1:A3, A4, B1:B3)
 
   -or-
 
   =SUMIF(A1:A2, A4, B1:B2)
 
WORKAROUND
==========
 
To work around this issue, change or delete and then re-enter a value in the specified sum_range.
 
In the example shown in the "Cause" section, after performing step 3, delete the value in B1, and then re-enter the value 4. The formula recalculates and then
returns the correct value of 16.
 
STATUS
======
 
Microsoft has confirmed this to be a problem in the Microsoft products that are
listed at the beginning of this article.
 
REFERENCES
==========
 
For more information about the SUMIF() worksheet function, click Microsoft Excel
2000 Help on the Help menu, type "sumif" (without the quotation marks) in the
Office Assistant or the Answer Wizard, and then click Search to view the topic.
 
0
 
calacucciaCommented:
Hi Dennis,

It seems like you have calculation set to manual.

Go to Tools/Options and on the tab 'Calculation', check the option 'Automatic'.

You can also hit F9 to force a manual recalculation, but if you set it to Automatic as described above, it should work.

calacuccia
0
 
dew_associatesAuthor Commented:
That's what I thought it was originally Cal, but no go, it's set to auto.

0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
calacucciaCommented:
I was already surprised by the person asking this kind of question ;-)

Can you mail me the workbook?

calacuccia@hotmail.com

What happens if you hit CTRL+ALT+F9 ?
0
 
dew_associatesAuthor Commented:
Well Cal, there are those times that output takes priority over why something doesn't work as it should. If I can, I'll strip out the proprietary stuff and send it to you.
0
 
GUEENCommented:
Do you have the cell values as number and not text values (hey I know this is a long shot here - but . . .)
0
 
calacucciaCommented:
Have you tried the CTRL+ALT+F9 thing?

Usually, this solves all calculation problems or bugs (and they exist, see http://support.microsoft.com/support/kb/articles/Q171/3/39.ASP)

0
 
dew_associatesAuthor Commented:
Cal, CTRL+ALT+F9 does update the sum.

Shekerra, the values in the cells are set to numeric.

Cal, the article really doesn't apply here as this is Office 2000 with all of the latest updates and fixes.
0
 
calacucciaCommented:
I'm not surprised the article does not apply, it was more meaned as an example, there are some others I know of:

When Using 'Natural Language Formulas'
http://support.microsoft.com/support/kb/articles/Q200/6/88.ASP

This article shows a method to programmatically force Excel to recalculate, using the Application.CalculateFull method.

Is your problem (the urgent one) solved now?
0
 
TriskelionCommented:
Were all of the values typed in or pasted from something else?
If you retype all (ALL) of the values (ALL), will it recalc?

If that does nothing...
Can you copy the contents and paste them into a fresh sheet?
0
 
GUEENCommented:
Hmmmm do you have Office 2000 patched?
Perhaps you have an addin that turns calculation off?

How about putting this statement at the top of VBA function:
Application.Volatile (True)

Per chance are you using autofilter?






0
 
GUEENCommented:
Private Sub Worksheet_Activate()
ActiveSheet.Calculate
End Sub
0
 
calacucciaCommented:
shekerra,

Application.Volatile (True) is a dangerous thing to do, especially when working with big workbooks.

It means that ALL functions are recalculated whenever any change is made to the workbook. This means slow performance. I would not use this as long as not needed absolutely.
0
 
GUEENCommented:
OK Cal agreed - I wasn't aware that this was a big WB.
0
 
dew_associatesAuthor Commented:
Hmmm, okay group, gimme time to go through some of this.
0
 
dew_associatesAuthor Commented:
Sure, it had to be the last thing I checked on this list. Thanks gang.
0
 
calacucciaCommented:
Well found, shekerra. I did not see this link in my queeste.
0
 
GUEENCommented:
Cal - I found it on technet :)
0
All Courses

From novice to tech pro — start learning today.