Hi all,
I have a column of text entries, many of which are repeating. some fields are blank. I want to us arrays identify the unique fields in one column, and populate the number of times each is used the next column. For example, range “animals” contains:
dog
cat
dog
dog
cat
My results would populate:
dog 3
cat 2
blank field 1
I can see a few ways to do this manually, in a step by step process, such as filtering out unique fields “unique_animals”, then countif(animals, unique_animals), although that wouldn’t include blank cells, which I also want to count. Given the number of columns I would have to do this for, wondering if there is an all-in-one array formula so I could just populate the output without extracting unique fields first, or have to make a separate formula to count the blanks.
I think this is a common array, but don’t recall how to do it…
thanks,
-Eric