+ Reply to Thread
Results 1 to 2 of 2

Need help with finding particular duplicates

  1. #1
    Registered User
    Join Date
    12-06-2011
    Location
    fort worth, tx
    MS-Off Ver
    Excel 2010
    Posts
    1

    Need help with finding particular duplicates

    I have the following data in Excel, rows arranged as follows:
    Assembly Part1
    Component COMP1
    Component COMP2
    Assembly Part2
    Component COMP1
    Component COMP1
    Component COMP3
    Assembly Part3
    Component COMP4

    Need to find all Assembly's that have more than 1 of same component which in this case is:
    Assembly Part2 having Component COMP1

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need help with finding particular duplicates

    Hi vvk4,

    I have tried to achieve this without vba and pivot.
    Follow below steps to find out the solution through easy formulas where I have assumed that you have this data in column A :-
    1) On the right of the last entry of column A i.e., "componenet Comp4", write following formula:-

    =IF(ISNUMBER(SEARCH("assembly",A9)),A9,B8)

    2) Again, on the right of above, write following formula:-

    =IF(ISNUMBER(SEARCH("comp",A9)),A9,"")

    3) Again, on the right of above, write following formula:-

    =SUMPRODUCT(($B$1:$B$9=B9)*($C$1:$C$9=C9))

    4) Copy all of these three formulas and fill upwards.
    5) Now to know the correct Assemply name, use following formula which you can write any where you want:-

    =OFFSET($D$1,MATCH(MAX(D1,D1:D9),D:D,0),-2)

    Let me know if this works.

    Regards,
    DILIPandey
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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