|
In cells A1:A14, the following values appear
|
A1 |
AAA
|
|
A2 |
BBB
|
|
A3 |
CCC
|
|
A4 |
DDD
|
|
A5
|
AAA
|
|
A6
|
CCC
|
|
A7
|
AAA
|
|
A8
|
BBB
|
|
A9
|
DDD
|
|
A10
|
AAA
|
|
A11
|
CCC
|
|
A12
|
AAA
|
|
A13
|
DDD
|
|
A14
|
DDD
|
Enter the following formula in cell B1: =COUNTIF(A:A,A1) - copy the formula
from cell B1 to B2:B14
The result:
|
AAA |
5 |
|
BBB |
2 |
|
CCC |
3 |
|
DDD |
4 |
|
AAA |
5 |
|
CCC |
3 |
|
AAA |
5 |
|
BBB |
2 |
|
DDD |
4 |
|
AAA |
5 |
|
CCC |
3 |
|
AAA |
5 |
|
DDD |
4 |
|
DDD |
4 |
Enter the following formula in cell C1: =INDIRECT(ADDRESS(MATCH(MAX(B:B),B:B,0),COLUMN(A:A)))
The Result: AAA
Enter the following formula in cell D1: =MODE(B1:B14)
The Result: 5
|