+ Reply to Thread
Results 1 to 4 of 4

Easier way than COUNTIFS?

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    Pasadena, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Easier way than COUNTIFS?

    I'm trying to count everytime column K has a "Y" and column Q has either "M", "Mop", or "Cop". I use Excel 2010.

    This is what I came up with:
    =SUM(COUNTIFS('2012'!K:K,"Y",'2012'!Q:Q,"M"),COUNTIFS('2012'!K:K,"Y",'2012'!Q:Q,"Mop"),COUNTIFS('2012'!K:K,"Y",'2012'!Q:Q,"Cop"))

    Please tell me the better way to do this. I know there must be at least one. Thanks in advance.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Easier way than COUNTIFS?

    Here you go...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Easier way than COUNTIFS?

    misread first post
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    08-01-2013
    Location
    Pasadena, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Easier way than COUNTIFS?

    Got it - perfect -- thanks so much!

+ 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. COUNTIFS OR COUNTIFS needs to work
    By joshbellfi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-23-2013, 10:55 AM
  2. COUNTIFS OR...multiple countifs without duplication in the numbers
    By HooligaD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2012, 09:53 AM
  3. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  4. Is there an easier way?
    By wmaughan in forum Excel General
    Replies: 5
    Last Post: 12-27-2005, 07:10 PM
  5. [SOLVED] There has to be any easier way!!
    By mully in forum Excel - New Users/Basics
    Replies: 18
    Last Post: 08-13-2005, 08:05 AM

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