Is there a way to count instances of characters down a column, without creating further columns that do row-by-row counts of each character?
Below is an outline of what I'm trying to do.
Note that no character appears in more than one column, so I don't have to search all columns for all characters, I can just search the Z column for x
, search the W column for a
and b
, etc.
Thanks
Best Answer
EDIT (based on your comment)
For a draggable formula use
Original answer
For a single auto-expanding formula please use
(do adjust ranges and locale syntax to meet your needs)
What the formula does:
The formula counts the number of instances of every single character in a range and returns them in a specified order.
Functions used:
QUERY
INDEX
IFERROR
VLOOKUP
FLATTEN
SPLIT
REGEXREPLACE
TEXTJOIN
SUM
SEARCH
LEN