+ Reply to Thread
Results 1 to 7 of 7

Need to remove duplicate entries in multilevel BOM

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    673

    Need to remove duplicate entries in multilevel BOM

    Hello Friends


    I need to remove the duplicate entries in multilevel BOM based on the Part number and Level number.


    My intension is by formula if I got `R' for remove then I will make a filter and I will remove it.


    thanks in advance.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Need to remove duplicate entries in multilevel BOM

    Why not just use Data -> Remove Duplicates?

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Need to remove duplicate entries in multilevel BOM

    I think you missed some?
    C10 and C11?

    Anyway, I used this...
    =COUNTIF($C$2:C2,C2)
    copied down.

    You can then just filter on >1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Need to remove duplicate entries in multilevel BOM

    Quote Originally Posted by kersplash View Post
    Why not just use Data -> Remove Duplicates?
    Have to be careful with that, and make sure the whole row (record) is removed.

  5. #5
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    673

    Re: Need to remove duplicate entries in multilevel BOM

    Hello

    Please read the C10 content as `SRE1461' instead of `SRE146' also. The formula <=COUNTIF($C$2:C2,C2)> removing all the entries instead of the first one.

    Legend making the requirement clear.

    Also " . . . Why not just use Data -> Remove Duplicates? . . . " Hope Remove duplicate will not work since we need to consider only 2 columns B and C but need to select all columns here.
    Sekar

  6. #6
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    673

    Re: Need to remove duplicate entries in multilevel BOM

    After long thinking i have found 1 solution myself.

    I3 = <=IF(AND(EXACT(B3,B2),EXACT(C3,C2)),"R","")>, Copy down.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Need to remove duplicate entries in multilevel BOM

    Quote Originally Posted by Sekars View Post
    After long thinking i have found 1 solution myself.

    I3 = <=IF(AND(EXACT(B3,B2),EXACT(C3,C2)),"R","")>, Copy down.
    That will work if the duplicates are all together.

    Did you try my suggested formula?

+ 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] How to get reference of duplicate value and set remove duplicate value for future entries
    By bala04msw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-20-2016, 08:13 AM
  2. [SOLVED] Find and Remove Duplicate Entries
    By ohlrj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2012, 09:55 AM
  3. Need to remove duplicate entries from an index
    By Lacaycer in forum Excel General
    Replies: 10
    Last Post: 04-04-2012, 10:50 AM
  4. Remove Duplicate Entries In a Record
    By m-radius3 in forum Excel General
    Replies: 2
    Last Post: 05-12-2011, 10:27 AM
  5. How to remove duplicate entries?
    By dorian86 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2007, 12:55 AM
  6. [SOLVED] How do I remove duplicate entries from a list?
    By E. Reta in forum Excel General
    Replies: 1
    Last Post: 08-24-2005, 02:05 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