+ Reply to Thread
Results 1 to 3 of 3

Order of operations in excel forumals.

  1. #1
    Registered User
    Join Date
    10-24-2014
    Location
    Washington, DC
    MS-Off Ver
    2013
    Posts
    1

    Order of operations in excel forumals.

    Usually when I am using formulas in Excel, I almost always get a dialog box attempting to correct a mistake I made in my formula due to maybe too many parentheses or not enough brackets. So I was wondering what is the order that Excel goes through while working through a formula.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Order of operations in excel forumals.

    Hi aem and welcome to the forum,

    On the Formulas Tab there is a way to evaluate any formula. See it at:

    http://office.microsoft.com/en-us/ex...010342483.aspx

    I think this is what you are looking for.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Order of operations in excel forumals.

    Quote Originally Posted by aem2879 View Post
    Usually when I am using formulas in Excel, I almost always get a dialog box attempting to correct a mistake I made in my formula due to maybe too many parentheses or not enough brackets. So I was wondering what is the order that Excel goes through while working through a formula.
    See:

    http://office.microsoft.com/en-us/excel-help/calculation-operators-and-precedence-HP010342223.aspx

    An important point of confusion: unary negation is higher precedence than exponentiation, which is different from many computer languages. Consequently, -2^2 is 4 instead of -4.

    Yet 0 - 2^2 results in -4 because the minus operator is subtraction, which is lower precedence than exponentiation.

    Many people carp that that is a defect. Granted, it is unfortunate. But it is simply how Microsoft chose to define the order of operation.

    So be sure to write -(2^2), if that is your intent.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Defining the order of operations in this formula
    By penfold1992 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-05-2014, 01:23 PM
  2. Replies: 2
    Last Post: 06-05-2011, 09:46 PM
  3. VBA Order of Operations and 400 Error
    By Ascension in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2010, 08:48 PM
  4. Linking Forumals into One Cell
    By SportsScientist in forum Excel General
    Replies: 4
    Last Post: 06-18-2009, 11:45 AM
  5. Order of Operations
    By pentatonic145 in forum Excel General
    Replies: 1
    Last Post: 04-13-2007, 03:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1