Calculating Duration between multiple dates
Hi! We have 6 date columns (for budget negotiations back and forth for instance). We want to calculate the duration of net days from columns 1-6, however, sometimes they may end at 3 or 4 negotiations so we need to calculate the duration from 1 to the last existing date entered between 1-6.
Any help on how to structure this would be great!
Answers
-
Hey @Jlaustse
Try this
=NETDAYS([Column1]@row, MAX([Column2]@row, [Column3]@row, [Column4]@row, [Column5]@row, [Column6]@row))
*If the columns are contiguous, you can simply the MAX function using [Column2]@row:[Column6]@row
AFTER I verify the formula is working, because dates often cause errors, I wrap the entire formula in an IFERROR
=IFERROR(NETDAYS([Column1]@row, MAX([Column2]@row, [Column3]@row, [Column4]@row, [Column5]@row, [Column6]@row)),0)
cheers
Kelly
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.6K Get Help
- 370 Global Discussions
- 202 Industry Talk
- 433 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 281 Events
- 31 Webinars
- 7.3K Forum Archives