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

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi I think I know what you mean...in your example you have 3 cells with the name mark so i would like it to count mark as 3, sally as 4 (as she has 4 cells with her name in) and so on for each name...how do i do this without making a number of formulas for each name? thank you
 
Upvote 0
Hi I tried the countif eg. for the name mark....i tried to put the criteria would be the formula picks up this name but it didnt work. Basically I am useless at excel, and need a simple formula to count cells that say individual names e.g. if i have 8 cells with the name mark in i want a quick formula to say the count is 8, but also want to use this same formula to count different names and how many cells have their name in too..eg if julie appeared 80 times how would i apply the same formula to pick up mark and julia's names indivdually and count that julia had 80 cells with her name in, mark with 5 and so on for different names? thanks for any help...i do need step by step guidance as i dont really understand just forumlas alone.
 
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

Hi I tried the countif eg. for the name mark....i tried to put the criteria would be the formula picks up this name but it didnt work. Basically I am useless at excel, and need a simple formula to count cells that say individual names e.g. if i have 8 cells with the name mark in i want a quick formula to say the count is 8, but also want to use this same formula to count different names and how many cells have their name in too..eg if julie appeared 80 times how would i apply the same formula to pick up mark and julia's names indivdually and count that julia had 80 cells with her name in, mark with 5 and so on for different names? thanks for any help...i do need step by step guidance as i dont really understand just forumlas alone.
 
Upvote 0
do you have a unique list of name? one thats in a list somewhere thet you can refer to? if you can produce a list similar to the one i posted, you would only need to enter that formula once. Say your main list of mixed names and blank spaces is in A1:A20 and you have within that list 5 unique names like the one I have, then in B1 you would type =Countif(A$1:A$20,A1) and drag that formula down your list of 5 names and you'll get the same result I did.
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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