Formula to tick a checkbox if the checkbox in the following row is ticked
OK - so I have a sheet that gathers weekly report commentary and I need to generate a report that shows the latest commentary, and the previous commentary entry.
Have a helper column with the created date in to tick an 'isLatest' checkbox for the latest entry - =IF(Created@row = MAX(Created:Created), 1, 0)
What I now need to do is create a formula that ticks a column 'isPrevious', but only for the row before the ticked 'isLatest' row.
So the problem is "tick the 'isPrevious' column for the one row that has 'isLatest' ticked in a following row"
So far I've been able to tick all the 'isPrevious' rows - but that doesn't move me forwards :)
Many thanks in advance for any help
Answers
-
Hey @Snaillybob
Try this
=IF(Created@row = MAX(COLLECT(Created:Created, Created:Created, ISDATE(@cell), IsLatest:IsLatest, 0)), 1)
This finds the max Unchecked IsLatest row, which should be the previous Max.
Will it work for you?
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 443 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!