COUNT FORMULA

ebraun

Board Regular
Joined
Sep 1, 2002
Messages
141
I have in a column 300 rows each row with other numbers for example "a1" 2 "a2" 4 I need to know how many "2" i have, Is there a way.

P.S. I don't want to change the sort

Please help

Thanks a million
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
In a blank cell, enter
=COUNTIF(A:A,2)to count the number of 2's in column A.
 

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690

ADVERTISEMENT

=COUNTIF(A:A,"name")
 

ebraun

Board Regular
Joined
Sep 1, 2002
Messages
141
It works by the number only not by the name, Is there a special format ?

Thanks
 

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
It should work. See Example. Note that it is not case sensitive.
Book1
ABCD
3Brown2
4Smith
5Brown2
6Jones
7Smith3
8Brown
9Johnson1
10Taylor
11Jones
Sheet1
 

Forum statistics

Threads
1,144,735
Messages
5,725,986
Members
422,652
Latest member
Elnene1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top