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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!