# Quik way to eliminate decimals

#### huorsa

##### Board Regular
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.

#### phantom1975

##### MrExcel MVP
You could format the cells as NUMBER with 0 decimal places.

#### huorsa

##### Board Regular
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

##### MrExcel MVP
If you want to do it literally...

=TRUNC(A1)

=ROUND(A1,0)

which, I suppose, needs no exhibit.

#### Yogi Anand

##### MrExcel MVP
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

Replies
0
Views
126
Replies
8
Views
101
Replies
3
Views
2K
Replies
1
Views
134
Replies
9
Views
873

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

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.

### Which adblocker are you using?

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

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