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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!