+ Reply to Thread
Results 1 to 5 of 5

COUNT or COUNTIF with AND

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    49

    COUNT or COUNTIF with AND

    I'm getting stumped here, trying to make a formula. Trying to count the number of instances in which column A has a "1" and column F has an "E." And then being able to count the instances in which column A has "2" and column F has "G", etc.

    What I have so far is

    =COUNT(IF(A:A="1",IF(F:F,"E",0)))

    I know that's not it -- that's what I have so far. Can you help me with creating this formula?

    Thanks!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: COUNT or COUNTIF with AND

    Try

    =COUNTIFS(A:A,1,F:F,"E")

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: COUNT or COUNTIF with AND

    You need COUNTIFS function (with an "S" on the end) for multi-conditional counting, i.e.

    =COUNTIFS(A:A,1,F:F,"E")
    Audere est facere

  4. #4
    Registered User
    Join Date
    09-04-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: COUNT or COUNTIF with AND

    This is awesome. Thank you!

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: COUNT or COUNTIF with AND

    Great, thanks for the feedback

+ 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