Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Samantha
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS

excel 2003 does anyone know if there us an order that formulas have to be
entered can someone tell me what they are and why regards and thanks for your
time I know Microsoft refer to them as BOMDAS whatever that means
  #2   Report Post  
Jezebel
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS

BOMDAS = Brackets, Of, Multiplication, Division, Addition, and Subtraction

Nothing particularly Microsoft about this. It's been taught in primary
school maths for decades.




"Samantha" wrote in message
...
excel 2003 does anyone know if there us an order that formulas have to be
entered can someone tell me what they are and why regards and thanks for
your
time I know Microsoft refer to them as BOMDAS whatever that means



  #3   Report Post  
Samantha
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS

Ok well thanks but the question is is there an order of precedence when doing
calculations like do you have to multply before u divide before you add and
subtract in a formula. Some of us are quite alot older and cant remember
primary school stuff thanks anyway

"Jezebel" wrote:

BOMDAS = Brackets, Of, Multiplication, Division, Addition, and Subtraction

Nothing particularly Microsoft about this. It's been taught in primary
school maths for decades.




"Samantha" wrote in message
...
excel 2003 does anyone know if there us an order that formulas have to be
entered can someone tell me what they are and why regards and thanks for
your
time I know Microsoft refer to them as BOMDAS whatever that means




  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS

Samantha wrote...
Ok well thanks but the question is is there an order of precedence when doing
calculations like do you have to multply before u divide before you add and
subtract in a formula. Some of us are quite alot older and cant remember
primary school stuff thanks anyway

....

Parentheses, when present, always determine precedence. That is,
(1+2)*3 necessarily means evaluate 1+2 before multiplying the result by
3. Exponentiation takes precedence over
multiplication/division/addition/subtraction, multiplication and
division take precedence over addition and subtraction. Aside from
that, Excel evaluates *strictly* left to right, so 2/3*4 is always the
same as (2/3)*4 and never like 2/(3*4). This is most noticeable in
exponentiation, in which 2^3^4 evaluates as (2^3)^4 rather than
2^(3^4).

But the *BIG* difference between Excel and most other programming
languages and most textbook mathematical conventions is the sign takes
precedence over exponentiation, i.e., -3^2 evaluates as (-3)^2 rather
than as -(3^2).

So

-3^2/4*5-6+7

evaluates as

((((-3)^2)/4)*5-6)+7

and

-5^4+3/2*7-6*8

evaluates as

(((-5)^4)+((3/2)*7))-(6*8)

  #5   Report Post  
Jezebel
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS


Ok well thanks but the question is is there an order of precedence when
doing
calculations like do you have to multply before u divide before you add
and
subtract in a formula.


Yes there is: BOMDAS.




  #6   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS

On Thu, 10 Nov 2005 16:01:02 -0800, "Samantha"
wrote:

excel 2003 does anyone know if there us an order that formulas have to be
entered can someone tell me what they are and why regards and thanks for your
time I know Microsoft refer to them as BOMDAS whatever that means


Type "calculation operators" or "precedence" into the HELP bar; and select
About calculation operators. It will give you information on the order in
which calculations are performed. And also the use of parentheses.


--ron
  #7   Report Post  
Samantha
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS

thanks harlan you have been the most wonderful help. appreciate it

"Harlan Grove" wrote:

Samantha wrote...
Ok well thanks but the question is is there an order of precedence when doing
calculations like do you have to multply before u divide before you add and
subtract in a formula. Some of us are quite alot older and cant remember
primary school stuff thanks anyway

....

Parentheses, when present, always determine precedence. That is,
(1+2)*3 necessarily means evaluate 1+2 before multiplying the result by
3. Exponentiation takes precedence over
multiplication/division/addition/subtraction, multiplication and
division take precedence over addition and subtraction. Aside from
that, Excel evaluates *strictly* left to right, so 2/3*4 is always the
same as (2/3)*4 and never like 2/(3*4). This is most noticeable in
exponentiation, in which 2^3^4 evaluates as (2^3)^4 rather than
2^(3^4).

But the *BIG* difference between Excel and most other programming
languages and most textbook mathematical conventions is the sign takes
precedence over exponentiation, i.e., -3^2 evaluates as (-3)^2 rather
than as -(3^2).

So

-3^2/4*5-6+7

evaluates as

((((-3)^2)/4)*5-6)+7

and

-5^4+3/2*7-6*8

evaluates as

(((-5)^4)+((3/2)*7))-(6*8)


  #8   Report Post  
Daminc
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS


In Math, the actual order of precidence is BODMAS, I dont know why in
excel the order would be BOMDAS

(Although the results are the same)

Is it just an American thing?


--
Daminc
------------------------------------------------------------------------
Daminc's Profile: http://www.excelforum.com/member.php...o&userid=27074
View this thread: http://www.excelforum.com/showthread...hreadid=484153

  #9   Report Post  
Harlan Grove
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS

Daminc wrote...
In Math, the actual order of precidence is BODMAS, I dont know why in
excel the order would be BOMDAS

(Although the results are the same)


Wrong. 2/3*3 is 2/9 while 2*3/3 is 2 in BOMDAS but 2 in both cases in
BODMAS. Since this 'works' so well for multiplication/division, it's a
mystery why it isn't BODMSA so 2-3+3 and 2+3-3 were always 2, which a
*strict* interpretation of BODMAS would force the first to be -4.

Is it just an American thing?


Nope, it's a programming thing. Programmers, being cleverer than most
mathematicians, realized that multiplication/division and
addition/subtraction are like operations, so few if any programming
languages (in which body I'd include Excel's formulas) give different
precedence to * or / over the other or + or - over the other. Instead,
programming languages determine the order of operations by what's
called associativity. Left associativity means a*b*c is evaluated as
(a*b)*c. Right associativity means a*b*c is evaluated as a*(b*c). Most
languages use left associativity for *, /, + and -. Those languages
that provide an exponentiation operator (^ in BASIC, ** in FORTRAN)
generally give it right associativity. Excel is unlike normal
programming languages in this regard.

Anyway, that's why 1/2*3/4 and 1*2/3*4 respectively evaluate as
((1/2)*3)/4 and ((1*2)/3)*4, which happens to be the same way they'd
evaluate in BASIC, Pascal, C, C++, Java, FORTRAN, Perl, Python, REXX,
Ruby, awk, . . .

It's a computer thing. Which, since the rest of the world basically sat
back and allowed Americans and some Canadians to design most
programming languages, may mean it is an American thing. Shame Algol
never took off.

  #10   Report Post  
Daminc
 
Posts: n/a
Default With formulas does anyone know the order of precedence BOMDAS


Cheers for the clarification ;)


--
Daminc
------------------------------------------------------------------------
Daminc's Profile: http://www.excelforum.com/member.php...o&userid=27074
View this thread: http://www.excelforum.com/showthread...hreadid=484153

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print order of worksheets Stray Doug Excel Discussion (Misc queries) 3 September 21st 05 12:37 AM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Need Formulas for counting multiple conditions OrdOff Excel Worksheet Functions 4 July 3rd 05 06:12 PM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 03:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"