Tally Duplicates Under First Occurrence

I have a count of incidents for each location. The "rank helper" column use to total the number of incidents beside the first occurrence of a name. For example: Bellflower has "2" incidents. I want the first listing for Bellflower to show the "2" in the "rank helper" column and additional Bellflower occurrences not display a number. Basically, the first Bellflower occurrence shows the tally for all.
Best Answer
-
You would need to insert an auto-number column with no special formatting. Then you would use this to generate your counts:
=IF([Auto-Number]@row = MIN(COLLECT([Auto-Number]:[Auto-Number], [Center Name]:[Center Name], @cell = [Center Name]@row)), COUNTIFS([Center Name]:[Center Name], @cell = [Center Name]@row))
Answers
-
This is how is used to be: The first occurrence of Chicago Maywood keeps the tally for all Chicago Maywood occurrences in the Rank Helper column. The remaining occurrences are blank in the Rank Helper column.
-
You would need to insert an auto-number column with no special formatting. Then you would use this to generate your counts:
=IF([Auto-Number]@row = MIN(COLLECT([Auto-Number]:[Auto-Number], [Center Name]:[Center Name], @cell = [Center Name]@row)), COUNTIFS([Center Name]:[Center Name], @cell = [Center Name]@row))
-
Thank you, Paul! Works great!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 513 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!