Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to take a list of numbers and see if they are divisable by 5. If they
are, then the division would return a whole number. I want to create an IF statement that lets let me know if the number was or was not a whole number and therefore divisible by 5. I can do the math but I can not find a function that tells me if the results of the division were a whole number. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(MOD(A1,5)=0,"divisible by 5","not divisible by 5")
-- David Biddulph "MWG" wrote in message ... I want to take a list of numbers and see if they are divisable by 5. If they are, then the division would return a whole number. I want to create an IF statement that lets let me know if the number was or was not a whole number and therefore divisible by 5. I can do the math but I can not find a function that tells me if the results of the division were a whole number. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(MOD(A1,1)=0,"whole number","not whole number")
-- Kind regards, Niek Otten Microsoft MVP - Excel "David Biddulph" <groups [at] biddulph.org.uk wrote in message ... | =IF(MOD(A1,5)=0,"divisible by 5","not divisible by 5") | -- | David Biddulph | | "MWG" wrote in message | ... | I want to take a list of numbers and see if they are divisable by 5. If | they | are, then the division would return a whole number. I want to create an | IF | statement that lets let me know if the number was or was not a whole | number | and therefore divisible by 5. I can do the math but I can not find a | function that tells me if the results of the division were a whole number. | | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
countif formula to find the occurances of a number that is greater than one number but less than another | Excel Discussion (Misc queries) | |||
convert text-format number to number in excel 2000%3f | Excel Discussion (Misc queries) | |||
Count number of times a specific number is displayed in a cell ran | Excel Worksheet Functions | |||
excel format cells/Number/Category: Number problem | Excel Discussion (Misc queries) | |||
Rounding a number to a multiple quantity that adds to a fixed total number | Excel Worksheet Functions |