Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculated Values

A particular spreadsheet of mine automatically turns numerical math formulas
into the calculated value. (e.g. =A13/8/100 becomes =A13/.008 which, by the
way, isn't even correct for precedence of operations). If I type
=A13/(8)/(100) the formula is preserved, and the calculation is correct. I
don't have this problem on other spreadsheets; how do I fix this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Calculated Values

Both of the examples you give are the equivalent to dividing by 800 and
precedence isn't an issue because 1/8/100 gives the same result as 1/100/8
=0.00125

Assuming a 1 in A13, if you really get 125.0 (a13/.008) for a13/8/100 then
that is indeed surprising.

What number do you have in A13 and what do you expect the answer to be?

Mike

"ssoerens" wrote:

A particular spreadsheet of mine automatically turns numerical math formulas
into the calculated value. (e.g. =A13/8/100 becomes =A13/.008 which, by the
way, isn't even correct for precedence of operations). If I type
=A13/(8)/(100) the formula is preserved, and the calculation is correct. I
don't have this problem on other spreadsheets; how do I fix this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculated Values

Dear Mike,

There are actually two issues here, and precedence is one of them. When the
operators are of equal precedence, they are supposed to execute from left to
right, exactly as you showed in your example. In my problem A13/8/1000
really did evaluate itself to A13/.008. (Sorry about leaving off the last
'0' in my initial post.) Instead of the expected value of (A13/8)/1000, my
result was equivalent to A13/(8/1000). That is the wrong precedence.

The other issue is that a (numeric) formula calculates itself within the
cell and diplays the resulting value - instead of the formula - in the
formula bar. The value in my cell A13 is not important. Explicitly, the
value was 173,069. I was taking a dollar amount, to spread over 8 months,
and report it in thousands (of dollars). I have done this type of thing
innumerable times before without trouble; this time I am getting the
"surprising" result. What I saw in the formula bar as the cell contents was
"=A13/0.008". The formula had evaluated itself.

This has happened to me a time or two in the past, that the operator entered
between two numeric values calculates itself within the cell and displays
only the resultant decimal value in the formula bar. I appreciate you taking
the time to have read my post. I hope that there is a solution. Thanks.



"Mike H" wrote:

Both of the examples you give are the equivalent to dividing by 800 and
precedence isn't an issue because 1/8/100 gives the same result as 1/100/8
=0.00125

Assuming a 1 in A13, if you really get 125.0 (a13/.008) for a13/8/100 then
that is indeed surprising.

What number do you have in A13 and what do you expect the answer to be?

Mike

"ssoerens" wrote:

A particular spreadsheet of mine automatically turns numerical math formulas
into the calculated value. (e.g. =A13/8/100 becomes =A13/.008 which, by the
way, isn't even correct for precedence of operations). If I type
=A13/(8)/(100) the formula is preserved, and the calculation is correct. I
don't have this problem on other spreadsheets; how do I fix this?

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
Exporting calculated values Susan Setting up and Configuration of Excel 2 September 11th 06 06:27 PM
Operating on Non Calculated Values Hubie Excel Discussion (Misc queries) 4 April 9th 06 01:49 AM
excel trying to sum a column of calculated values Rowdy Excel Discussion (Misc queries) 4 January 26th 06 10:50 AM
do not graph zero calculated values. Rick James Charts and Charting in Excel 1 May 30th 05 06:43 PM
SumIf(values of non calculated cells in a row...) jekora Excel Worksheet Functions 0 January 19th 05 03:11 PM


All times are GMT +1. The time now is 03:52 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"