Need Formula for RowID that will update when rows are deleted or added.
I need a column formula that will match the actual row ID even if you delete a row.
I tried using autonumbering, but it does not update if you delete a row, or add a new row in the middle of your old rows.
Ex. of AutoNumber row issue
1 (Row 2 deleted below, 3 should change to 2)
3
5 (New Row added, should change this row to 4 and the next one to 5)
4
Is this possible?
Thanks
Best Answer
-
Hi @Christian Graf,
Try adding a new column and use this as the column formula:
=MATCH(X@row, X:X, 0)
In this case, "X" would be whatever the name of your Auto-Number/RowID column is. Or, you can use that exact formula and just rename your Auto-Number column to "X" instead.
Answers
-
Hi @Christian Graf,
Try adding a new column and use this as the column formula:
=MATCH(X@row, X:X, 0)
In this case, "X" would be whatever the name of your Auto-Number/RowID column is. Or, you can use that exact formula and just rename your Auto-Number column to "X" instead.
-
That worked great! Thanks John!
-
Thanks so much !
This has been bothering me for quite a while!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 377 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!