+ Reply to Thread
Results 1 to 8 of 8

Count text in one column Matching single or multiple Criteria from Other Column Excel 2003

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Caxias, Portugal
    MS-Off Ver
    Excel 2003
    Posts
    6

    Count text in one column Matching single or multiple Criteria from Other Column Excel 2003

    Hi!
    That's my first post, having read and tried many solutions... the formula COUNTIFS does not work (I guess) properly within Excel 2003 (still my version...)

    Problem: Basically I need to count (counta) the text "x" in one column, IF a specific text "s" is found in the same row in another column.

    1) GOAL 1: How many "x" we can find in column K when in the same row the column B has an "s"?

    2) GOAL 2: How many "x" we can find in column K when in the same row the column B has an "s" AND the column D match an "f"?

    I have attached a dummy example to illustrate my basic challenge.

    Many thanks!
    Attached Files Attached Files
    Last edited by Jose Macieira; 07-17-2013 at 06:45 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: Count text in one column Matching single or multiple Criteria from Other Column Excel

    SUMPRODUCT is the way to go

    =SUMPRODUCT(($D$4:$D$10="s")*($K$4:$K$10="x"))

    =SUMPRODUCT(($D$4:$D$10="s")*($K$4:$K$10="x")*($F$4:$F$10="f"))
    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
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Count text in one column Matching single or multiple Criteria from Other Column Excel

    use sumproduct

    =SUMPRODUCT((M4:M10="x")*(D4:D10="s"))
    =SUMPRODUCT((M4:M10="x")*(D4:D10="s")*(F4:F10="f"))

    change the cells to match your example - the above will work in the sample you attached - see below

    is this a homework question ?

    i have answered as I was not sure - but usually we would not do homework for you

    you may want to lookup using sumproduct for count with multiple criteria
    quite a few tutorials on the web
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    07-16-2013
    Location
    Caxias, Portugal
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Count text in one column Matching single or multiple Criteria from Other Column Excel

    Many Thanks!


    So simple... yet...

  5. #5
    Registered User
    Join Date
    07-16-2013
    Location
    Caxias, Portugal
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Count text in one column Matching single or multiple Criteria from Other Column Excel

    Thanks!

    This is not a homework. Is a real work for a homeless institution.

  6. #6
    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: Count text in one column Matching single or multiple Criteria from Other Column Excel

    You are welcome and thanks for the feed back.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thank you.

  7. #7
    Valued Forum Contributor ffffloyd's Avatar
    Join Date
    05-20-2008
    Location
    Melbourne, VIC, Australia
    MS-Off Ver
    Office 365
    Posts
    243

    Re: Count text in one column Matching single or multiple Criteria from Other Column Excel

    See the forumulae I have put in D16 and D17 which answer your examples, and the explanation I have written next to them.

    I hope that helps. Please ask if you have any further questions.
    Attached Files Attached Files
    _______________
    Floyd Emerson
    Business Intelligence Consultant
    Melbourne, Victoria, Australia

  8. #8
    Registered User
    Join Date
    07-16-2013
    Location
    Caxias, Portugal
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Count text in one column Matching single or multiple Criteria from Other Column Excel

    Fabulous! I greatly appreciated the explanation. Thank You.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count Unique Values Matching Criteria from Other Column
    By jsharrard in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-20-2013, 05:56 PM
  2. How to count cells in a column those are matching a certain criteria?
    By live.arnab in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2013, 08:22 AM
  3. Replies: 4
    Last Post: 05-03-2013, 12:09 PM
  4. Count Unique Values with Matching Criteria in another Column
    By mjthornicroft in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-30-2013, 06:51 AM
  5. [SOLVED] Unable to count values in one column matching criteria from another
    By Gijs in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-28-2011, 08:39 AM

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