+ Reply to Thread
Results 1 to 7 of 7

COUNTIF Multiple Criteria

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    CA
    MS-Off Ver
    Microsoft Excel for Office 365 MSO 32-bit
    Posts
    6

    COUNTIF Multiple Criteria

    Hello. I need to create a formula to sum if two criteria are met, AND for multiple responses. More specifically, I need to get the total if column F says "October 2019" and if column K says "Declined", "Customized", or "Standard." The productivity tab in on another sheet in the spreadsheet. Hopefully that makes sense. Any help or pointing me in the right direction would be appreciated.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: COUNTIF Multiple Criteria

    Look at using the =countifs function. Here is a link to the syntax

    https://www.techonthenet.com/excel/f...s/countifs.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-26-2019
    Location
    CA
    MS-Off Ver
    Microsoft Excel for Office 365 MSO 32-bit
    Posts
    6

    Re: COUNTIF Multiple Criteria

    Alan, I figured it was COUNTIF. But I can't figure out the exact formula. The formula below is not working for me.

    =COUNTIFS(Referrals!K:K, "Declined", Referrals!F:F, "October 2019")+COUNTIFS(Referrals!K:K, "Customized", Referrals!F:F, "October 2019")+COUNTIFS(Referrals!K:K, "Standard", Referrals!F:F, "October 2019")

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: COUNTIF Multiple Criteria

    I don't access to Excel to test this, but give it a try.

    =countifs(Referrals!f:F,"October 2019,referalls!K:K,{"Customized","Declined","Standard"})

  5. #5
    Registered User
    Join Date
    06-26-2019
    Location
    CA
    MS-Off Ver
    Microsoft Excel for Office 365 MSO 32-bit
    Posts
    6

    Re: COUNTIF Multiple Criteria

    Alan, thank you for your reply. It seemed to be only counting the "Customized" but not the other options from the drop down list.

  6. #6
    Registered User
    Join Date
    06-26-2019
    Location
    CA
    MS-Off Ver
    Microsoft Excel for Office 365 MSO 32-bit
    Posts
    6

    Re: COUNTIF Multiple Criteria

    Can anyone else help me with this?

  7. #7
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: COUNTIF Multiple Criteria

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Do not try to use the Paperclip icon, as this does not work on this forum.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Countif Multiple Criteria
    By preddy1110 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-06-2014, 07:44 AM
  2. Countif, Multiple Criteria, Multiple Sheets, Excel 2003
    By shyammankoo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2013, 06:50 AM
  3. [SOLVED] trying to do a "countif" with multiple ranges and multiple criteria. Countif, Sumproduct?
    By completelyhis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2013, 06:12 PM
  4. Trying to COUNTIF when multiple criteria are met on multiple column data set
    By TGCRequiem in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-15-2011, 12:58 AM
  5. Countif multiple criteria
    By keith6292 in forum Excel General
    Replies: 9
    Last Post: 05-13-2010, 11:55 AM
  6. countif using multiple criteria
    By Wayne E in forum Excel General
    Replies: 4
    Last Post: 01-18-2006, 11:15 PM
  7. Countif w/ Multiple Criteria-How do I use countif
    By Patrick_KC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2005, 05:05 PM

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