+ Reply to Thread
Results 1 to 6 of 6

Thread: Count based on multiple different criterias

  1. #1
    Registered User
    Join Date
    12-15-2010
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    3

    Count based on multiple different criterias

    Hi all,

    I have a table with Goal (A) and the Actuals (B)
    Now I want to check how many Actuals are above the Goal.
    The difficulty is tha every Goal is different.
    All functions I found, there needs to be a defind std criteria for the whole range, but I want to use different criterias for each Row!?

    Thanks for your help!
    Last edited by sika11; 12-15-2010 at 05:46 AM.

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,220

    Re: Count based on multiple different criterias

    Please post a sample workbook with some typical data and an explanation of the crtiteria used for each row.

    Regards

  3. #3
    Registered User
    Join Date
    12-15-2010
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Count based on multiple different criterias

    Goal Act
    part1 2 3
    part2 2 1
    part3 1 1.5
    part4 1.5 2
    part5 3 2
    part6 2 1

    I just want to see that out of those 6 parts 3 parts have a Act > Goal. This should be done with one forumlar at the top or bottom of the table.

    Thanks

  4. #4
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,220

    Re: Count based on multiple different criterias

    That's not a sample workbook.

    However, try:

    =SUMPRODUCT(--($B2:$B7<$C2:$C7))

    Regards

  5. #5
    Registered User
    Join Date
    12-15-2010
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Count based on multiple different criterias

    Great it works!
    I never thought it could be that simple!

    THANKS A LOT!

  6. #6
    Registered User
    Join Date
    11-18-2010
    Location
    Johannesburg South Africa
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Count based on multiple different criterias

    Hi,
    Enter this formula as an array formula.
    Note the{ } brackets


    ={COUNTIF(C2:C7,">"&B2:B7)}

    See attachment
    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.2.0