+ Reply to Thread
Results 1 to 8 of 8

Excel 2010 show how many times each text appears

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    israel
    MS-Off Ver
    Excel 2003
    Posts
    7

    Excel 2010 show how many times each text appears

    how do i count how many times each text appears in a column? for example say i have this column:

    foo1
    foo1
    foo1
    too2
    foo1
    too2
    mmm
    mmm
    foo1


    now i like to execute function that show me the result:

    foo1 = 4
    mmm= 2
    too2 =2


    can it be done in single advanced function ?

  2. #2
    Forum Guru Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    11,135

    Re: Excel 2010 show how many times each text appears

    Try the COUNTIF function
    Be very, very careful using IFERROR ! It hides ALL errors which is not always what you want to get correct results

  3. #3
    Registered User
    Join Date
    01-21-2013
    Location
    israel
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Excel 2010 show how many times each text appears

    sure i did , but then i need to do on each text instance
    PHP Code: 
    =COUNTIF(A1:A22601,"foo1"
    but then i need to know which text's i have in each column.
    what i want is function that will take the column and calculate each text how many instances it has in the column

  4. #4
    Forum Guru Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    11,135

    Re: Excel 2010 show how many times each text appears

    First extract distinct values like this

    Make sure your data has a header
    Data --> Filter --> Advanced Filter
    Check Unique Records Only
    Select Copy to another location
    Click OK
    Then apply COUNTIF to each value in the list

  5. #5
    Registered User
    Join Date
    01-21-2013
    Location
    israel
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Excel 2010 show how many times each text appears

    Thanks for the replay , how do i add headers ?
    i do not have them

  6. #6
    Forum Guru Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    11,135

    Re: Excel 2010 show how many times each text appears

    Insert a cell at the top of the column with your data and name it what you want. From now on you have a header

  7. #7
    Registered User
    Join Date
    01-21-2013
    Location
    israel
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Excel 2010 show how many times each text appears

    Quote Originally Posted by Pepe Le Mokko View Post
    First extract distinct values like this

    Make sure your data has a header
    Data --> Filter --> Advanced Filter
    Check Unique Records Only
    Select Copy to another location
    Click OK
    Then apply COUNTIF to each value in the list
    is there away to set automatically COUNTIF for each unique string?
    i will have more then 5000 unique values ....

  8. #8
    Registered User
    Join Date
    04-23-2012
    Location
    Split
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Excel 2010 show how many times each text appears

    I use a pivot table with a filed option set to count, and than copy the results in the new sheet

  9. #9
    Forum Guru Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    11,135

    Re: Excel 2010 show how many times each text appears

    Quote Originally Posted by umen View Post
    is there away to set automatically COUNTIF for each unique string?
    i will have more then 5000 unique values ....
    After using the filter ( say in col A), in B2 enter =countif(A:A,A2) then double click the handle at the right lower corner of this cell when selected

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1