Using COUNTIF together with a date range
Hello,
I'm trying to count how many rows meet this criteria (use a cross sheet reference):
Tier is Experiencia Lite (or whichever tier I need to count)
and
SLA was signed between 1/1/22 and 1/31/22 (will be doing this for each month)
This is what I have but iI get an unparseable error:
=COUNTIFS({Tier}@row,"Experiencia Lite", {SLA Effective Date} @row AND(@cell>=DATE(2022,01,01),@cell<=DATE(A2022,0131))
Thank you!
Best Answer
-
Try these few edits to see if they help...
Remove the "@row" references.
Put a comma after the second range.
Remove the "A" from the second DATE function.
Insert a comma between the month and day values in the second DATE function.
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 these few edits to see if they help...
Remove the "@row" references.
Put a comma after the second range.
Remove the "A" from the second DATE function.
Insert a comma between the month and day values in the second DATE function.
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!
-
WOW, I had a few dumb typos in there but removing the @row made the difference. Thanks!
-
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
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!