Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I appear to have a problem with formulas in Excel. formulas where a cell
containing a formula cannot be compared to a cell containing an input value example: =IF(BC13=H10,1,0) where BC13 is a formula referencing other cells to return a numerical result and H10= input value. The formula was working last week, and suddenly it fails. Example of cell BC13: =A1+A2 if A1=2 and A2=4 the result comes back as 6 a correct answer, but if I type 6 into cell H10, the logic formula returns 0, not the intended 1 result. What is going wrong and how do I fix the problem? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Are you
-- David Biddulph "mrpick6" wrote in message ... I appear to have a problem with formulas in Excel. formulas where a cell containing a formula cannot be compared to a cell containing an input value example: =IF(BC13=H10,1,0) where BC13 is a formula referencing other cells to return a numerical result and H10= input value. The formula was working last week, and suddenly it fails. Example of cell BC13: =A1+A2 if A1=2 and A2=4 the result comes back as 6 a correct answer, but if I type 6 into cell H10, the logic formula returns 0, not the intended 1 result. What is going wrong and how do I fix the problem? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sorry. Machine hiccup and it sent the message before I'd finished it.
Are you sure that the values in A1 and A2 are exactly 2 and 4 respectively, or are they values which have been rounded to 2 and 4? What does =A1+A2-6 show you? What do you see if you format A1 and A2 and BC13 with 16 decimal places or so? Perhaps you want =IF(ROUND(BC13,0)=H10,1,0) or even =IF(ROUND(BC13,0)=ROUND(H10,0),1,0) ? -- David Biddulph "David Biddulph" <groups [at] biddulph.org.uk wrote in message ... Are you -- David Biddulph "mrpick6" wrote in message ... I appear to have a problem with formulas in Excel. formulas where a cell containing a formula cannot be compared to a cell containing an input value example: =IF(BC13=H10,1,0) where BC13 is a formula referencing other cells to return a numerical result and H10= input value. The formula was working last week, and suddenly it fails. Example of cell BC13: =A1+A2 if A1=2 and A2=4 the result comes back as 6 a correct answer, but if I type 6 into cell H10, the logic formula returns 0, not the intended 1 result. What is going wrong and how do I fix the problem? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula Errors / #Value! | Excel Worksheet Functions | |||
Mod a Formula For Errors | Excel Worksheet Functions | |||
Excel Throwing Circular Errors When No Errors Exist | Excel Worksheet Functions | |||
Formula errors | Excel Discussion (Misc queries) | |||
Unresolved Errors in IF Statements - Errors do not show in results | Excel Worksheet Functions |