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)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
Try putting quotes around "SHRS".
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
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)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
that worked! Thank you so much!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 213 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 306 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!