rounding up a calculated field to the next $5 level

D

Denise

=([LAST YR USAGE]+[THIS YR USAGE])/2

I would like to round the answer to the next $5 level. What function do i
use?
 
J

John Spencer

You can try the following as long as the numbers are positive

= -Int(-([LAST YR USAGE]+[THIS YR USAGE])/2 / 5) * 5

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
 
D

Denise

Works like a charm - ty much..

John Spencer said:
You can try the following as long as the numbers are positive

= -Int(-([LAST YR USAGE]+[THIS YR USAGE])/2 / 5) * 5

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
=([LAST YR USAGE]+[THIS YR USAGE])/2

I would like to round the answer to the next $5 level. What function do i
use?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top