Using CountIFs with cross reference and multiple criteria
Hello!
I am looking for some assistance on a formula. I have a Master Sheet and a Helper Sheet. I am trying to calculate the number of specific events associated with a person within a date range utilizing cross-sheet reference.
I have tried multiple formulas, but not having any luck
=COUNTIFS({Sample Master Type}, "New Patient [1003]", {Sample Empanelment Reports_combined Range 1}, "Haynes, John Harlan, MD", (DATE), AND((IFERROR((MONTH(@cell), 0) = 1, IFERROR(*YEAR(@Cell), 0) = 2024)
I am looking to count the number of events with a specific type, assigned to a specific individual, during January 2024.
Here is sample information from the Master Sheet.
Based on the PCP, Visit Date, and Type, I would like to have a total count on the helper sheet.
Any help would be appreciated.
Answers
-
Your syntax is off. Try this instead:
=COUNTIFS({Sample Master Type}, "New Patient [1003]", {Sample Empanelment Reports_combined Range 1}, "Haynes, John Harlan, MD", {DATE}, AND(IFERROR(MONTH(@cell), 0) = 1, IFERROR(YEAR(@cell), 0) = 2024))
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.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!