Scotty wrote: ↑Sun May 27, 2018 3:49 pm
Hey, does anyone know how to set up a formula to always round off to the closest 5 cents, on a financial operation, in excel?
Well, truth is I was looking for a formula in excel because I wanted to then code it in my program, that's where I have the need for it.
Scotty wrote: ↑Sun May 27, 2018 3:49 pm
Hey, does anyone know how to set up a formula to always round off to the closest 5 cents, on a financial operation, in excel?
Well, truth is I was looking for a formula in excel because I wanted to then code it in my program, that's where I have the need for it.
Oh, I didn't realize that. Try this formula, it should provide the same results:
=ROUND(A2/0.05,0)*0.05
The 0.05 part could be a variable for rounding to other values.