Search

Excel Operator Precedence

Excel weighs priorities (precedence) for different operators while calculating the result of a formula. When we use many different operators in a complex formula, Excel considers different operators with different priorities (precedence).

For example, let us consider an example of the formula =3+5*4. There are two different possibilities for the result of the formula.

  • (3+5)*4 = 8*4 = 32
  • 3+(5*4) = 3+20 = 23

Refer below image.

operator-precedence-in-excel-example.jpg

Note that Excel has selected the second possibility in above list, that is 3+(5*4) = 3+20 = 23. In other way, Excel has given more precedence (priority) for the multiplication operator, when compared with addition operator.

Following table lists Excel operator precedence.

Operator Description Order of Precedence
: Range reference operator 1st
<space> Intersection reference operator 2nd
, Union reference operator 3rd
- Negation mathematical operator 4th
% Percentage mathematical operator 5th
^ Exponentiation mathematical operator 6th
* and / Multiplication and division mathematical operators 7th
+ and - Addition and subtraction mathematical operators 8th
& Concatenation text operator 9th
=, <, >, <=, >=, <> Comparison operators 10th

Related Tutorials
Cell reference (Cell address)
Range reference
What are Excel formulas
How to write formulas in Excel
How to see all formulas in Excel sheet
Mathematical operators in Excel
Comparison operators in Excel
Concatenate (&) text operator in Excel
Cell or range reference operators in Excel
Union and Intersection of Excel ranges
Operator Precedence in Excel
How to change the operator precedence in Excel
Error messages in Excel Formulas
Hash error in Excel (#### in excel)
Multiple parenthesis in Excel formulas
Trace error in Excel formulas
How to remove trace error arrows in Excel
Relative and absolute reference in Excel
F4 key in Excel formula
Mixed Cell reference in Excel
f