GCFLearnFree.org

This is awesome. There is no excuse not to learn!”

Online Learner

GCFGlobal.org
Creating Opportunities For A Better Life.®
  • All Topics
  • Excel XP
  • Creating Complex Formulas

Excel XP

Single page view print copy

Creating Complex Formulas

Complex Formulas Defined

Simple formulas have one mathematical operation. Complex formulas involve more than one mathematical operation.

The order of mathematical operations is very important. If you enter a formula that contains several operations--like adding, subtracting and dividing--Excel XP knows to work those operations in a specific order. The order of operations is:

  1. Operations enclosed in parenthesis
  2. Exponential calculations (to the power of)
  3. Multiplication and division, whichever comes first
  4. Addition and subtraction, whichever comes first

Using this order, let us see how the formula 120/(8-5)*4-2 is calculated in the following picture:

Breakdown of a Complex Formula

Let's take a look at another example:

2*(6-4) =?

Is the answer 8 or 4? Well, if you ignored the parentheses and calculated in the order in which the numbers appear, 2*6-4, you'd get the wrong answer, 8. You must follow the order of operations to get the correct answer.

To Calculate the Correct Answer:

  • Calculate the operation in parenthesis (6-4), where the answer is 2.
  • Multiply the answer obtained in step #1, which is 2, to the numeric 2* that opened the equation. In other words, multiply 2*2.
  • The answer is 4.

When using formulas with cell references, the results change each time the numbers are edited.

Remember: In Excel, never do math "in your head" and type the answer in a cell where you would expect to have a formula calculate the answer.

previous next
previous 1 2 3 4 5 6 7 8 9 next
Terms Of Use

©1998-2014 Goodwill Community Foundation, Inc. All rights reserved.