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
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives