Auto increment count on Column based on values appearing in another column
Hello,
I am trying to add a formula to Column SSI Ref that will count and increment based on the number of times a number appears on SSI# column. I have completed the SSI Ref column for reference as to what I would like to see.
Thank you
Best Answer
-
You would need to insert an auto-number column (called "Auto" in this example) with no special formatting required and then a text/number column (called "Row" in this example) with the following column formula:
=MATCH(Auto@row, Auto:Auto, 0)
Then you can use this in the SSI Ref column:
=[SSI #]@row + "-" + COUNTIFS([SSI #]:[SSI #], @cell = [SSI #]@row, Row:Row, @cell <= Row@row)
Answers
-
You would need to insert an auto-number column (called "Auto" in this example) with no special formatting required and then a text/number column (called "Row" in this example) with the following column formula:
=MATCH(Auto@row, Auto:Auto, 0)
Then you can use this in the SSI Ref column:
=[SSI #]@row + "-" + COUNTIFS([SSI #]:[SSI #], @cell = [SSI #]@row, Row:Row, @cell <= Row@row)
-
Thank you - That worked perfectly
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 411 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!