+ Reply to Thread
Results 1 to 5 of 5

Count - Multiple Mixed Criteria (Number and Text)

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    london
    MS-Off Ver
    excel 2003/2007/2010
    Posts
    15

    Count - Multiple Mixed Criteria (Number and Text)

    Hey All,

    Lets say column A is populated with recurring names and column B is populated with numbers. How would I go about counting all the "John Smith" entries in column A which have a number in column B of <=15?

    Sumproduct cannot cope with mixed multiple criteria Any alternatives?

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Count - Multiple Mixed Criteria (Number and Text)

    Try this:

    =COUNTIFS(A:A,"John Smith",B:B,"<=15")
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Count - Multiple Mixed Criteria (Number and Text)

    BTW:

    =SUMPRODUCT((A:A="John Smith")*1,(B:B<=15)*1) should also do the trick.

  4. #4
    Registered User
    Join Date
    05-09-2012
    Location
    london
    MS-Off Ver
    excel 2003/2007/2010
    Posts
    15

    Re: Count - Multiple Mixed Criteria (Number and Text)

    Soren,

    Thanks very much for the response, both work beautifully. Did not realise there was a countifs function!

  5. #5
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Count - Multiple Mixed Criteria (Number and Text)

    I'm glad I could help!

+ 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