finding how many time each item appear in specific range

mtsf26

Board Regular
Joined
Nov 3, 2011
Messages
50
HI all...
i just want to ask about finding how many time each item appear in specific range
for example:
apple
banana
grape
apple
mangosten
orange
banana
banana
mangosten

in that list we should get :
apple=2
banana=3
grape=1
apple=2
mangosten=2
orange=1
banana=3
banana=3
mangosten=2

if im using =COUNTIF(F6:F14,"apple") then i can get the result of apple.. and just keep changing underlined word but if then i have so many data, i cant do that, is there any solution? Thanks
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Robert Mika

MrExcel MVP
Joined
Jun 29, 2009
Messages
7,256
Excel 2010
ABCDE
1appleapple2
2bananabanana3
3grapegrape1
4applemangosten2
5mangostenorange1
6orange
7banana
8banana
9mangosten

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
E1=COUNTIF($A$1:$A$9,D1)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>


drag formula down
or you can use Pivot Table.
But I'm not sure about he result you get(twice)
 
Upvote 0

Forum statistics

Threads
1,195,633
Messages
6,010,818
Members
441,569
Latest member
PeggyLee

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