Skip to content

Instantly share code, notes, and snippets.

@ScarletPonytail
Last active August 10, 2018 09:26
Show Gist options
  • Save ScarletPonytail/72f25e2d83304646befaa08b9c363c27 to your computer and use it in GitHub Desktop.
Save ScarletPonytail/72f25e2d83304646befaa08b9c363c27 to your computer and use it in GitHub Desktop.
Google Sheets - Round a number
// The 'Round' syntax
=MROUND( A1 ; 0.25 )
// ROUND a SUM
=MROUND( sum( ( hour( E141 )*60+MINUTE( E141 ) ) )/60 ; 0.25 )
// Another way
=CEILING( sum( ( hour( E175 )*60+MINUTE( E175 ) ) )/60 , 0.25 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment