COUNTIFS incorrectly counting number of times a contact appears in Assigned To column
I am trying to track the number of tasks each employee is assigned to. In my Assigned To column, some cells have one contact assigned to a task and others multiple contacts. I am currently using the following function:
=COUNTIFS([Assigned To]:[Assigned To], "John Smith", [Status]:[Status], <>"Complete")
The function returns a number, but it is incorrect. For example, I know one of my contacts has 7 tasks assigned to them, but the function is returning the number 2. I have also tried using COUNTIFS with HAS but got the same results:
=COUNTIFS([Assigned To]:[Assigned To], HAS([Assigned To]:[Assigned To], "John Smith"), [Status]:[Status], <>"Complete")
It seems that the function is simply not finding all of the results. Any feedback is greatly appreciated!
Answers
-
Hi @Matt D
Hope you are fine, please try the following formula:
=COUNTIFS([Assigned To]:[Assigned To], HAS(@cell, "John Smith"), Status:Status, NOT(@cell = "Complete"))
The following screenshot show shows the result:
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Hope you are well. Thank you for the swift response. However, I tried the function you provided and it returned the same results as before. I do not think the problem is the Status column reference, as COUNTIFS returns the same incorrect value when I remove the Status column reference. I think the issue resides within the COUNTIFS function.
-
if you like to fix the formula directly on your sheet please share me as an admin on a copy of your sheets ( Source & Destination ) and i will write the exact formula for you then you can copy it to your original sheet.
My Email for sharing : Bassam.k@mobilproject.it
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!