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
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 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!