# Rounding to a Floor

Options
edited 12/09/19

Hello,

I'm trying to round a calculation to the lowest quarter (ending in 25,50,75 or 100). The Excel formula is

=FLOOR(132,25)    equals 125

=FLOOR(168,25)  equals 150

Smartsheet doesn't recognize the FLOOR function; any help is appreciated

• ✭✭✭✭✭✭
Options

Hi Lee,

Hope that helps!

Have a fantastic day!

Best,

Andrée Starå

Workflow Consultant @ Get Done Consulting

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• Options

Thanks Andre, i'll try and post the results

• ✭✭✭✭✭✭
Options

Happy to help!

Best,

Andrée

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• ✭✭✭✭✭✭
edited 05/03/19
Options

For the FLOOR function, I generally use something along the lines of

=INT([Column Name]@row / ##) * ##

In your case ## would be replaced with 25.

.

CEILING is just a minor tweak to the above.

=(INT([Column Name]@row / ##) + 1) * ##

EDIT: Upon further testing, I realized there was an issue with my CEILING formula. Using your example in the original post, if you use that for 125, you'll get 150 instead of 125. The following corrects that to display 125 for 125 and 150 for 126, 127, etc.

=IF(INT([Column Name]@row/ ##) * ## = [Column Name]@row, [Column Name]@row, (INT([Column Name]@row / ##) + 1) * ##)

.

The screenshot below shows the results for the numbers 1 - 25 when using 5 for my floor and ceiling.