# Is there a formula to check the box if the cell does not contain a whole number?

Options
✭✭✭✭✭

I am tracking orders and they need to be in multiples of 360. Is there a formula to figure out if it is a multiple of 360?

I could not figure one out so I have a column dividing the two with the result being either a whole number or not (1 or 1.24). Is there a formula to check a box if the cell is a whole number?

• ✭✭✭✭✭
Options

Use the MOD fonction.

=IF(MOD[Number to check]@row, 360)=0,1,0)

Hope it helped!

• ✭✭✭✭✭
Options

Awesome thank you! Can I interchange the 360 with the number in a cell? Some items have different minimums. I tried it but it did not work with a cell there.

=IF(MOD([Actual Order Qty]@row, [Min Qty Allowed]@row) = 0, 1, 0)

• ✭✭✭✭✭
Options

Sure you can, Make sure that the [Min Qty Allowed] column is filled up with numbers and not text. You can add the VALUE function if needed.

=IF(MOD(VALUE([Actual Order Qty]@row), VALUE([Min Qty Allowed]@row))=0, 1, 0)

If that doesn't work, let us know which kind of error you're getting.

Hope it helped!

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!