Cross reference sheet formula with date limits
I'm trying to count the number of complaints for Family Medicine within the last 30 days on a metric sheet referencing the source sheet Complaint Tracker. Here is the formula I think should work:
=COUNTIFS({PR - Complaint/Grievance Data Collection Range 2}, "Complaint", {PR - Complaint/Grievance Data Collection Range 1}, "Family Medicine", {PR - Complaint/Grievance Data Collection Range 3}, >=TODAY(-30))
However, it comes back as "Incorrect Argument". What am I doing wrong/missing?
Answers
-
Hi @mhahn,
I just tested out your formula and it worked correctly for me:
=COUNTIFS({Sheet A Range 1}, "Complaint", {Sheet A Range 2}, "Family Medicine", {Sheet A Range 3}, >=TODAY(-30))
Can you double check your {PR - Complaint/Grievance Data Collection Range 3} and make sure that that column is a Date column and not a Text/Number column?
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds more features into SmartSheet.
- Report PDF generator that supports grouped and summarized reports
- Automatic sorting, sorting with filters, saving sort settings
- Hiding and unhiding columns, and spell checking
-
@SSFeatures It is in date format:
I just tried replicating the formula that you had above without the parenthesis and it's still returning "Incorrect Argument"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!