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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

huorsa

Board Regular
Joined
Feb 15, 2002
Messages
101
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
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
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.
 

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
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
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,492
Messages
5,764,692
Members
425,230
Latest member
DzOus

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
Top