Forum Discussion
Anonymous
9 years agoNot applicable
Margin Divisible by 5?
Hi, I am looking to find a calculation that will tell me whether an item was sold at a margin divisible by five or not. i.e. ..., 35%, 40%, 45%, 50%, ... etc. I figured it would be simple using ...
- Anonymous9 years ago
Sale Prices of $0.00 were creating -infinity values which was screwing it up. I stacked another IF statement on top of the other, saying IF([Sale]=0, IF(MOD([Margin], .05) = 0, "True", "False"), "False")
Anonymous
9 years agoNot applicable
alanhodgson
That results in an error. "The result of a conversion or arethmatic operation is either too large or too small.
Phil_Seamark
The calculated column gives me "An argument of function 'MOD' has the wrong data type or the result is too large or too small" again.
Phil_Seamark
Microsoft Employee
9 years agoTry MOD (int ([margin]*100) ,5)