Cross sheet count if.
Looking to count from a contact column the number of times a name appears for any one month and year. The below resulting in #unparseable, a variation of resulted in #Invalid Argument set?
=COUNTIFS({Completed Dispatches Range 1}, AND(IFERROR(YEAR(@cell), 0) = 2023, IFERROR(MONTH(@cell), 0) = Category@row)) > 0, COUNTIFS({Completed Dispatches Range 1}, AND(IFERROR(YEAR(@cell), 0) = 2023, IFERROR(MONTH(@cell), 0) = Category@row, {Completed Dispatches Range 2}, CONTAINS("jason", @cell))))
Regards
Cheers.
Best Answer
-
Worked it...
=COUNTIFS({Completed Dispatches Range 3}, CONTAINS("Jason", @cell), {Completed Dispatches Range 2}, IFERROR(MONTH(@cell), 0) = Category@row, {Completed Dispatches Range 2}, AND(IFERROR(YEAR(@cell), 0) = 2023))
Cheers.
Answers
-
Yeah, that's a hot mess. If nobody answers in the next 12 hours I'll stab at it. too lazy now.
-
Worked it...
=COUNTIFS({Completed Dispatches Range 3}, CONTAINS("Jason", @cell), {Completed Dispatches Range 2}, IFERROR(MONTH(@cell), 0) = Category@row, {Completed Dispatches Range 2}, AND(IFERROR(YEAR(@cell), 0) = 2023))
Cheers.
-
Nice one mate.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!