#1   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default Simple arithmetic

On Mon, 24 Jan 2005 17:35:21 -0000, "Pat" wrote:

Is the formula wrong or am I wrong?


The formula is doing what it should do according to Excel's rules of
precedence.

The SUM function is superfluous.

In order to obtain the result you posted, you need to rearrange your
parentheses to match the order of calculation precedence in your (manual)
calculation:

=(AR32*AU32+AR32)/1.4+(AS32*AU32+AS32)




--ron
  #2   Report Post  
Jay Somerset
 
Posts: n/a
Default

You have to pay attention to the order of evaluation within any aritjmentic
formula. Multiplication and division are performed before addition and
subtraction.

If you insert a ) before the division sign, to force adding AR32 before
dividing by 1.4, then you get the answer 4.028571429

Your original formula add 4.70/1.4 to 4.70*.2, and then adds the second
term, which is zero.

The answer you get all depends on what expression you really want to
evaluate.



On Mon, 24 Jan 2005 17:35:21 -0000, "Pat" wrote:

Here is a simple arithmetic question

=SUM((AR32*AU32+AR32/1.4)+(AS32*AU32+AS32))

Each of the cell contain the following values:
AR32 = 4.70
AU32 = 20%
AS32 = 0.00

The current formula will return:
4.30

The correct answer according to my calculations is 4.028

Is the formula wrong or am I wrong?

Pat


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
New Excel user needs help with simple Macro... Rahim Kassam New Users to Excel 1 January 24th 05 02:10 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
How do I convert an existing MS Excel worksheet tracking a simple. [email protected] Excel Discussion (Misc queries) 0 January 4th 05 12:53 AM
A simple maco . . . Steve New Users to Excel 3 January 2nd 05 10:36 PM
Simple, Monday morning brain function craigwojo Excel Worksheet Functions 2 November 15th 04 01:43 PM


All times are GMT +1. The time now is 06:58 AM.

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

About Us

"It's about Microsoft Excel"