If you load the Analysis Toolpak Add-in, you can use the ISODD() or
ISEVEN() functions. Note that ISODD works a bit differently, since
it truncates numbers, so if A1 = 3.5
Caveat: it depends on the scale of the numbers to be tested. If A2 > 2^28
(268,435,456), MOD will return #NUM!. This is a known bug in Excel which
Microsoft insists on considering a feature (since they doesn't admit this is
a bug in http://support.microsoft.com/default.aspx?scid=kb;en-us;119083,
it's ipso facto intended, if bizarre and inexplicable, functionality). In
the spirit of this KB article's work-around, it may be safer to use
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.