Countifs and referencing another sheet
I'm attempting to use a countif using two criteria referencing another sheet. I want to see only the projects in "Entrance/Intake" that are in "House" SHRS. I'm getting the #UNPARSEABLE error.
My Countif formula for only Entrance/Intake works perfectly. I need to slice this data by each "house" (VP) and I cannot figure out what I am doing wrong.
Best Answer
-
You have two separate counts being added together. You are pulling the count for ALL "SHRS" and you are pulling a separate count for ALL of whatever is in the Label4 cell.
If you are trying to count all instances of "SHRS" where {Project Status} matches Label4 (meaning count only rows where both are true at the same time), then you would need to use a COUNTIFS (with the S on the end) to count for multiple range/criteria sets.
=COUNTIFS({House}, "SHRS", {Project Status}, Label4)
Answers
-
Try putting quotes around "SHRS".
-
thanks Paul - that works but now it's doing some strange counting - for all the different houses I only have 7 projects in "Entrance/Intake" and now for only SHRS it's returning 29 projects (the number should be less than 7). Any thoguhts>
-
You have two separate counts being added together. You are pulling the count for ALL "SHRS" and you are pulling a separate count for ALL of whatever is in the Label4 cell.
If you are trying to count all instances of "SHRS" where {Project Status} matches Label4 (meaning count only rows where both are true at the same time), then you would need to use a COUNTIFS (with the S on the end) to count for multiple range/criteria sets.
=COUNTIFS({House}, "SHRS", {Project Status}, Label4)
-
that worked! Thank you so much!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!