Rounddown
Hi, Lets say I have a Program end date of Jul 18th 2022
Months :: =INT([Contract End]@row - TODAY()) / 31
Days :: =([Days to Contract Renewal]@row - INT([Days to Contract Renewal]@row / 365) * 365 - INT(([Days to Contract Renewal]@row - INT([Days to Contract Renewal]@row / 365) * 365) / 30) * 30)
The Months is being calculated as 1 since I am using the available function of Smartsheet to round up/down when under or over .5
I want to use ROUND DOWN option here. How do I write the Bolded highlighted string for rounddown so the result is "0"
Answers
-
To clarify, are you always looking to round down if the number contains a decimal?
For example, if the output is 0.98, would that be 1 or 0?
If that would be 0, then you can use the ROUNDOWN function like so:
=ROUNDDOWN(INT([Contract End]@row - TODAY()) / 31, 0)
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!