How to get Row Number in Smart Sheet ?

How to get Row Number in Smart Sheet ?
Answers
-
Hi @Mayur_S
The MATCH function is the most typical way to get a row number.
To get row numbers without duplicates, we must choose a column that has unique values.
So, we usually use the Row ID system column, as the uniqueness is guaranteed. As shown in the example above, users sometimes add rows above the existing ones. (Row 5, Row 3)
Therefore, we can not use the Row ID to get the row numbers but use the value with the MATCH function, as follows.[Row Number (By Row ID)] =MATCH([Row ID]@row, [Row ID]:[Row ID], 0)
[Row Number (By Created)] =MATCH(Created@row, Created:Created, 0)If, for some reason, you can not use the Created system column*, I sometimes use the Created system column. This column, in most use cases, gives you unique values. However, as rows 7 and 8 above show, if multiple rows are created simultaneously, you will lose the uniqueness and thus can have duplicate row numbers.
(*) If you have copy rows automation, and the destination sheet has a mismatched Created named column, you can not use the Created system column.
If aΒ system columnΒ or aΒ baseline columnΒ has a name that matches a column with a different column type (dropdown, text/number, etc.), you may encounter the following errors:
Rows canβt appear in the destination sheet because a column on the source sheet has the same name as a system column.
Rows canβt appear in the destination sheet because a system column has the same name as a column on the source sheet.
To resolve this, you can either rename one of the columns or change the column type to match the source sheet.
Help Article Resources
Categories
Check out the Formula Handbook template!