View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tim[_6_] Tim[_6_] is offline
external usenet poster
 
Posts: 10
Default help with mod function

I have a problem with the mod function...I need to make it conditional on
the related adjacent cell...here's what I have

=IF(K2=180,MOD(K2,180))

What I need is if K2 is equal to or greater than 180 then execute the mod
function in the appropriate adjacent cell
If K2 is less than 180 then do not execute the mode function in the adjacent
cell...leave the exiting number , if any, alone

The above executes the mod function ok if equal or greater than 180...but if
less than 180...it's returning a false statement ?

I'm sure this is simple but I can't come up with changes that give the above
desired results.

Thanks, Tim