+ Reply to Thread
Results 1 to 3 of 3

COUNTIFS - Criteria based on a named range.

  1. #1
    Registered User
    Join Date
    10-16-2014
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    26

    Cool COUNTIFS - Criteria based on a named range.

    Hi,

    This is my first post and was wondering if someone could help me.

    I am trying to count the amount of times 2 conditions are met in Excel 2010. The first criteria is to look to see if a value appears in a named range in column C and the second is just to check if the value is equal to a cell in column G.

    Is this at all possible I was trying;

    Please Login or Register  to view this content.
    Stream1 being the named range containing 16 possible cells and A4 being the name of an employee.

    I would be really grateful for some help.

    Thanks,
    Paul

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

    Re: COUNTIFS - Criteria based on a named range.

    You can do that - your current formula will return an array of 16 values (1 each for each value in Stream1) so you need a function to sum that array and get the total - SUMPRODUCT can do that and then you don't need "array entry", i.e.

    =SUMPRODUCT(COUNTIFS('6-12 E'!$C:$C,Stream1,'0-6 E'!$G:$G,A4))

    Note: I see you are referencing two different worksheets in that formula, is that deliberate?
    Audere est facere

  3. #3
    Registered User
    Join Date
    10-16-2014
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    26

    Re: COUNTIFS - Criteria based on a named range.

    Hello!

    Thanks you so much for coming back to me so quickly.

    This worked perfectly and I understand your explanation.

    Yea I sorted the different sheets thanks for spotting it!

    Paul

+ 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] Dynamic Named Range to Auto-Populate another range based on criteria
    By BeachRock in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2014, 06:46 PM
  2. Change Row Font Color based on criteria in named range
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-22-2013, 07:44 PM
  3. [SOLVED] Loop through named range backwards and populate based on criteria from adjacent cells
    By CDEG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-17-2013, 05:56 AM
  4. [SOLVED] Ranking based on 2 criteria with named range
    By Webbers in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-19-2012, 07:21 AM
  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