Gary McMaster
Well-known Member
- Joined
- Feb 8, 2009
- Messages
- 1,978
Hi Everyone,
Given the sample below, how can I count how many times a given letter appears in the table with a number (or non-blank cell) in the cell to its right. In this example the answer is A=3, B=2 and everything else = 4.
I'm not having much luck trying it with CountIf. Is there something better?
Thanks for any advice.
Gary
Given the sample below, how can I count how many times a given letter appears in the table with a number (or non-blank cell) in the cell to its right. In this example the answer is A=3, B=2 and everything else = 4.
I'm not having much luck trying it with CountIf. Is there something better?
Thanks for any advice.
Gary
Excel Workbook | ||||||
---|---|---|---|---|---|---|
B | C | D | E | |||
2 | A | 1 | B | 2 | ||
3 | C | 3 | D | 4 | ||
4 | E | 5 | F | 6 | ||
5 | G | 7 | H | 8 | ||
6 | I | 9 | J | 10 | ||
7 | K | 11 | L | 12 | ||
8 | B | 2 | A | 1 | ||
9 | D | 4 | C | 3 | ||
10 | F | 6 | E | 5 | ||
11 | H | 8 | G | 7 | ||
12 | J | 10 | I | 9 | ||
13 | L | 12 | K | 11 | ||
14 | A | B | ||||
15 | C | 3 | D | 4 | ||
16 | E | 5 | F | 6 | ||
17 | G | 7 | H | 8 | ||
18 | I | 9 | J | 10 | ||
19 | K | 11 | L | 12 | ||
20 | B | A | 1 | |||
21 | D | 4 | C | 3 | ||
22 | F | 6 | E | 5 | ||
23 | H | 8 | G | 7 | ||
24 | J | 10 | I | 9 | ||
25 | L | 12 | K | 11 | ||
Sheet1 |