Is there a way I can round $265 to the nearest 25 or 50 increment - to
$275 or $300??
Ed
e.g.
Roundup:
=ceiling(a1,25)
=ROUNDUP(A1/25,0)*25
Round
=round(a1/25,0)*25
=MROUND(A1,25)
Must just be Excel messing with my
Ed
On Jun 22, 11:36 am, Ron Rosenfeld <r...@nospam.net> wrote:
> On Tue, 22 Jun 2010 10:45:55 -0700 (PDT), Ed from AZ
>
>Thanks, Ron!! I had looked at CEILING, too, but for some reason
>couldn't make it work?!!? But now it works great!
Glad to help. Thanks for the feedback.
>
>Must just be Excel messing with my
Yeah. It'll do that sometimes :-)
>Ed
>
>
>
Another Method:-
=FLOOR(A1,25)+25
=FLOOR(A1,25)+50
-----------------------
Ms-Exl-Learner
-----------------------
ROUND works for rounding up, as long as the number is closer to the
upper number than it is the lower number. Otherwise it will round
down, and that totally defeats the purpose.
Is there a way to force ROUND to only look up?
Ed
Then maybe for the mobile to work as well
=(INT(A1/25)+1)*25
--
Regards
Roger Govier
"Ed from AZ" <prof_...@yahoo.com> wrote in message
news:3f0fc5b6-0a3f-445b...@g19g2000yqc.googlegroups.com...
> __________ Information from ESET Smart Security, version of virus
> signature database 5223 (20100623) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
__________ Information from ESET Smart Security, version of virus signature database 5223 (20100623) __________
The message was checked by ESET Smart Security.
Try:
=(INT((A1-1)/25)+1)*25
or for 50's
=(INT((A1-1)/50)+1)*50
>Hi Ed
>
>Then maybe for the mobile to work as well
>=(INT(A1/25)+1)*25
Gives what I believe is not desired answer when exactly at a divisible
by 25 value. eg:
300-->325
I believe the OP probably wants 300-->300 and 301-->325
--
Regards
Roger Govier
"Ron Rosenfeld" <r...@nospam.net> wrote in message
news:6v4526tdvpqgg2gki...@4ax.com...
> __________ Information from ESET Smart Security, version of virus
> signature database 5226 (20100624) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
__________ Information from ESET Smart Security, version of virus signature database 5226 (20100624) __________
Seems to do it.
Gonna be a bear when I have to insert another formula in place of my
testing "A1".
But that's Excel for ya!
Thanks for all the assistance!
Ed
As I wrote, I think
=(INT((A1-1)/25)+1)*25
will work also. And it is shorter, and uses fewer function calls.