Skip to main content
  • Login
Cart
Exceljet logo Exceljet
  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles
Cart
  • Login
  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles
  • Login

You are here

Home › Videos › The order of operations

The order of operations

Transcript 

When evaluating a formula, Excel follows a standard math protocol. First, any expressions in parentheses are evaluated. Next, Excel will solve for any exponents. After exponents, Excel will perform multiplication and division. Finally, Excel will solve for addition and subtraction.

This order of operations can be expressed by the mnemonic phrase "Please Excuse My Dear Aunt Sally" which stands for:

Parentheses
Exponents
Multiplication and Division
Addition and Subtraction

Let's take a look.

Our first example is "3 plus 4 divided by 2". Without any parentheses, Excel will perform division first, then addition. So, 4 divided by 2 = 2, plus 3, which equals 5.

If we want Excel to add 3 and 4 together first, we need to add parentheses around the 3 and 4.

Now, Excel will evaluate the formula as 3 + 4 = 7, divided by 2 = 3.5.

Our next example is "5 minus 3 squared". Without parentheses, Excel will evaluate this as 5 minus 3 squared—solving the exponent first. So, 5 minus 9 = -4.

If we want Excel to carry out the subtraction first, we need to use parentheses around the 5 and 3.

Now Excel will evaluate the formula as 5 minus 3 = 2, squared = 4.

The order of operations works exactly the same with cell references. We can re-write our first example as =C9+D6/F7. Since these cells contain the same values as we used in the first example, we get the same result, 5.

When we add parentheses as we did in the second example, to force Excel to evaluate addition before division, we have =(C9+D6)/F7 which gives us 3.5.

Use parentheses any time you want to make sure that Excel performs one operation before another.

Master Excel with practice. Download this worksheet (and dozens more) in our Core Excel course. Learn by doing.

Dave Bruns Profile Picture

Author

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.

Microsoft Most Valuable Professional Award  

Exceljet Training

  • Excel 101
  • Excel Fundamentals
  • Conditional Formatting
  • Essential Formulas
  • Advanced Formulas
  • Pivot Tables
  • Excel Tables
  • Excel Shortcuts
  • Excel Charts
  • Course Bundles
A really nice clean website that answers excel questions beautifully and understandably. One of the very best I have seen. keep up the good work.
Geoff
More Testimonials

Get Training

Quick, clean, and to the point training

Learn Excel with high quality video training. Our videos are quick, clean, and to the point, so you can learn Excel in less time, and easily review key topics when needed. Each video comes with its own practice worksheet.

View Paid Training & Bundles
Excel foundational video course
Excel Pivot Table video training course
Excel formulas and functions video training course
Excel Charts video training course
Video training for Excel Tables
Dynamic Array Formulas
Exceljet logo Exceljet
Quick, clean, and to the point

Resources

  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles

About Us

  • About
  • Testimonials
  • Topics
  • Contact
  • Donate

Newsletter Sign-up

Work faster in Excel. Join more than 100,000 people who get weekly tips from us.
© 2012-2025 Exceljet. Terms of use
  • Visit our Twitter page