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
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!