Formula to auto-number rows for multiple projects within a single sheet
PCG
✭✭
Hello,
I'm looking to a formula that will auto-number rows for multiple projects within a single sheet. For example, I have rows for Project A, Project B, and Project C in the same sheet:
Project A
Project A
Project A
Project B
Project B
Project B
Project B
Project C
Project C
I want my auto-number column to return the following:
1
2
3
1
2
3
4
1
2
Is there a formula that can solve for this?
Thank you in advance!
Tags:
Answers
-
Insert an auto number column (called "Auto") with no special formatting. Then use this formula in a separate column:
=COUNTIFS(Auto:Auto, @cell <= Auto@row, [Project Name Column]:[Project Name Column], @cell = [Project Name Column]@row)
-
@Paul Newcome This worked perfectly, thank you so much!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!