+ Reply to Thread
Results 1 to 4 of 4

formula for multiple criteria

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    formula for multiple criteria

    I have gone through the treads and can not seem to find a solution to my problem - apologise if it has been answered and i have missed it.

    Basically, what i am trying to do is have a formula which will return the number of occurrences when certain criteria are met. I have column A that shows whether the item is overdue or not by showing the word overdue. in column C i have the name of the person responsible and in column D i have the date when completed (which removes the overdue from column A).

    Col A Col C Col D
    Overdue A N Other "blank"
    "Blank" A N Other 01/01/01

    Total = 1

    Is there a formula that will return the value 1 without having to manually count? i have over 1000 lines to check.

    Many thanks in advance for your help!
    Last edited by phoenixphi; 06-08-2012 at 07:13 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: formula issues

    To count overdue items

    =countif(A:A,"overdue")

    to count all other items

    =countif(D:D,">0")

  3. #3
    Registered User
    Join Date
    06-08-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Thumbs up Re: formula for multiple criteria

    i solved this with the following;

    =SUM(A2:O50=Q120)*(Q2:Q50=O120)*(R2:R50=0))
    then CTR+SHIFT+RETURN to confirm

    it worked a treat!

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: formula for multiple criteria

    You mention having multiple criteria, but don't clearly define them beyond "overdue"
    Are you wanting to count overdue items relative to a name?

    If so, then try using a SUMPRODUCT formula

    =SUMPRODUCT(--($A$1:$A$1000="overdue")*($C$1:$C$1000="Name"))

    Where "Name" is the actual name of the person

    Also, consider using a Pivot Table - it provide the best flexibility.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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