+ Reply to Thread
Results 1 to 9 of 9

COUNTIF formula for multiple Criteria

Hybrid View

AbrahamRunning COUNTIF formula for multiple... 02-06-2012, 12:31 AM
jeffreybrown Re: COUNTIF formula for... 02-06-2012, 12:37 AM
AbrahamRunning Re: COUNTIF formula for... 02-06-2012, 12:39 AM
jeffreybrown Re: COUNTIF formula for... 02-06-2012, 12:45 AM
AbrahamRunning Re: COUNTIF formula for... 02-06-2012, 12:51 AM
AbrahamRunning Re: COUNTIF formula for... 02-06-2012, 02:04 AM
TerryE Re: COUNTIF formula for... 02-06-2012, 07:33 AM
OnErrorGoto0 Re: COUNTIF formula for... 02-06-2012, 08:23 AM
jeffreybrown Re: COUNTIF formula for... 02-06-2012, 09:29 AM
  1. #1
    Registered User
    Join Date
    10-07-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    10

    COUNTIF formula for multiple Criteria

    I have rows of records that are composed of customer information

    I want to create a reporting file that will allow me to pull a report and it will count the number of records matching certain criteria

    lets say they have a client ID, I want it to count unique client ids even if the person is in the raw data multiple times
    lets say they have a term and a status, I want unique ID in term "Fall Quarter" and Status "ready to buy"

    Is this possible with count if? is there something else I should be looking at?

    Right now I spend a lot of time, making pivot tables and transferring data to a report from these pivot tables.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: COUNTIF formula for multiple Criteria

    Check out this on Sumproduct http://xldynamic.com/source/xld.SUMPRODUCT.html

    If you are using a version of Excel above 2003 look at Countifs
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    10-07-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    10

    Re: COUNTIF formula for multiple Criteria

    I am actually running 2011 on Mac now. I haven't figured out how to edit my profile.

    Thanks for the suggestions I will look into it and reply back.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: COUNTIF formula for multiple Criteria

    To change it, go to User CP on the menu bar above and then on the left side of the screen scroll down and see the options. Probably a good idea to get that updated as it could make a difference and not only a difference, it seems not a lot of people have the Excel Mac (or I maybe I should say, not me).

    Not 100% sure but I would go with the Countifs if you have it as it is much more efficient than Sumproduct.

  5. #5
    Registered User
    Join Date
    10-07-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    10

    Re: COUNTIF formula for multiple Criteria

    OK. Thanks again. I will give it a shot.

  6. #6
    Registered User
    Join Date
    10-07-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    10

    Re: COUNTIF formula for multiple Criteria

    So far the CountIfs formula is working for this purpose. Thank you very much, this will allow me to get rid of pivot tables and a layer of process.

  7. #7
    Registered User
    Join Date
    01-16-2012
    Location
    Orkney
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: COUNTIF formula for multiple Criteria

    Hi my first time here but I have used this site for lots of help in the past. I normally use Excel 2007 and I have a spreadsheet for use by several other agencies who only have 2003. This means my countifs are not applicable. I have looked at sumproducts and understand the concept. What I need help with is a formula for the following:
    Column A are date formats (to record meeting dates), Column B is a drop down list of outcomes (Yes, No, No reply). I need to record the number of times each month that yes, no and no reply where recorded. It is the greater than, less than part of the formula that I cannot get. i.e. how many times from 01/01/12 to 31/01/12 was "yes" recorded. Am I right in saying I cannot use sumproduct because I am asking for 2 conditions from the same array i.e. date? Thanks for any help.
    Terry

  8. #8
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: COUNTIF formula for multiple Criteria

    No, you can do that with SUMPRODUCT. What is the COUNTIFS formula you are trying to replace? (also, a pivot table would be a lot simpler, I think).
    Good luck.

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: COUNTIF formula for multiple Criteria

    Hi Terry & Welcome to the Forum,

    Please follow the forum rules and start your own thread. This thread has been solved for the OP.

+ 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