Forum Discussion
Geeta700
Dec 18, 2021Copper Contributor
IF comparison not returning correct value
Hi Could somebody pls help me see what I am doing wrong here. I want to compare the contents of cell O5 with the contents of Z40. If its the same return "balanced" if not return "error". The cont...
HansVogelaar
Dec 18, 2021MVP
Probably a rounding error.
Change the formula to
=IF(ROUND(O5,2)=ROUND(Z40,2),"balanced","error")
Geeta700
Dec 18, 2021Copper Contributor
Thank you Hans. It worked. Sooo good to have this forum.