Test for integers

shinobi

Board Regular
Joined
Oct 4, 2005
Messages
76
Hi

Is there a function in Excel that allows me to check whether a value is an integer or not?

Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

shinobi

Board Regular
Joined
Oct 4, 2005
Messages
76
Thanks. It doesn't quite work with numbers that would be rounded up - eg 14.9...
 

Greg Truby

MrExcel MVP
Joined
Jun 19, 2002
Messages
10,022
JFYI - If you catch an "oops" like that after you post (and we've all made them) and it's before anyone else has posted (i.e. you are the last person to have posted on the thread), you will see a small "x" button over by the edit and quote buttons. Click that to delete the post altogether and make the evidence against you disappear. :LOL:
 

Forum statistics

Threads
1,171,185
Messages
5,874,219
Members
433,037
Latest member
Not Moose

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