Round up to the next 200

P

Pete in OZ

I need to know how to round up to the next 200.

i.e. If I have a fugure of 139540, it needs to
automatically round up to 139600.

More examples:
123450 = 123600
100680 = 100800
etc etc

I have been going nuts on this and my head is going to
explode soon. Please help this stupid Australian.

Thanks
..
 
P

Peo Sjoblom

Try

=CEILING(A1,200)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 
P

Pete

Thanks mate...youre a champion!!!!!!!!!!!!!!!
-----Original Message-----
Try

=CEILING(A1,200)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)






.
 
S

Soo Cheon Jheong

Hi,


=A1+(A1/200<>0)*(200-MOD(A1,200))


--
Regards,
Soo Cheon Jheong
_ _
^¢¯^
--
 
S

Soo Cheon Jheong

=A1+(A1/200<>0)*(200-MOD(A1,200)) --- Error

another way:

=A1+(MOD(A1,200)>0)*(200-MOD(A1,200))


--
Regards,
Soo Cheon Jheong
_ _
^¢¯^
--
 
A

Alan

Soo Cheon Jheong said:
=A1+(A1/200<>0)*(200-MOD(A1,200)) --- Error

another way:

=A1+(MOD(A1,200)>0)*(200-MOD(A1,200))

That looks a bit too complicated for me!


=CEILING(A1,200)


HTH,

Alan.
 

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