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
- 66.5K Get Help
- 433 Global Discussions
- 152 Industry Talk
- 494 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 506 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!