Results 1 to 10 of 10

Count duplicates in two columns / Averageif question

Threaded View

  1. #1
    Registered User
    Join Date
    07-05-2018
    Location
    Amsterdam
    MS-Off Ver
    Excel 2016
    Posts
    5

    Count duplicates in two columns / Averageif question

    Hi guys,

    I have a couple of questions. Firstly, I was wondering how to count the number of duplicates in two columns. I have done conditional formatting to highlight the duplicates. However, an issue with this is that I only want to highlight it if the values in one of my columns is also in the other, and not in the same.

    I have attached the excel file. I want to count how many of the numbers under class2 column occur at some point in class1. (overlap quantity)(total, not unique numbers). I also want to count how many don't occur in class 1. (non-overlap quantity).

    Then, for those cells in the class2 column which do occur in class1, I want to average the total number of "cites5yr2" (overlap qual). For example, the value "514" in class2 (C column) occurs at least once in class1 (A column), so this should be highlighted as an "overlap". Then, for every corresponding value in the C column where there is this overlap, I want to include in my averageif function for the D column.

    And once again, I want to average the "cites5yr2" column for those where the number in class2 didn't occur in class 1 (nonoverlap_qual).

    I guess I have to use some kind of mix between countif, conditional formatting, and averageif?

    Any help would be greatly appreciated.
    Kind regards,
    Chris
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] 2 Columns - Want To Count Number of Non Duplicates
    By bigtunelover in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2017, 12:25 PM
  2. [SOLVED] Count duplicates in several columns
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-27-2017, 05:56 AM
  3. [SOLVED] Count Unique Values with Duplicates in Multiple Columns
    By sTeezZy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-26-2016, 05:50 PM
  4. Replies: 1
    Last Post: 06-19-2014, 06:35 PM
  5. Replies: 3
    Last Post: 11-09-2011, 12:36 PM
  6. simple averageif question
    By tannerbabb in forum Excel General
    Replies: 4
    Last Post: 03-31-2011, 12:54 PM
  7. Using a Formula to Count Duplicates in two Columns
    By JungleJme in forum Excel General
    Replies: 2
    Last Post: 08-25-2010, 07:01 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