Order of Operations

Excel performs the operations within a formula in the following order:

1stExponential and equations within parentheses
2ndMultiplication and division
3rdAddition and subtraction

For example, given the formula =C2+B8*4+D10, Excel computes the value of B8*4, then adds that to C2, and then adds D10. Keep this order of operations in mind when you are creating equations because it determines the result.

If you don't take this order into consideration, you could run into problems when entering your formulas. For example, if you want to determine the average of the values in cells A1, B1, and C1, and you enter =A1+B1+C1/3, you'll get the wrong answer. The value in C1 will be divided by 3, and that result will be added to A1+B1. To ...

Get Ten Minute Guide to Excel 97 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.