Countifs + Distinct + Contains
Lisa B 2022
✭✭✭✭
Looking for some help folks if anyone has any ideas
I have a grid of marketing content by market, some of which are the same content in different languages.
I want to count the content types by market but only unique content, i.e. I dont want to count the same piece of content in all languages.
I've tried this - =COUNTIF(DISTINCT({Range 6}), CONTAINS([Primary Column]@row, {Range 5})) but i get zero across the board.
Anyone had this before?
Best Answer
-
Try this:
=COUNT(DISTINCT(COLLECT({Range 6},{Range 5},CONTAINS([Primary Column]@row, @cell))))
Answers
-
Try this:
=COUNT(DISTINCT(COLLECT({Range 6},{Range 5},CONTAINS([Primary Column]@row, @cell))))
-
@Leibel S You've saved the day!!! Thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!