Link to home
Start Free TrialLog in
Avatar of donpick
donpick

asked on

How to count repeating values

Running Excel 2000 on Windows XP Pro.  

I have a column containing repeating values.  I want to get a count of each repeating value.
For example, column F has the word "apple" in several cells.  in the same column there are many cells containing  the word "bake".  

What function would count the cells in the row and tell me how many contain "bake" and how many contain "apple" ?
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

=countif(A:A,"apple")
Or if B1 contains apple then you can use

=countif(A:A,B1)
ASKER CERTIFIED SOLUTION
Avatar of Glenn Ray
Glenn Ray
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of donpick
donpick

ASKER

Thank you for providing an example of a pivot table.  I have never used pivot tables.
Glad to help.  PivotTables are amazingly powerful and are especially good at *ad hoc* analysis of your data.
-Glenn