example: 12.954; dynamically DELETE number after 'point'????

nescartel

New Member
Joined
Nov 21, 2005
Messages
4
let's say i have 12.954, how to delete numbers after decimal point so that i got 12 as the output? if i just format the cell to have integer values, it will automatically round the number to 13, which i don't want! any solutions? :p
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Is this the result of a formula? If so, try ROUNDDOWN(A1,0) or TRUNC(A1,0) or INT(A1).
 
Upvote 0
rounddown.JPG

Okay, how come when i apply ROUNDDOWN on 1.00 it appears to be 0?! supposed to be 1 right? can anyone help me here? :unsure:
 
Upvote 0
Okay, how come when i apply ROUNDDOWN on 1.00 it appears to be 0?! supposed to be 1 right? can anyone help me here?
The 1 may not actually be 1. Is it a number entered directly? Or the result of a formula? Try selecting the cell with 1 and format it to show more decimal places, you will most likely find that it is actually 0.96754 or something similar.
 
Upvote 0
YUP! that does it!!! :LOL: turns out the number is actually 0.9++ something. solved the problem by adding "+0.01" at the back of the roundup. THANX AGAIN!!! :wink:
 
Upvote 0

Forum statistics

Threads
1,214,817
Messages
6,121,720
Members
449,050
Latest member
MiguekHeka

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