JM said:
looking for the formula that will round up to the nearest nickel.
For example, have a price of $2.21 would round to $2.20 and $2.23 would
round to $2.25.
I hasten to note your first example is "rounding", not "rounding up".
Since you want rounding, some choices are (where D1 contains the
unrounded dollar amount):
=mround(D1, 0.05)
=0.05*round(D1/0.05,0)
Note that MROUND() requires that you install the Excel Analysis ToolPak
add-in. See the MROUND Help page for details.
Also note that as written above, MROUND() will not work for negative
dollar amounts. The following works with both negative and positive
dollar amounts:
=mround(D1,sign(D1)*0.05)
Finally, note that for negative dollar amounts, the formulas above
round the negative value as if the value were positive with a minus
sign in front. For example, -2.21 becomes -2.20 and -2.23 becomes
-2.25.