Round up to nearest multiple of X
Google Sheets: Rounding DateTime Cell to Nearest 15 Mintutes - Stack Overflow
Help rounding numbers up/down to a specific ending digit
Google Sheets Round Up Function With Two Functions in One Cell
Videos
Hi, I wanted a function that would round UP to the nearest multiple of 20. So for example 62 would round to 80. I googled MROUNDUP and found the link below, so I went on Google Sheets and typed in "=ROUNDUP(B6/20,0)*20." It worked, but I don't understand why. Why is 20 in there twice, what does the asterisk mean, and why is there a zero in there after the comma? I don't technically need to know, I guess, but I just want the information for future reference.
Thanks so much! https://www.mrexcel.com/board/threads/mroundup.203303/post-992382
Seems to work for me, example here: https://docs.google.com/spreadsheets/d/1Hq2pep92vmPQ8kPiThNUod7nsFZopMuOAFNcLCdkJcM/edit?usp=sharing
Using =mround(A2,"00:15") to round, =floor(A2,"00:15") to round down, and =ceiling(A2,"00:15") to round up.
Perhaps you forgot to format the end result back as a Date Time itself?
See more examples here: https://infoinspired.com/google-docs/spreadsheet/round-round-up-round-down-hour-minute-second-in-google-sheets/
you can use round to round down
=round(a1*96)/96
or ceiling to round up
=ceiling(a1*96)/96
with date time fields in Sheets the date is treated like a whole number and the time like a fractional part.
so if you want to round to 15 mins - there are 24 * 4 = 96 lots of 15 minutes in one day. so multiply the date by 96, then round, then divide by 96 should do the trick.
I need your help.
I've got a long column of prices with two decimal places and I need a formula that rounds each price up or down to the nearest number which ends in 9 (example: 10.00 would round down to 9.99, 10.04 would round down to 9.99, 10.05 would round up to 10.09). The formulas I've found online that I think might help are ROUNDUP, ROUNDDOWN, and MROUND but I can't make sense of how to nest formulas inside them to make the rounding stop at the nearest 0.09 value.
Any help please? Thanks!