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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!