View Single Post
  #3   Report Post  
Ola
 
Posts: n/a
Default

Hi,

Here is one solution:
=IF((A1-TRUNC(A1/10,0)*10)<5,5,9)+TRUNC(A1/10,0)*10

Ola