CountIf And
I am looking to count how many audit types, "DD", did my auditor "Brian" do. I am referencing and different sheet.
=COUNTIF({MB Intake Audits - 2024 Type of Audit}, "DD", AND({MB Intake Audits - 2024 Auditor Name}, "Brian"))
Answers
-
Try:
=COUNTIFS({MB Intake Audits - 2024 Type of Audit}, "DD", {MB Intake Audits - 2024 Auditor Name}, "Brian"
-
Well that kinda worked @Nic Larsen. It returned 0 when I know I have DDs and Brian in those columns.
-
I tried this too.
=COUNTIF({MB Intake Audits - 2024 Type of Audit}, "DD", CONTAINS(“Brian”, {MB Intake Audits - 2024 Auditor Name})
-
Things that come to mind - Are your cross-sheet ranges set to the entire column? Is your Auditor Name column set up as contact list or just a text/number? Is there more than one name listed in the Auditor Name column?
I would use a COUNTIFS over a COUNTIF formula. You can also test each section to confirm you are getting results before joining them.
So try:
=COUNTIFS({MB Intake Audits - 2024 Type of Audit}, "DD"
=COUNTIFS({MB Intake Audits - 2024 Auditor Name}, "Brian"
-
=COUNTIFS({MB Intake Audits - 2024 Type of Audit}, "DD" formula works but the Brian one does not. Currently my column is text but it will change to a contact list.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!