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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!