COUNTIF is double counting rows with multiple assigned contacts
Hello all,
I am trying to count rows for one department. This department also has sub-departments. In some rows, it has multiple sub-departments assigned to it.
This is my formula:
=COUNTIFS({Requests Range 2 - Status}, Category2, {Requests Range 4 - Department}, (FIND("Merchandising", @cell) > 0))
For example, one row has "Merchandising-Sales" and "Merchandising-Accounting" assigned to it. I want to count this row once, but the current formula is counting is twice.
Category2 is a status of In Progress. I am trying to count how many rows are In Progress for Merchandising.
Any help would be greatly appreciated. Thank you!
Comments
-
Are Merchandising Accounting and Merchandising Sales both in the same cell?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi Paul,
Yes! They are both in the same cell.
-
Are you able to post some screenshots with dummy data in them? It should not be counting the same cell twice based on your provided formula.
For trouble shooting... Use two formulas. In the first one, adjust the ranges so that they stop in the row ABOVE the one being counted twice. In the second formula, set the ranges so that they stop ON the row of the cell being counted twice.
This will tell you for absolute certain that this cell is the issue.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you for your help, Paul.
Just wanted to let you know that we resolved this. If I recall correctly, I think the issue had to do with how the sheets or formulas were setup. Thanks again for always being helpful!
-
Happy to help and glad you were able to get it working for you!
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!