+ Reply to Thread
Results 1 to 6 of 6

Countifs Based on VLookup

  1. #1
    Registered User
    Join Date
    09-22-2019
    Location
    Klerksdorp, South Africa
    MS-Off Ver
    MS Office Pro Plus 2019
    Posts
    7

    Countifs Based on VLookup

    I need to Countif / Sumif Range based on Vlookup value of another range.
    =COUNTIFS(G4:G13,VLOOKUP(Each cell in range (G4:G13),A3:D18,2,FALSE)=1)
    Countif_Vlookup.JPG

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Countifs Based on VLookup

    Nope. You have attached an image. That's not very easy to work with. Also... I'm lazy. I have to re-type your information before I can begin to address your problem. That puts me off completely.

    So.

    Do yourself a favour and please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough). However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever).

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Make sure confidential info is removed first!!!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    09-22-2019
    Location
    Klerksdorp, South Africa
    MS-Off Ver
    MS Office Pro Plus 2019
    Posts
    7

    Re: Countifs Based on VLookup

    As requested.
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Countifs Based on VLookup

    Put this array* formula in H13:

    =SUM(SUMIFS(B$3:B$18,$A$3:$A$18,$G$3:$G$12))

    *Note that an array formula needs to be committed using the key combination of Ctrl-Shift-Enter (CSE) instead of the usual Enter.

    Then you can copy into I13:J13

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    09-22-2019
    Location
    Klerksdorp, South Africa
    MS-Off Ver
    MS Office Pro Plus 2019
    Posts
    7

    Re: Countifs Based on VLookup

    Thanks a 100000

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Countifs Based on VLookup

    Shouldn't that be 1,000,000 ?

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, as you are new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Replies: 6
    Last Post: 03-19-2019, 09:14 PM
  2. [SOLVED] Combining COUNTIFS with VLOOKUP?
    By jeptik in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-08-2018, 01:59 PM
  3. [SOLVED] Countifs and vlookup?
    By clevername1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-29-2015, 03:41 PM
  4. CountIfs - IF - or - Vlookup?
    By robbfamily in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-23-2015, 12:12 PM
  5. [SOLVED] VLOOKUP and COUNTIFS
    By tamille in forum Excel General
    Replies: 7
    Last Post: 11-25-2013, 04:15 PM
  6. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  7. Help with COUNTIFS and VLOOKUP
    By Ponce in forum Excel General
    Replies: 1
    Last Post: 05-11-2011, 02:10 PM

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