Suppose I have the following table:
|-----|-----|-----|-----|-----|-----|
| A | B | C | D | E | F |
|-----|-----|-----|-----|-----|-----|
1 | s | n | n | s | s | s |
|-----|-----|-----|-----|-----|-----|
2 | n | n | s | s | n | n |
|-----|-----|-----|-----|-----|-----|
I want to count the number of s
's that appear in a row. I know that to count all that appear in fila 1
I use:
=CONTAR.SI(A1:F1,"s")
but this is to count cells in a range A1:F1
, count A1, B1, C12, D1, E1, F1.
What I want is to count cells that are separated non-uniformly, for example count A1, D1 and F1. I tried:
=CONTAR.SI(A1,D1,F1,"s")
but it does not work. How can I achieve this?