+ Reply to Thread
Results 1 to 3 of 3

Formula for COUNTIF with more than one VLOOKUP condition / criteria

  1. #1
    Registered User
    Join Date
    06-16-2020
    Location
    Kenya
    MS-Off Ver
    2016
    Posts
    2

    Post Formula for COUNTIF with more than one VLOOKUP condition / criteria

    Hi Everyone,

    I'm trying to generate a formula that will count the number of experts with specific expertise in each country and generate the result in Column K (red text).

    Table 1 shows experts already available in each country, and their areas of expertise. Table 2 shows expertise that each country is requesting for.

    The aim is to assist decision making by reviewing whether the experts requested for (Table 2) for each country already exist in the same country (Table 1), and if yes, how many? If no, also important to know.

    I tried but got stuck with combining COUNTIF with two VLOOKUP conditions. My challenge is to have two conditions that must be fulfilled in the formula:
    (a) COUNT IF the Country (Column H) in Table 2 is an exact match for the Country (Column A) in Table 1.
    AND
    (b) COUNT IF the "Expertise" (Column C) is an exact match for "Expertise Requested For" (Column J)


    These are two huge tables in actuality, and will refer to the actual table references in the formula e.g. Experts_Table[Expertise] and Requests_Table[Expertise Requested For]

    Thank you for the support!

    Regards,

    Bonyo
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Formula for COUNTIF with more than one VLOOKUP condition / criteria

    "K3"
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    06-16-2020
    Location
    Kenya
    MS-Off Ver
    2016
    Posts
    2

    Re: Formula for COUNTIF with more than one VLOOKUP condition / criteria

    Quote Originally Posted by avk View Post
    "K3"
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you avk, this is excellent and just what I was looking for - you just saved my life!!

+ 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. Countif formula with two criteria
    By iqbal Ariff in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-23-2019, 11:56 PM
  2. Countif with condition formula
    By geliedee in forum Excel General
    Replies: 13
    Last Post: 05-25-2015, 09:40 AM
  3. Replies: 8
    Last Post: 10-14-2014, 01:54 AM
  4. Countif formula with a condition
    By saya_26 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2014, 12:16 PM
  5. [SOLVED] need formula to solve the condition criteria from 2 column
    By breadwinner in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-11-2013, 05:55 AM
  6. [SOLVED] A formula to vlookup with condition (b or s)
    By gokzee in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-11-2012, 11:37 AM
  7. if condition in vlookup formula
    By ranjitha in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-16-2010, 06:15 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