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.
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.
-
WOW, I had a few dumb typos in there but removing the @row made the difference. Thanks!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!