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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!