+ Reply to Thread
Results 1 to 6 of 6

counting text occurrance in multiple column

  1. #1
    Registered User
    Join Date
    02-09-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    6

    Exclamation counting text occurrance in multiple column

    I'm using =COUNTIF(a1:a40,"word") to count the text occurance for a single column, but now I want to know what do i use to know the total number a word appeared that matches the other word from another column. I know it's confusing, i'm totally confuse now. I can't even explain it right.

    it's like this:
    Picture1.png


    i need to get the total of every white female and every white male.

    Thank you in advance!!
    Last edited by enialy; 02-20-2012 at 10:56 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: counting text occurrance in multiple column

    Hi

    In C11, try this.

    =SUMPRODUCT((A1:A6="white")*(C1:C6="male"))

    Same for the others.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    02-09-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: counting text occurrance in multiple column

    Thanks!! what took me forever took you seconds to do! life is a bit unfair

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: counting text occurrance in multiple column

    An alternative:

    =COUNTIFS($C$1:$C$6,B$10,$A$1:$A$6,$A11)

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: counting text occurrance in multiple column

    You are welcome!

    ....life is a bit unfair
    Life is always unfair for all of us, but not at the same time!! Today maybe is for you, Tomorrow maybe will be for me.

    Of course, Cutter's formula(as you are in Excel 2010) works a great for you too!

    Pls, mark your Thread, as SOLVED!

  6. #6
    Registered User
    Join Date
    02-09-2012
    Location
    florida
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: counting text occurrance in multiple column

    Quote Originally Posted by Cutter View Post
    An alternative:

    =COUNTIFS($C$1:$C$6,B$10,$A$1:$A$6,$A11)


    Thank you!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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