Counts the total number of cells with the mentioned letters, but then just divides it by 6. This will not return the value I need.![]()
=(COUNTA(A1:T1)-SUM(COUNTIF(A1:T1,"v"),COUNTIF(A1:T1,"U")))/6
Example: in a row there are three groups of 6 cells containing "d", "a" or "n", and one group of 7. Your formula would return 4.166667 ((6+6+6+7)/6). However, I need it to return either 3 or 1 (depending wether I'm looking for groups of 6 or 7).
Bookmarks