The dummy variable can be any single letter "A" to "Z". If it already represents a variable or parameter, its current value is restored after the SUM is complete. If more than one dummy variable is active at the same time, they should have different letters - e.g. SUM(I,SUM(J,... is fine but SUM(I,SUM(I,... is wrong.
The initial and final values may be expressions, but should not contain the dummy variable. The expression "X" will usually contain the dummy variable. Any other variables that occur in "X" will keep the same values throughout the sum - even if they depend on the dummy variable, they will NOT be re-evaluated for each new value of the dummy variable.
Product function |
Mathematical formulas |
Help index |