Quik way to eliminate decimals

huorsa

Board Regular
Joined
Feb 15, 2002
Messages
101
Does anybody know a quick way to eliminate decimals, I mean I have 245.89 and I want to convert it to 246, and if I have 298.34 I want to convert it to 298.

I don't want to have 246.00 I just want 246
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
That doesn't work because it just hides the decimals, because if I press F2 I see the number with the decimals.

I want to convert from 56.98 to 57 and 56.49 to 56. If I press F2 I want to see 57 not 56.98
 
Upvote 0
If you want to do it literally...

=TRUNC(A1)

Edit. Upon re-reading your post, it's just:

=ROUND(A1,0)

which, I suppose, needs no exhibit.
 
Upvote 0
huorsa said:
That doesn't work because it just hides the decimals, because if I press F2 I see the number with the decimals.

I want to convert from 56.98 to 57 and 56.49 to 56. If I press F2 I want to see 57 not 56.98

Try the ROUND function ...
y040302h1.xls
ABCD
356.9857
456.4956
Sheet14
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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