Formula adding 7 decimal places to result

JohnZ1156

Board Regular
Joined
Apr 10, 2021
Messages
160
Office Version
  1. 2021
Platform
  1. Windows
I think I have what is a simple formula that takes values of separate cells and totals them.
This formula is in G756.
=IFERROR(G755-B756+C756+D756+E756,G755-B756+C756+E756) (if error occurs, omit cell in column D)
I checked the results in each of the individual cells, and they all come to an answer with 2 decimal places or less,
but the result of this formula shows me 170623.070000001.
It should simply be 170623.07. Where is the "0000001" coming from?

Must I use the ROUND function for all of the cells in column G?
ex: =IFERROR(ROUND(G755-B756+C756+D756+E756,2),ROUND(G755-B756+C756+E756,2))
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Screen Shot 2023-10-11 at 6.57.46 PM.png


You have tried doing this on the Home tab?
 
Upvote 0
View attachment 100189

You have tried doing this on the Home tab?
Note that will only changed the displayed value, not what is actually stored in the underlying cells, which could be problematic in calculations.

The issue is explained in the article Scott linked.
The two most common solutions to it are:
1. To use the ROUND function
2. To use the "Precision as displayed" setting
Both options are described in the linked article.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,131
Messages
6,123,223
Members
449,091
Latest member
jeremy_bp001

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top