Seagull over NZ
Well-known member
OK, got an odd one for you.
In cell A1 type the value 25.52. In cell B1 type 161.71. In cell C1 type 187.23
Hopefully you will agree that 25.52 plus 161.71 equals 187.23.
Now in cell D1 type the following formula:
=IF(ROUND(+A1+B1-C1,2)=0,C1,+A1)
Basically this is saying that if A1 and B1 added together equal C1, then take C1, else take A1.
Now, if you remove the round function and put in cell E1 the following formula:
=IF(+A1+B1-C1=0,C1,+A1)
So tell me, why do you get 2 different answers when you haven't typed in more than 2 decimal places?
Is this an excel bug??
Sorry its a bit dull but this has caused about 5 professional qualified accountants a right nightmare !!
In cell A1 type the value 25.52. In cell B1 type 161.71. In cell C1 type 187.23
Hopefully you will agree that 25.52 plus 161.71 equals 187.23.
Now in cell D1 type the following formula:
=IF(ROUND(+A1+B1-C1,2)=0,C1,+A1)
Basically this is saying that if A1 and B1 added together equal C1, then take C1, else take A1.
Now, if you remove the round function and put in cell E1 the following formula:
=IF(+A1+B1-C1=0,C1,+A1)
So tell me, why do you get 2 different answers when you haven't typed in more than 2 decimal places?
Is this an excel bug??
Sorry its a bit dull but this has caused about 5 professional qualified accountants a right nightmare !!