A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi
I'm AnnaThomas and I'd happily help you with your question. In this Forum, we are Microsoft consumers just like yourself.
The issue you are experiencing is due to the fact that Excel uses floating-point arithmetic to perform calculations, which can sometimes lead to inaccuracies in the results. This can be especially problematic when working with trigonometric functions such as ACOS.
In your case, the difference in results between the two formulas is due to the fact that you are using different values for the input of the COS function. The value of 90-28,6557 is not exactly equal to 61,3443 due to floating-point inaccuracies. When you use the calculated value of 61,3443 instead of 90-28,6557 as input for the COS function, you get a more accurate result.
To avoid floating-point inaccuracies in Excel, you can try setting the "Precision as displayed" option before applying a number format to your data. This option forces the value of each number in the worksheet to be at the precision that is displayed on the worksheet.
Another way to avoid floating-point inaccuracies is to use the ROUND function to round your results to a specific number of decimal places. This can help eliminate small differences that may arise due to floating-point inaccuracies.
I hope this helps ;-), let me know if this is contrary to what you need, I would still be helpful to answer more of your questions.
Best Regards,
AnnaThomas
Give back to the community. Help the next person with this problem by indicating whether this answer solved your problem. Click Yes or No at the bottom.