COUNTIF & COUNTIFS Formulas
Hi All,
I'm needing help with some adjustments to the formulas below:
In the Total Count formula, I'm trying to count only the number of times each country code occurs, but the 2nd criteria is that the value "Outside of the US" must also be present in the "Request Type" column.
TOTAL COUNT
=COUNTIF({Country or Territory Name}, Label7)
In the Last 7 Days formula, I'm trying to count only the number of times each country code occurs within the last 7 days, but the 2nd criteria is that the value "Outside of the US" must also be present in the "Request Type" column.
LAST 7 DAYS
=COUNTIFS({Country or Territory Name}, Label7, {Date Requested}, AND(@cell >= TODAY(-7), @cell <= TODAY()))
Best Answer
-
I think you're close but that both need to be COUNTIFS formulas with all your ranges and criteria included.
=COUNTIFS({Country or Territory Name}, Label7, {Request Type}, "Outside of the US")
=COUNTIFS({Country or Territory Name}, Label7, {Request Type}, "Outside of the US", {Date Requested}, AND(@cell >= TODAY(-7), @cell <= TODAY()))
Hope this helps!:)
Answers
-
I think you're close but that both need to be COUNTIFS formulas with all your ranges and criteria included.
=COUNTIFS({Country or Territory Name}, Label7, {Request Type}, "Outside of the US")
=COUNTIFS({Country or Territory Name}, Label7, {Request Type}, "Outside of the US", {Date Requested}, AND(@cell >= TODAY(-7), @cell <= TODAY()))
Hope this helps!:)
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
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!