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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!