Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Excel Formula - Count the frequency of text values in a column

Tags:

excel

Let's say I have different text values in a column such as:

Column A
(source: sartodimoda.com)

I want a formula to calculate the frequency of every text value in the column. So the answer should be displayed in two columns. Column D should be the text value and column E should be the frequency of occurrence - so it should come out something like this -

Column D & E
(source: sartodimoda.com)

Thank you so much for your help.

like image 591
user1799724 Avatar asked Sep 21 '14 04:09

user1799724


People also ask

How do you count the FREQUENCY of text values in a column?

Note: You also can use this formula =COUNTIF(A1:A10,"AAA-1") to count the frequency of a specific value. A1:A10 is the data range, and AAA-1 is the value you want to count, you can change them as you need, and with this formula, you just need to press Enter key to get the result.

How do I count the number of occurrences of text in Excel?

If you want to learn how to count text in Excel, you need to use function COUNTIF with the criteria defined using wildcard *, with the formula: =COUNTIF(range;"*") . Range is defined cell range where you want to count the text in Excel and wildcard * is criteria for all text occurrences in the defined range.

How do I count the number of times a word appears in a column in Excel?

In Excel, I can tell you some simple formulas to quickly count the occurrences of a word in a column. Select a cell next to the list you want to count the occurrence of a word, and then type this formula =COUNTIF(A2:A12,"Judy") into it, then press Enter, and you can get the number of appearances of this word. Note: 1.

How do you count occurrences of items in a list Excel?

Use the =Countif function to count the number of times each unique entry appears in the original list.


1 Answers

As @Kabir said in the comments, you could use a pivot table. You could also use the COUNTIF function. Try putting the following formula in cell E1 and dragging it downward so the other cells in column D.

=COUNTIF(A:A,D1)
like image 130
Nicholas Flees Avatar answered Sep 29 '22 08:09

Nicholas Flees