IF function
in cell A1 i have $30.83 in cell B1 i have $30.83 in cell C1 i have
=IF(A1<=B1,"Correct","Overcharged") cell c1 is returning Overcharged but the numbers are = anyone know what is going on here? |
IF function
Probably a rounding error - you might have 30.830000001 in one cell
and 30.82999999 in another - they are not exactly equal, although they will look equal in the display. You might like to change the formula to this: =IF(ROUND(A1,2)<=ROUND(B1,2),"Correct","Overcharge d") Hope this helps. Pete On Mar 5, 7:52*pm, jason2444 wrote: in cell A1 i have $30.83 in cell B1 i have $30.83 in cell C1 i have =IF(A1<=B1,"Correct","Overcharged") cell c1 is returning Overcharged but the numbers are = anyone know what is going on here? |
All times are GMT +1. The time now is 02:25 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com