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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!