Forum Discussion

tombungalo's avatar
tombungalo
Copper Contributor
Jun 11, 2020
Solved

rules for rounding

Hi, My name is tom and I'm searching for a way to alter the traditional rules for rounding numers. Normaly when using decimals 0,0 to 0,4 becomes 0,0 and 0,5 to 0,9 becomes 1,0. I am looking for a ...
  • mtarler's avatar
    Jun 11, 2020

    tombungalo  It isn't pretty but this equation will work

    =ROUNDDOWN(C4,3)+MAX(INT(INT(MOD(C4*10000,10)-1)/3)*5,0)/10000

    but that is only the special rounding you mentioned

    You then said the other 3 decimal places should follow normal rules, but you don't round to multiple levels.  How do you know what level to round to?

Resources