Only want two digits after decimal point.

canadian86

Board Regular
Joined
Feb 6, 2011
Messages
53
I have this in A1:

2217.153225

I want this in B1:

2217.15

I cannot format > change to currency, dollar sign, etc, because that doesn't actually remove the numbers after the cell.. it just doesn't show them. I want to remove them.

Thank you.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
In excel there is an option in the tool bar to define the number of decimals. In Office 2010 or 2007 in the Ribbon under the Number format drop down list.

looks like this

.0
.00
 
Upvote 0
I have this in A1:

2217.153225

I want this in B1:

2217.15

I cannot format > change to currency, dollar sign, etc, because that doesn't actually remove the numbers after the cell.. it just doesn't show them. I want to remove them.

Thank you.
Maybe this is what you had in mind:

=TRUNC(A1,2)
 
Upvote 0
You want to actually REMOVE the value, correct? So that 2217.153225 becomes 2217.150000?

In that case, INT(cell*100)/100 will give you what you want:

cell*100=221715.3225
INT(cell*100)=221715.0000
INT(cell*100)=221715.0000/100=2217.15
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

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