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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

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,014
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,137,329
Messages
5,680,853
Members
419,935
Latest member
analyst0503

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