# Count Text - Max

#### ripek

##### New Member
Hi All,

A B C D E F G
a 1. b 5------>MAX 1.COUNT
b 2. a 3------>MAX 2.COUNT
a 3. c 2 .....
b 4. d 1 .....
c 5. e 1.....
e
b
a
b
d
c
b

How to do it?

Regards

### Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

#### Fergus

##### Well-known Member
Hello ripek, welcome to the Board,

How to do it?

Do what? Could you be a bit more explicit about what you are trying to do?

#### ripek

##### New Member
Hi,

I am soryy, my English is not good.

I want learn maximum first five count column A.

Thanks,

#### Fergus

##### Well-known Member
Can you give an example of which numbers you want to find the maximum of and what the answer would be. Use your first example to explain a bit more what you want to do.

#### ripek

##### New Member

I want learn TEXT value count column A ?Is not number column A.

#### Fergus

##### Well-known Member
The function =COUNTA(range) will count how many cells in the range are not empty, so will count all cells with numbers and text. The function =COUNT(range) will count only cells containing numbers. See example below where row 7 has COUNT and row 8 has COUNTA. Number of cells with only text would be the difference.
Book2
ABCDE
1a1b510
2b2a320
3a3c230
4b4d1aa
5c5e1bb
6e6x4cc
706063
866666
Sheet1

HTH

Replies
12
Views
182
Replies
10
Views
121
Replies
0
Views
25
Replies
4
Views
33
Replies
8
Views
57