How to count in a column

alive15

New Member
Joined
Jul 13, 2016
Messages
36
Hello, I have a column that has different words. I need to find out how many of each word is in that column. For example, there might be 50 of the word banana, 7 of the word apple, 23 of the word orange, etc. What is an easy way to figure this or formula to use, I have over 150 cells to check. I don't want to manually count each one.

Thanks,
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I figured it out using count if.

Is there a way to add some notes before my formula? For example I want to do this:[ Bananas: =countif(C:C, "banana") ], but I want the formula to show the # and keep the first word inside the brackets.
 
Upvote 0
Like
="Bananas " & COUNTIF(C:C,"banana")
 
Upvote 0
I want my cell to read like this
Bananas: 86

But I will use the countif forumla instead, and this formula should make the # 86 appear. The method you showed above does not work. I tried "Bananas: " & COUNTIF(C13:C206,"bananas"), but it did not work.
 
Upvote 0
Also, I have a second column that tells me if the bananas are good or bad or cleanable. I want to determine how many of the first column has the word "banana", and how many of the second column has the word "bad" in one formula.

I found =COUNTIFS(C13:C206,bananas,H13:H206,"bad"), but this is not working either. Any ideas how to get this?

Thanks,
 
Upvote 0
To keep the word Bananas in the cell it would be
="Bananas: "& COUNTIFS(C13:C206,"bananas",H13:H206,"bad")
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,973
Members
452,540
Latest member
haasro02

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