Formula to determine next available date
Im trying to determine the next available date based on end date, Job status as active and the event type contains install. This formula returns a date =MAX(COLLECT({End Date}, {Job Status}, "Active"))
Ive tried adding the contains install but it doesnt return a date
=MAX(COLLECT({End Date}, {Job Status}, "Active", {Event Type}, CONTAINS("Install))
Answers
-
Hi @TPALJA
You would need to add a helper column"ContainsInstall" to determine if the event column per row contains the text "Install".
In this column you would then have the following formula:
=IF(FIND("Install"; [Event Type]@row) > 0; 1; 0), which would populate the cell with a 1 if the text "install" is in the event column.
You can then replace your formula with the following:
=MAX(COLLECT([End Date]:[End Date]; [Job Status]:[Job Status]; "Active"; ContainsInstall:ContainsInstall; 1))
Which should return the correct answer.
NOTE: I usesemicolon due to comupter settings. You might have to use comma.
=============================================
"Nothing is impossible. The word itself says 'I'm possible!'"
================================================
"Nothing is impossible. The word itself says 'I'm possible!'"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!