+ Reply to Thread
Results 1 to 3 of 3

counting from columns using criterias

  1. #1
    Forum Contributor funkymonkUK's Avatar
    Join Date
    01-07-2005
    Location
    London, England
    Posts
    500

    counting from columns using criterias

    Hi



    I have a list of data that I what to count depending on what the criteria is.

    eg.

    Retire Name Outcome
    Y Bob E
    Y Bill C
    N Joe C
    N James C
    N Julie C
    N Travis I
    N Bobby I
    N Tom I


    On the summary page I want to have the following

    Outcome E where Person was retired = should be 1
    Outcome C where person was not retired = should be 3
    Outcome I where person was retired = should be 0

    how would I create a formula for this. I was thinking of dcounta but not sure how to make a multi critria forumla.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    How about using COUNTIF, something like this

    =COUNTIF(C2:C9,"C")
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Try SUMPRODUCT, e.g. for your first count

    =SUMPRODUCT(--(A2:A9="Y"),--(C2:C9="E"))

+ 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