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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!