+ Reply to Thread
Results 1 to 6 of 6

sum words in column

  1. #1
    Registered User
    Join Date
    11-30-2009
    Location
    Den Haag, Holland
    MS-Off Ver
    Excel 2003
    Posts
    3

    sum words in column

    I want to calculate how many times the word yes is displayed in a column.

    For example if this is my column, what code should I input in G6 to sum the yes answers.

    Yes
    No
    Yes
    Maybe
    Yes
    G6

    Thanks in advance,
    Ricardinho

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: sum words in column

    See COUNTIF function in XL Help

    =COUNTIF(G1:G5;"Yes")

  3. #3
    Valued Forum Contributor
    Join Date
    07-21-2008
    Location
    London, UK
    Posts
    326

    Re: sum words in column

    Countif maybe?

    Built in Excel Function

  4. #4
    Registered User
    Join Date
    11-30-2009
    Location
    Den Haag, Holland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: sum words in column

    Thanks for the quick reply guys and I had tried it also before but I cant seem to get it to work. I entered this code (my excell is in dutch)
    =SOM.ALS(G1:G5;"yes") but then it just gives 0 as a value where it should give 3??

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: sum words in column

    AANTAL not SOM

  6. #6
    Registered User
    Join Date
    11-30-2009
    Location
    Den Haag, Holland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: sum words in column

    Quote Originally Posted by DonkeyOte View Post
    AANTAL not SOM
    thanks man, working now..

+ 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