Excel Rounding Issue

love and hate excel

New Member
Joined
Mar 22, 2023
Messages
4
Office Version
  1. 365
I would like to round these three numbers to 4 decimal places using formula.

Initial Data
Required Result
37464.0120999999​
37464.0121​
37464.0121999999​
37464.0122​
37464.0122999999​
37464.0123​

I then want to copy and paste values on the formula. (It’s for a large volume of data so I want the end user to avoid any calculations)

I would like the numbers stored as numbers, not text. (I want to avoid using “Text to columns” function to fix it)

Is it possible???
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi & welcome to MrExcel.
How about
Excel Formula:
=ROUND(A2,4)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=ROUND(A2,4)
I tried that, unfortunately it didn't work - when I copied and pasted the values, the middle number reverted to more than 4 decimal places:

37464.0121​
37464.0121999999​
37464.0123​
 
Upvote 0
Try
Excel Formula:
=TRUNC(ROUND(A2,4),4)
 
Upvote 0
Not sure there's much you can do about it. It's down to floating point precision.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0
It would help if you posted your data with the forum's tool named XL2BB.
Please ensure that you do not have extraneous characters in your data.

T202303a.xlsm
AB
1Display 4 decimal places
237464.012099999937,464.0121
337464.012199999937,464.0122
437464.012299999937,464.0123
4c
Cell Formulas
RangeFormula
B2:B4B2=ROUND(A2,4)
 
Upvote 0
Maybe you missed posts#2 & 3 ;)
 
Upvote 0

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

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