In decimal calculation, if you choose to round, 2.5 becomes 3.0 and 4.2 becomes 4.0 (rounding up starts at .5 and everything else rounds down)

Excel has dozens of functions equipped for decimal rounding. Excel is also well equipped to round time notation. Specifically, a function called **MROUND()** will be of great assistance. It’s an advanced formula but relatively easy to apply.

If the Macro, itself, is not correctly mimicking the formula, there are several possibilities to explain a problem:

- The Macro calculations do not sufficiently imitate the formula.
- The Macro does sufficiently imitate the formula but does not copy the result to the cell in question.
- The Macro is completely correct but isn’t actually launching – starting. (Macro’s normally launch with a user-specified key combination like Cntrl/A)

Since you are getting a correct result with formula, this may not be worth the effort to mimic as a Macro.

However if that’s the need, launch the Marco with a debugger breakpoint at the start of the code (F9) and walk through each statement to determine the error.

]]>