Calculate amount of time between two dates but also include an IF
Answers
-
How do you calculate the amount of time between two dates but also include an IF? For example, I want to calculate the amount of time between two dates but only specific to a particular column of data. In this case it is the duration for negotiating a Master Agreement with the Agreement type included in a separate column.
-
Hey @Kristin Rankin
Give this a try and then we can tweak with more details.
=IF([whatever your column name]@row="Whatever agreement type", NETWORKDAY([your start date]@row, [your end date]@row))
This formula will return the number of working days between the two dates. If you want total days, replace NETWORKDAY with NETDAYS (the difference in plural and singular is intentional).
cheers,
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
Check out the Formula Handbook template!