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 PRODUCT is complete. If more than one dummy variable is active at the same time, they should have different letters - e.g. PRODUCT(I,SUM(J,... is fine but PRODUCT(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.

Sum function |

Mathematical formulas |

Help index |