View Single Post
  #7   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Tue, 16 Nov 2004 04:25:03 -0800, Sho wrote:

I did find the Round functions but I also want to Round to the nearest 5 e.g.

281.326 should round to 381.35
302.320 should round to 302.30
4.675 should round to 4.70

Any ideas?


According to your examples, you want to round to the nearest 0.05 (not the
nearest 5).

To round to the nearest 0.05, use the formula:

=ROUND(A1/0.05,0)*0.05

To round to the nearest 5, use the formula:

=ROUND(A1/5,0)*5


--ron