+ Reply to Thread
Results 1 to 11 of 11

DELETE Duplicate Values

  1. #1
    Registered User
    Join Date
    03-01-2018
    Location
    Philippines
    MS-Off Ver
    2003,2007,2010,2013 and 2016
    Posts
    51

    DELETE Duplicate Values

    Hello.

    I just need some help here. I can't figure out what formula would I use to eliminate duplicate values reflected from above data. For a clear presentation I have a sample excel file attached (not the actual file I am using but with the same situation).

    Thank you for your help.
    Attached Files Attached Files
    Last edited by poizones; 07-24-2018 at 08:17 AM. Reason: Change of attachment file

  2. #2
    Forum Contributor
    Join Date
    12-22-2017
    Location
    INDIA
    MS-Off Ver
    EXCEL 2007
    Posts
    106

    Re: DELETE Duplicate Values

    use the option Data , Remove Duplicates

  3. #3
    Registered User
    Join Date
    03-01-2018
    Location
    Philippines
    MS-Off Ver
    2003,2007,2010,2013 and 2016
    Posts
    51

    Re: DELETE Duplicate Values

    I don't know how to use the formula. Can you help me how?

    I need the formula in each cells below not to be deleted also. But the Data option and Remove Duplicates, also eliminate the formula.

    The values in column B may change or may be added from its another source.

    Thank you.
    Last edited by poizones; 07-24-2018 at 08:38 AM. Reason: to be more specific.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,519

    Re: DELETE Duplicate Values

    chandy123987 is recommending you go to the data tab at the top, highlight the column (or columns) you want to remove the duplicates from, use the remove duplicates function under data tools.
    if you need a formula you can use =COUNTIF($B$4:B4,B4) if the duplicates are in column D and drag down. Where the numbers change from 1 to 2 you have a duplicate, filter ascending then remove all rows with values greater than 1.
    edited to use column B instead.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Registered User
    Join Date
    03-01-2018
    Location
    Philippines
    MS-Off Ver
    2003,2007,2010,2013 and 2016
    Posts
    51

    Re: DELETE Duplicate Values

    It is not what I really need to be the result. The data in column B are irregular. We cannot make a permanent reference to names which are duplicated in column D using the formula =COUNTIF($B$4:B4,B4). What I need is a formula that will only delete the duplicate values in column D but not the formula since the reference values in column B might change anytime depending on the other workbook or source.

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,519

    Re: DELETE Duplicate Values

    well a formula itself will not delete duplicates, for that you need VBA, but it can hide them. try this instead in column D and dragged down...
    =IF(COUNTIF($B$2:B2,B2)=1,B2,"")

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: DELETE Duplicate Values

    Try this in D2:

    =IFERROR(INDEX(B$2:B$12,MATCH(0,COUNTIF(D$1:D1,B$2:B$12),0)),"") Ctrl Shift Enter

    Drag the formula down as far as needed.

    This will give you a unique list of the values from column B.

  8. #8
    Registered User
    Join Date
    03-01-2018
    Location
    Philippines
    MS-Off Ver
    2003,2007,2010,2013 and 2016
    Posts
    51

    Re: DELETE Duplicate Values

    Sam,

    You're brilliant. Thank you so much.

    I am so happy and satisfied with the result.

    MORE POWER to you.

  9. #9
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: DELETE Duplicate Values

    Thanks for the rep!

  10. #10
    Registered User
    Join Date
    03-01-2018
    Location
    Philippines
    MS-Off Ver
    2003,2007,2010,2013 and 2016
    Posts
    51

    Re: DELETE Duplicate Values

    Falcon,

    Thanks. I appreciate this. At least I have options on which formula I will be using.

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: DELETE Duplicate Values

    If you want result like this

    ID NAMES
    542644
    JAMES V. CORCIEGA
    154489
    BORGIE Q. FILLAS
    602216
    JANNETTE S. GALAMO
    894330
    FELIX D. QUIPO
    577812
    JORDAN LYN F. NADDIE
    110239
    KRISTINE F. VILLASECA


    use PowerQuery - it will eliminate duplicates and group the rest together (in a separate table)

+ 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. See duplicate values before delete
    By Mr_Phil in forum Excel General
    Replies: 1
    Last Post: 03-29-2018, 05:20 PM
  2. Add values from duplicate rows and delete duplicate
    By jane204 in forum Excel General
    Replies: 3
    Last Post: 11-20-2016, 08:36 AM
  3. Macros to delete entire duplicate row for duplicate values
    By cutelebel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2014, 12:09 PM
  4. Delete duplicate values from cells containing multiple values
    By Buzzed Aldrin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-03-2014, 02:50 PM
  5. VBA helps needed to Sum duplicate values and delete duplicate rows
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2013, 11:40 PM
  6. [SOLVED] Delete duplicate values and mantening unique values
    By ronald coletto in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2013, 02:19 PM
  7. [SOLVED] Sum Duplicate values then delete duplicate rows
    By keekdapolak in forum Excel General
    Replies: 7
    Last Post: 09-20-2012, 02:57 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