Plenty of hits with a Google search. This one for instance ...
http://www.tek-tips.com/faqs.cfm?fid=5031
A lot depends on just how accurately you want to simulate Excel's Ceiling.
It takes two parameters, and they must both be of the same sign, and it
rounds away from zero (i.e. negative numbers become more negative).