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
- Customer Resources
- 67.5K Get Help
- 468 Global Discussions
- 156 Industry Talk
- 511 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 520 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!