help - too many decimal places...

RTE

Board Regular
Joined
Jul 24, 2008
Messages
60
Formula result, then copy>paste special/values returned 3.40660841070453

I need to change cell data to 3.40.

Format > decimals (2) does not change data to what I need.

Any ideas on how to reduce the data to only 2 decimal places?

Thanks.
 
Said another way...

I was hoping to display only the rounded value of the cells - not simply the formatted appearance of 2 decimal places.

Make sense what I'm after?
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
This vba line will take the number in A1 (54.6546546465) and round it off to two decimal places and insert that rounded value back into A1 (54.6500000000), leaving no hidden numbers in the thousandths, tenthousandths and beyond.

Code:
Range("a1").Value = Application.WorksheetFunction.round(Range("a1").Value, 2)
 
Upvote 0

Forum statistics

Threads
1,223,630
Messages
6,173,451
Members
452,514
Latest member
cjkelly15

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