Syntax

expression.Ceiling(Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data Type Description
Arg1 Required Double The value you want to round.
Arg2 Required Double The multiple to which you want to round.

Return Value
Double

Remarks

For example, if you want to avoid using pennies in your prices and your product is priced at $4.42, use the formula =Ceiling(4.42,0.05) to round prices up to the nearest nickel.


See also: