+ Reply to Thread
Results 1 to 4 of 4

I want to use a formula to count how many rows meet a set of two criteria.

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    Jersey, Channel Islands
    MS-Off Ver
    Office 2010
    Posts
    25

    I want to use a formula to count how many rows meet a set of two criteria.

    Hi again all,

    I am hoping that you may be able to provide me an answer as to how I will be able to use a formula to define two sets of criteria. Namely, I want it to be able to meet a set year, so for exmaple, I have a column named "Year End, with values in it ranging: 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, and a column named "compliant" with values Yes and No. I want a formula to count what rows meet the criteria of 2005 and Yes. so that I am able to attain a % compliant.

    Here's hoping you smart people out there are are smiling down upon me.

    Many thanks,
    Martin

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: I want to use a formula to count how many rows meet a set of two criteria.

    if you have excel 2000, you will need SUMPRODUCT

    eg.

    =Sumproduct(--(A2:A100=2005),--(B2:B100="yes"))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    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: I want to use a formula to count how many rows meet a set of two criteria.

    Deleted.

    Countifs can not work in Excell 2000
    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.

  4. #4
    Registered User
    Join Date
    08-20-2012
    Location
    Jersey, Channel Islands
    MS-Off Ver
    Office 2010
    Posts
    25

    Re: I want to use a formula to count how many rows meet a set of two criteria.

    Quote Originally Posted by NBVC View Post
    if you have excel 2000, you will need SUMPRODUCT

    eg.

    =Sumproduct(--(A2:A100=2005),--(B2:B100="yes"))
    Thank you Very much! This worked a treat, have added to your reputation...

    Many thanks once again for a speedy and excellent reply.

+ 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