rounding to 2 decimal places

Zakky

Board Regular
Joined
Mar 26, 2016
Messages
152
Office Version
  1. 365
Platform
  1. Windows
Please can someone help me with my query.
How do i cut off the surplus numbers in Excel to show only 0.00

0.0000000000000000000000000001234567

I need the new value to be 0.00 not formatted as 0.00

Many thanks in advance
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
can't you click the decrease decimal button in the ribbon?

Home tab, Number group, the button is under the number format field
 
Upvote 0
Hi Zakky

Does this do what you want?

Code:
=ROUNDDOWN(A1,2)

Where A1 is the location of the number. Even if you format the number to be greater than 2 decimal places, the number will only ever be rounded down to 2 decimal places.

Caution, however, as you will lose accuracy, ie the number will be rounded down to 2 decimal places - accuracy beyond that will be permanently lost.

I'm using the ROUNDDOWN() function, but explore whether ROUNDUP() or ROUND() is more appropriate.

Cheers

pvr928
 
Last edited:
Upvote 0
All, Thank you for the prompt reply, much appreciated!

The rounddown function did the trick.

Regards
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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