Translation of Excel Formula to Smartsheet
How do I go about translating this Excel formula to Smartsheet?
Answers
-
Is your formula calculating months between two dates?
If so, and your dates are in columns formatted as date type, called “start date” and “end date”, and your formula is in another column on the same row, then you can calculate the months between the dates by calculating the days between the dates (using netdays), dividing by 365, and multiplying by 12.
=(NETDAYS([Start Date]@row, [End Date]@row)/365)*12
to get whole months you can wrap that formula within a ROUND function
=ROUND((NETDAYS([Start Date]@row, [End Date]@row)/365)*12,0)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!