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?
-
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.
-
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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!