+ Reply to Thread
Results 1 to 4 of 4

CountIf and VLookup - 2 sheets, 4 columns

  1. #1
    Registered User
    Join Date
    05-21-2019
    Location
    SC, USA
    MS-Off Ver
    2013
    Posts
    20

    CountIf and VLookup - 2 sheets, 4 columns

    I need to count how many rows with specific criteria do not match the same criteria on another sheet.

    Sheet 1 is on the left, sheet 2 is on the right.

    Both sheets have 2 columns. I need to do a countif and vlook up combinaton of sorts. When the columns of both sheets are combined, I need to do a vlookup to see what from sheet 1 IS NOT FOUND in Sheet 2. In the attached screenshot here would be two instances of rows that did not match or were not found on sheet 2.

    Can anyone assist?

    Thank you.Capture.PNG

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: CountIf and VLookup - 2 sheets, 4 columns

    try this in Sheet1 cell C2:
    =COUNTIFS(Sheet2!A:A,A2,Sheet2!B:B,B2)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    05-21-2019
    Location
    SC, USA
    MS-Off Ver
    2013
    Posts
    20

    Re: CountIf and VLookup - 2 sheets, 4 columns

    I'm looking to get the actual summed count of the non-matches.

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: CountIf and VLookup - 2 sheets, 4 columns

    maybe something along:
    =SUMPRODUCT(COUNTIFS(Sheet2!A:A,A2:A10,Sheet2!B:B,"<>"&B2:B10))

+ 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] VLOOKUP Between Two Sheets for Specific Columns
    By Darko_Giac in forum Excel General
    Replies: 6
    Last Post: 05-22-2019, 01:48 PM
  2. [SOLVED] Vlookup of a date across sheets using two columns
    By adam_d_john in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-16-2017, 09:58 PM
  3. How to COUNTIF multiple columns only for row where VLOOKUP is met.
    By TerryTino in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-08-2015, 10:55 AM
  4. Vlookup in different sheets comparing columns
    By azzyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2014, 11:25 PM
  5. Replies: 3
    Last Post: 08-30-2013, 04:57 PM
  6. Replies: 2
    Last Post: 04-18-2013, 02:03 PM
  7. [SOLVED] How do i vlookup & countif across multiple sheets?
    By msalib888 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2013, 01:22 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