Duplicate row, change Status column to "inactive" based on date feild
I have a list of names and would like to change the status of old rows to 'inactive' when a new submission for that name comes in. So only the most recent submission stays as active
Thanks!!
Answers
-
I would suggest inserting an auto-number column (called "Auto" in this example) and then use a formula along these lines in the [Status] column:
=IF(Auto@row <> MAX(COLLECT(Auto:Auto, [Name Column]:[Name Column], @cell = [Name Column]@row)), "Inactive", "Active")
-
Seems to be working - thanks! For my understanding.. what is this formula actually doing?
-
Does it matter if new rows are added to the top or the bottom of the sheet?
-
The formula compares the Auto-Number column to the highest number from that column for that name. If the auto-number on that row is not the highest auto-number for that name, it flags it as inactive. If it is the highest auto-number for that name, it flags as active.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives