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?
SSFeatures - The browser extension that adds more features into SmartSheet.
- Automatic sorting, sorting with filters, saving sort settings
- Spell checking
- Report PDF generator that supports grouped and summarized reports
-
@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
- 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!