Sign in with Microsoft
Sign in or create an account.

Operators specify the type of calculation that you want to perform on elements in a formula—such as addition, subtraction, multiplication, or division. In this article, you'll learn the default order in which operators act upon the elements in a calculation. You'll also learn that how to change this order by using parentheses.

Types of operators

There are four different types of calculation operators: arithmetic, comparison, text concatenation, and reference.

To perform basic mathematical operations such as addition, subtraction, or multiplication—or to combine numbers—and produce numeric results, use the arithmetic operators in this table.

Arithmetic operator



+ (plus sign)



– (minus sign)



* (asterisk)



/ (forward slash)



% (percent sign)



^ (caret)



With the operators in the table below, you can compare two values. When two values are compared by using these operators, the result is a logical value either TRUE or FALSE.

Comparison operator



= (equal sign)

Equal to


> (greater than sign)

Greater than


< (less than sign)

Less than


>= (greater than or equal to sign)

Greater than or equal to


<= (less than or equal to sign)

Less than or equal to


<> (not equal to sign)

Not equal to


Use the ampersand (&) to join, or concatenate, one or more text strings to produce a single piece of text.

Text operator



& (ampersand)

Connects, or concatenates, two values to produce one continuous text value.


Combine ranges of cells for calculations with these operators.

Reference operator



: (colon)

Range operator, which produces one reference to all the cells between two references, including the two references.


, (comma)

Union operator, which combines multiple references into one reference.



Intersection operator, which produces a reference to cells common to the two references.

=SUM(B7:D7 C6:C8)

# (pound)

The # symbol is used in several contexts:

  • Used as part of an error name.

  • Used to indicate insufficient space to render. In most cases, you can widen the column until the contents display properly.

  • Spilled range operator, which is used to reference an entire range in a dynamic array formula.

  • #VALUE!

  • #####

  • =SUM(A2#)

@ (at)

Reference operator, which is used to indicate implicit intersection in a formula. 



The order in which Excel performs operations in formulas

In some cases, the order in which calculation is performed can affect the return value of the formula, so it's important to understand the order— and how you can change the order to obtain the results you expect to see.

Formulas calculate values in a specific order. A formula in Excel always begins with an equal sign (=). The equal sign tells Excel that the characters that follow constitute a formula. After this equal sign, there can be a series of elements to be calculated (the operands), which are separated by calculation operators. Excel calculates the formula from left to right, according to a specific order for each operator in the formula.

If you combine several operators in a single formula, Excel performs the operations in the order shown in the following table. If a formula contains operators with the same precedence — for example, if a formula contains both a multiplication and division operator — Excel evaluates the operators from left to right.



: (colon)

(single space)

, (comma)

Reference operators

Negation (as in –1)





* and /

Multiplication and division

+ and –

Addition and subtraction


Connects two strings of text (concatenation)

< >


To change the order of evaluation, enclose in parentheses the part of the formula to be calculated first. For example, the following formula results in the value of 11, because Excel calculates multiplication before addition. The formula first multiplies 2 by 3, and then adds 5 to the result.


By contrast, if you use parentheses to change the syntax, Excel adds 5 and 2 together and then multiplies the result by 3 to produce 21.


In the example below, the parentheses that enclose the first part of the formula will force Excel to calculate B4+25 first, and then divide the result by the sum of the values in cells D5, E5, and F5.


Watch this video on Operator order in Excel to learn more.

How Excel converts values in formulas

When you enter a formula, Excel expects specific types of values for each operator. If you enter a different kind of value than is expected, Excel may convert the value.

The formula



= "1"+"2"


When you use a plus sign (+), Excel expects numbers in the formula. Even though the quotation marks mean that "1" and "2" are text values, Excel automatically converts the text values to numbers.

= 1+"$4.00"


When a formula expects a number, Excel converts text if it is in a format that would usually be accepted for a number.

= "6/1/2001"-"5/1/2001"


Excel interprets the text as a date in the mm/dd/yyyy format, converts the dates to serial numbers, and then calculates the difference between them.

=SQRT ("8+1")


Excel cannot convert the text to a number because the text "8+1" cannot be converted to a number. You can use "9" or "8"+"1" instead of "8+1" to convert the text to a number and return the result of 3.

= "A"&TRUE


When text is expected, Excel converts numbers and logical values such as TRUE and FALSE to text.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

See Also

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Office Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!