Round Function

  • Thread starter Thread starter Michelle
  • Start date Start date
M

Michelle

Help!

I'm trying to figure out which function will round a whole
number up or down to the nearest 100 without using
seperate roundup or round down function. The function or
calculation needs to be the same for all cells.

Example:

241 should round down to 200
156 should round up to 200

Any ideas?

Michelle
 
Help!

I'm trying to figure out which function will round a whole
number up or down to the nearest 100 without using
seperate roundup or round down function. The function or
calculation needs to be the same for all cells.

Example:

241 should round down to 200
156 should round up to 200

Any ideas?

Michelle

=ROUND(num,-2)


--ron
 
While you've already received an answer to your specific problem, the
general apporach to round the number m to a multiple of n is
=ROUND(m/n,0)*n. So, in your case, =ROUND(m/100)*100 would work.

One can use any meaningful function in place of ROUND -- TRUNC or INT
come to mind.

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 

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

Similar Threads

Round Function 5
Rounding Up question 2
Alternate Rounding Up & Down of .50 in a column 5
Rounding problems 6
Rounding in Excel 2
rounding up to the nearest 1000 1
Round up 4
A rounding function 4

Back
Top