+ Reply to Thread
Results 1 to 3 of 3

Countifs Multiple Named Tables

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    here
    MS-Off Ver
    Excel 2007
    Posts
    1

    Countifs Multiple Named Tables

    Hello,

    I'm trying to write a countifs referring to named tables as criteria.

    Eg: =sumproduct(countifs(table4[field1],namedrange1, table4[field2],namedrange2))

    The named tables contain single column lists, that may vary in size. If i run this with only 1 named table, it works fine, however i cannot get both to work. Any suggestions?

    Thanks

    Edit: also tried ctrl-shift-enter {=sum(countifs(table4[field1],namedrange1, table4[field2],namedrange2))}
    Last edited by Kn0wn1; 01-06-2014 at 11:11 AM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Countifs Multiple Named Tables

    The criteria ranges must all be the same size.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Countifs Multiple Named Tables

    As Tony said. Here is an example of how it would work. Format is same as yours except I used a single named range
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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...multiple countifs without duplication in the numbers
    By HooligaD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2012, 09:53 AM
  2. Replies: 2
    Last Post: 05-10-2012, 10:38 AM
  3. Replies: 2
    Last Post: 04-23-2012, 08:16 PM
  4. Help with countifs using mulitple named ranges
    By dcgrove in forum Excel General
    Replies: 3
    Last Post: 02-15-2012, 05:16 PM
  5. Dynamic Named Range, COUNTIFs & VLookups
    By pmd in forum Excel General
    Replies: 7
    Last Post: 05-31-2010, 08:57 AM

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