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 chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

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