Countifs with 3 Criteria
I should be able to do this, but I appreciate this group who I know will help.
This is my source sheet
This is the sheet where I have my formula for a total, line 10.
I need to count everything in the Source sheet where the activity is Tour, the Location is Cal Ave and the Week Number is the Current week in Row 19 of my formula sheet, -1.
I've tried doing 3 CountIf statements with a plus between them, but it gives me 28 (The total should be 4) and I've tried the formula below, but it gives me 2.
=COUNTIFS({Activity}, "Tour", {Location}, "Cal Ave", {Week1}, [Weekly Metrics]$19 - 1)
What am I doing wrong?
Best Answer
-
In looking at your screenshot of the source data, you only have 2 rows where the Week Number = 43, the Activity = "Tour", and the Location = "Cal Ave". It looks to me like the COUNTIFS is working properly unless there is additional data on the source sheet that is not shown.
Answers
-
In looking at your screenshot of the source data, you only have 2 rows where the Week Number = 43, the Activity = "Tour", and the Location = "Cal Ave". It looks to me like the COUNTIFS is working properly unless there is additional data on the source sheet that is not shown.
-
@Paul Newcome well don't I feel foolish...it's been that kind of day! You are correct and thank you for taking the time to review my data and point that out. I thought it should work!!
Now where is the delete button for these? ;)
Have a super day!
-
Hahaha. I have had plenty of those days. No worries.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!