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

前端 未结 2 2218
我在风中等你
我在风中等你 2021-02-19 09:31

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


(source: sartodimoda.com)

I want a formula to calculate the frequency of every tex

相关标签:
2条回答
  • I faced to the same problem a while ago, and the only way for me was a "Pivot Table", though adding such function in "SUBTOTALS" would be very handy:

    1. Add a name ("Searched Fields") for the searched range, otherwise the first cell should be treated as one
    2. Select the range of your texts (including the one containing "Searched Fields")
    3. Insert -> Pivot Table -> OK
    4. In "Pivot Table Fields List" Frame from the sub-frame "Choose fields to add to report" drag the only item "Searched Fields" to sub-frames "Row Labels" and "∑ Values", and you'll get what you want:

    Enjoy!

    0 讨论(0)
  • 2021-02-19 10:03

    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)
    
    0 讨论(0)
提交回复
热议问题