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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!