Counting cells please help!

staceyjkelly

New Member
Joined
Jan 27, 2011
Messages
13
I have a really easy question but I am not sure how best to do this...I literally need to count a number of cells..not the value that is in the cells as it is just text. However there are some cells with no text in that I do not want to be counted. Is there a simple formula I can use to count cells with just text in please, and to avoid the cells with no text? Many thanks for any help with this!! :)
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Thank you...i tried this but it doesnt work. E.g. I have 5 cells that say 'Mark' and i want this counted, then seven that say 'Wendy'...my question is how do i have one formula that counts all the cells for the individuals but without making different formulas, but it will pic up the different names. Thank you!!
 
Upvote 0
Try eg:

=COUNTA(A1:D4)


Hi how can I use this to count certain text in a cell e.g. 'Bob' eg. bob has 5 cells, but use the same formula to pick up 'wendy' eg with a count of 10 cells too without making different formulas for each name if this is poss, but to count the names separatley eg. wendy = 10, bob =5 i hope this makes sense!
 
Upvote 0
you mean like this? just the unique values?

Excel Workbook
HI
29mark5
30sally
31sally
32mark
33mark
34mike
35pete
36pete
37sally
38pete
39
40sally
41
42tanya
43
Sheet1
 
Upvote 0
I would like the formula to count the cells saying 'Mark' and give me that total, and the cells saying 'bob' to give me the total saying bob eg. if mark has 10 cells i would like the count to say mark =10 and so on but without creating different formulas to count per name. ideally the formula would recognise the different names and count the cells with each name in separately. thanks! much appreciated
 
Upvote 0
or this?

Excel Workbook
HIJ
29markmark3
30sallysally4
31sallymike1
32marktanya1
33markpete3
34mike
35peteTotal12
36pete
37sally
38pete
39
40sally
41
42tanya
43
Sheet1
Excel Workbook
J
3512
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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
Back
Top