Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The formula is pretty simple -- if(A-b-c=0, "OK", "ERROR"). Use it on a
column and around 3-5% gives "ERROR" as result even though the statement is true. Urgent help needed! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you format a cell wit =A-b-c to display 15 digits you'll probably find that isn't not exactly zero.
Look here for a possible explanation http://support.microsoft.com/kb/78113 -- Kind regards, Niek Otten Microsoft MVP - Excel "yhoy" wrote in message ... | The formula is pretty simple -- if(A-b-c=0, "OK", "ERROR"). Use it on a | column and around 3-5% gives "ERROR" as result even though the statement is | true. Urgent help needed! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Out of curiosity, I followed your instruction below and display 30 digits and it's still all zero. Does that sound right? "Niek Otten" wrote: If you format a cell wit =A-b-c to display 15 digits you'll probably find that isn't not exactly zero. Look here for a possible explanation http://support.microsoft.com/kb/78113 -- Kind regards, Niek Otten Microsoft MVP - Excel "yhoy" wrote in message ... | The formula is pretty simple -- if(A-b-c=0, "OK", "ERROR"). Use it on a | column and around 3-5% gives "ERROR" as result even though the statement is | true. Urgent help needed! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No. Follow Ron's advice
-- Kind regards, Niek Otten Microsoft MVP - Excel "yhoy" wrote in message ... | | Out of curiosity, I followed your instruction below and display 30 digits | and it's still all zero. Does that sound right? | | | "Niek Otten" wrote: | | If you format a cell wit =A-b-c to display 15 digits you'll probably find that isn't not exactly zero. | | Look here for a possible explanation | | http://support.microsoft.com/kb/78113 | | -- | Kind regards, | | Niek Otten | Microsoft MVP - Excel | | "yhoy" wrote in message ... | | The formula is pretty simple -- if(A-b-c=0, "OK", "ERROR"). Use it on a | | column and around 3-5% gives "ERROR" as result even though the statement is | | true. Urgent help needed! | | | |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try multiplying the result by 1E16 or something, and see what you get then.
-- David Biddulph "yhoy" wrote in message ... Out of curiosity, I followed your instruction below and display 30 digits and it's still all zero. Does that sound right? "Niek Otten" wrote: If you format a cell wit =A-b-c to display 15 digits you'll probably find that isn't not exactly zero. Look here for a possible explanation http://support.microsoft.com/kb/78113 -- Kind regards, Niek Otten Microsoft MVP - Excel "yhoy" wrote in message ... | The formula is pretty simple -- if(A-b-c=0, "OK", "ERROR"). Use it on a | column and around 3-5% gives "ERROR" as result even though the statement is | true. Urgent help needed! |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Tue, 12 Feb 2008 03:07:00 -0800, yhoy
wrote: The formula is pretty simple -- if(A-b-c=0, "OK", "ERROR"). Use it on a column and around 3-5% gives "ERROR" as result even though the statement is true. Urgent help needed! Try if(round(a-b-c,5) = 0, "OK","ERROR") Change the 5 to some value that gives you sufficient precision for your calculation. Look up "rounding errors" in this NG and also in the MSKB --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
How to change "automax" to "autosum"? (probablyl wrong terminology) | Excel Discussion (Misc queries) | |||
VBA setting formula for a cell causes "Wrong data type" error | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Using the answer IF "true" in another formula? | Excel Worksheet Functions |