Rounding to a Floor

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
Comments
-
Hi Lee,
This might help: https://community.smartsheet.com/discussion/alternative-floor-and-ceiling-functions
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.
-
Thanks Andre, i'll try and post the results
-
Happy to help!
Please do!
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.
-
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.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.9K Get Help
- 429 Global Discussions
- 147 Industry Talk
- 487 Announcements
- 5.2K Ideas & Feature Requests
- 86 Brandfolder
- 151 Just for fun
- 74 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives