Index and collect most recent text and where not blank based on Max Modified date?
I'm using the following formula to collect the most recent comment from children cells. We are having an issue when a user adds a comment and then deletes it and/or types a new comment within the same cell within the same minute. When this happens, the parent retains the blank cell "comment" or doesn't recognize the new comment. How can I solve this issue?
=INDEX(CHILDREN(), MATCH(MAX(CHILDREN(Modified@row)), CHILDREN(Modified@row), 0))
Answers
-
You could use a JOIN/COLLECT instead.
=JOIN(COLLECT(CHILDREN(), CHILDREN(), @cell <> "", CHILDREN(Modified@row), @cell = MAX(CHILDREN(Modified@row))), CHAR(10))
-
Hi @Paul Newcome. I'm not sure that accomplishes the index ignoring the cells with no status update data (deleted) and choosing the next to most recent status update comment that has data... I think the main issue is that the Modified column does not timestamp milliseconds and when 2 or 3 updates are made within the same minute. Should I use a custom timestamp field formula to collect data/time with milliseconds? Does such a formula/functionality exist?
Thank you!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!