+ Reply to Thread
Results 1 to 7 of 7

Count function help

  1. #1
    Registered User
    Join Date
    02-28-2013
    Location
    PH
    MS-Off Ver
    Excel 2007 and 2013
    Posts
    43

    Unhappy Count function help

    Hello,

    May I seek help about count function.

    I would want to count the number of colors collected by a given person. I just dont know the formula to get it. :'(

    I have attached the sample data to make it easier.

    I was trying to work on the Summary tab. The search criteria is in the Raw tab.



    Please help.


    Thank you in advance
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-05-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Count function help

    A pivot table will do this for you.
    See the attached


    <----if this helped you please click the star.
    Attached Files Attached Files
    http://excelevangelist.blogspot.com/

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Count function help

    The pivot table approach may be easiest, but if you must have a formula...
    Using your posted workbook, this regular formula begins the count of name/color combinations
    Please Login or Register  to view this content.
    Copy that formula across and down through G13.

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    09-05-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Count function help

    you could also use something like this

    Add the following forumula to cell C4 in your summary sheet.
    Then copy it to the rest of the summary table.
    =SUMPRODUCT((Raw!$B$2:$B$27=$B4)*(Raw!C$2:C$27=1))

    I have updated the previous spreadsheet to include this
    See attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-28-2013
    Location
    PH
    MS-Off Ver
    Excel 2007 and 2013
    Posts
    43

    Re: Count function help

    Quote Originally Posted by Ron Coderre View Post
    The pivot table approach may be easiest, but if you must have a formula...
    Using your posted workbook, this regular formula begins the count of name/color combinations
    Please Login or Register  to view this content.
    Copy that formula across and down through G13.

    Does that help?
    Thank you!!!

    That does it


    Thank you too Mark. Very much appreciated guys

  6. #6
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Count function help

    C4 cell =SUMIF(Raw!$B$2:$B$27,Summary!$B4,INDEX(Raw!$C$2:$G$27,,MATCH(Summary!C$3,Raw!$C$1:$G$1,0)))

    Just an another approach
    Appreciate the help? CLICK *

  7. #7
    Registered User
    Join Date
    02-28-2013
    Location
    PH
    MS-Off Ver
    Excel 2007 and 2013
    Posts
    43

    Re: Count function help

    Editing...
    Attached Files Attached Files

+ 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