Forum Discussion
pdowney
Nov 05, 2021Copper Contributor
Calculating formulas to make an IF function work correctly.
Setting up a file to track hours and provide estimates I need for holding back funds. Column C is number of hours. Entries will be in quarter our increments. Column E multiples the value in C * cel...
- Nov 05, 2021
That is so called floating point error. You may change your check sum formula on something like
=IF(ROUND(R20-E20,5)=0,"YES","NO")
SergeiBaklan
Nov 05, 2021Diamond Contributor
That is so called floating point error. You may change your check sum formula on something like
=IF(ROUND(R20-E20,5)=0,"YES","NO")
- pdowneyNov 06, 2021Copper Contributor
SergeiBaklan Thank you. I had looked at rounding, but only from the aspect of applying internal to each calculation. This is much more efficient. I appreciate the help.
- SergeiBaklanNov 06, 2021Diamond Contributor
Here are bit more details about an issue
Floating-point arithmetic may give inaccurate result in Excel - Office | Microsoft Docs