+ Reply to Thread
Results 1 to 2 of 2

Searching for duplicates across several variables, and then searching for discrepencies

  1. #1
    Registered User
    Join Date
    08-17-2021
    Location
    Brooklyn
    MS-Off Ver
    16.52
    Posts
    7

    Searching for duplicates across several variables, and then searching for discrepencies

    Greetings,

    In a survey of 300 respondents and 200+ answers, users have the option of completing only a portion of the survey and finishing at a later time. In such cases, the respondent's submissions are entered twice (or more if it take them that many times to complete the survey).

    Is there a formula that would 1) identify duplicates between several organizational info categories (e.g., ID, email address) to see if they did in fact submit more than once, and then 2) flag if there are discrepancies in their answers (e.g., CEO salary, vacation days).

    In the example provided, I purposely do not stack examples in rows next to each other, but instead mix them up because there are several org info categories so sorting really ins't an option.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,593

    Re: Searching for duplicates across several variables, and then searching for discrepencie

    Perhaps the following conditional formatting rules will do what you want:
    1 For yellow: =COUNTIFS(A$3:A$6,A3)>1 which is applied to the ranges =$A$3:$A$6,$F$3:$F$6
    2. For green:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Which is applied to the range: =$H$3:$K$6
    Note that the formulas in O3:R6 are not needed but were left to demonstrate how the green rule works.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Searching for either of two string variables
    By Lewis Clark in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2022, 02:07 PM
  2. Searching for different variables
    By jemanoth in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-18-2013, 09:15 PM
  3. Searching multiple variables
    By iLurk in forum Excel General
    Replies: 3
    Last Post: 02-17-2010, 04:22 AM
  4. searching with variables
    By detlion1643 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2009, 05:38 PM
  5. searching for string within internal variables
    By twd000 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-28-2008, 12:37 PM
  6. [SOLVED] Searching for 3 variables
    By Dale in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-17-2006, 03:15 PM
  7. Searching for variables in excel database
    By Gavin77 in forum Excel General
    Replies: 0
    Last Post: 08-02-2005, 10:28 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