Testing for an Integer result in a formula

J

JerryG

I'm writing a nested IF statement in which one step needs to test the value
of one cell divided by another cell, and determine if it is an integer before
it completes the calculation.

So, IF cell R10 / I13 = INTEGER, then I'll perform a Future Value calc. IF
NOT = I want to do nothing.

I tried ISEVEN, but when I turned on the Analysis Took Pak nothing happened.
My spreadsheet still did not recognize the ISEVEN.

Suggestions please?
 
D

Daryl S

Jerry -

Use the MOD operator, which tells if there is a remainder after dividing the
two numbers.

=IF(=MOD(R10,I13)=0),<FV Calc here>,"")
 

Ask a Question

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.

Ask a Question

Top