Int question

arlene_fool

Board Regular
Joined
Feb 17, 2007
Messages
55
Excel Workbook
AB
130-Dec-12
221-Jan-130
30.785714
Sheet1
Excel 2010

I want the number in b2 to be 1, shouldnt the int formula round up if the value is over 0.5? please help.

thank you
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
INT will grab the whole number associated with a decimal. You want to use =ROUND(B3,0)
 
Upvote 0
Nope,
INT returns the Integer of the value (the value to left of decimal point)
There is no rounding involved with INT.

If you want it rounded, use ROUND(B3,0)

This will round
.0 - .4999 Down
.5 - .9999 UP
 
Upvote 0
There is rounding with INT, it rounds down to no decimal places.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

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