Try this:
=COUNT(DISTINCT(COLLECT({Range 6},{Range 5},CONTAINS([Primary Column]@row, @cell))))
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
- 66.7K Get Help
- 436 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 508 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 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!