+ Reply to Thread
Results 1 to 4 of 4

find duplicate cases across multiple columns that are randomly ordered

  1. #1
    Registered User
    Join Date
    03-27-2018
    Location
    London, ENG
    MS-Off Ver
    2013
    Posts
    2

    find duplicate cases across multiple columns that are randomly ordered

    Hi all,

    Your help would be much appreciated with the following:

    I have one column (A) with values of which some are duplicates (ranging from 1-4 duplicates per value). These values each have corresponding values in B.

    I would like to have a formula which shows me which cases have completely matching A and B columns (consistent; so all the duplicate cases are exactly the same across A and B) and which have differing A,B values (inconsistent).

    I'm thinking something like a combo of AND, VLOOKUP/ INDEX,MATCH

    Hopefully the attached file makes it clear.

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: find duplicate cases across multiple columns that are randomly ordered

    This shoud do:

    =IF(SUMPRODUCT(--(TRIM($A$2:$A$15)=TRIM(A2)),--(TRIM($B$2:$B$15)=TRIM(B2)))=2,"Consistent","Inconsistent")

    But in your sample, you have two rows of data mapped as Inconsistent, rows 9 and 11, even if these should fall under Consistent because 2 values are present, not one or more. Why?

  3. #3
    Registered User
    Join Date
    03-27-2018
    Location
    London, ENG
    MS-Off Ver
    2013
    Posts
    2

    Re: find duplicate cases across multiple columns that are randomly ordered

    Thank you for the reply.

    I don't quite understand how sumproduct can apply to text strings but it does seems to work when I apply it. I will try to dissect the formula to really understand it.

    The input in rows 9 and 11 was a mistake on my part.

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: find duplicate cases across multiple columns that are randomly ordered

    Please mark the Thread as Solved from Thread Tools if that took care of your problem. Thanks.

+ 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] Find Duplicate Combinations Across Multiple Columns
    By protcg in forum Excel General
    Replies: 6
    Last Post: 02-07-2017, 02:19 PM
  2. Duplicate Date Sumarize and sum orders by qty parts ordered.
    By TylerLuk1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2015, 05:35 PM
  3. [SOLVED] Find the discount taking into account the qty ordered
    By carmelindazzz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-18-2014, 03:41 AM
  4. Sort cells randomly in multiple columns
    By MORACH87 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-08-2013, 12:46 PM
  5. Randomly paste values in multiple columns?
    By Ditmar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-23-2013, 11:07 AM
  6. [SOLVED] Find Duplicate (Multiple Columns), Count only most recent Row - Excel 2007
    By armbands1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2013, 11:13 PM
  7. VBA code to find duplicate values within multiple rows and columns
    By pcbpinoy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2011, 09:04 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