COUNTIF with HAS or COUNTM for Report
I'm making modifications to the marketing request template set. There is a report that ties back to the intake form. The intake report overtime adds a count of 1 to the assignee for each project completed by the assignee for each month. The issue I am having is, if there are multiple people assigned to the filed the count if function isn't adding a count to each assignee. I have tried adding HAS but I may be using it incorrectly. Would I use the COUNTM function instead? Any ideas on how to fix the formula? Here is the code I am using:
=IF(COUNTIFS({IntakeStatus}, $Status@row, {IntakeAssignedTo}, $[Primary Column]@row, {IntakeCompleteMonth}, Jan$1) = 0, 0, COUNTIFS({IntakeStatus}, $Status@row, {IntakeAssignedTo}, $[Primary Column]@row, {IntakeCompleteMonth}, Jan$1))
Best Answer
-
I don't think you need the IF statement. This should be all you need:
=COUNTIFS({IntakeStatus}, $Status@row, {IntakeAssignedTo}, HAS(@cell, $[Primary Column]@row), {IntakeCompleteMonth}, Jan$1)
Answers
-
I don't think you need the IF statement. This should be all you need:
=COUNTIFS({IntakeStatus}, $Status@row, {IntakeAssignedTo}, HAS(@cell, $[Primary Column]@row), {IntakeCompleteMonth}, Jan$1)
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!