Sorry, didn't see that. Regardless, my formula takes care of that "flaw"
--
Regards,
Peo Sjoblom
"Rick Rothstein (MVP -
VB)" wrote in
message ...
note that Rick's solution does not round up when the last integer is 9
and there are decimals,
for instance 9.98, it rounds that to 9 or 1329.95 is 1329. Given your
preferences
shouldn't those be rounded to 19 and 1339 respectively?
Yep, I specifically pointed out that "flaw" prior to showing the formula
to the OP as he did not mention how he wanted to handle that situation.
Rick