roundup by 16s

  • Thread starter Sum Limit and marking
  • Start date
S

Sum Limit and marking

I'm looking for a formula that will allow me to type in a number and roundup
to the largest multiple of 16 with a minimum of 64.

For example, if I type in 60 in Cell A1, then in cell A2 I want it to
roundup to 64.

Thanks.
 
R

Ron Coderre

Try this:

For a value in A1

B1: =MAX(CEILING(A1,16),64)

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
B

Bernie Deitrick

In A2,

=MAX(64,IF(MROUND(A1,16)<A1,MROUND(A1+16,16),MROUND(A1,16)))

HTH,
Bernie
MS Excel MVP
 

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