+ Reply to Thread
Results 1 to 7 of 7

Dynamic remove duplicates

  1. #1
    Registered User
    Join Date
    06-04-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    54

    Dynamic remove duplicates

    I want to remove duplicates from column A dynamically using some formula .
    Input can have any row deletion or insertion.So output should dynamically adjust to it.
    Is it possible using formula?


    Please find attached excel file with the input and desired output
    Attached Files Attached Files

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

    Cool Re: Dynamic remove duplicates

    I don't know about formula but you can do that with PowerQuery

    Power Query for
    Attached Files Attached Files

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Dynamic remove duplicates

    Additionally, here is a VBA solution.

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor
    Join Date
    06-18-2007
    Location
    Kiama, Australia
    MS-Off Ver
    365
    Posts
    119

    Re: Dynamic remove duplicates

    I suggest you try the Advanced Filter.
    Have a look here.
    Select "Add Reputation" to thank me.

  5. #5
    Registered User
    Join Date
    06-04-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    54

    Re: Dynamic remove duplicates

    Advance filter wont make it dynamic.

    Also I am not well versed with VBA so I am not looking for VBA solution.

    @sandy666: Can you list down the steps to use power query

    Alternatively, if anyone has any formula based solution, please post it

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Dynamic remove duplicates

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

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

    Re: Dynamic remove duplicates

    Quote Originally Posted by ashishkhurana93 View Post
    Can you list down the steps to use power query
    first you need to install PQ
    then
    load table into PQ editor
    remove duplicates
    load query table into the sheet
    play

+ 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. Compare lists of URLs for duplicates, and remove duplicates
    By mrfranklin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2021, 02:54 AM
  2. Multicolumn dynamic Listbox - Remove Duplicates in Listbox
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2014, 12:30 PM
  3. Replies: 1
    Last Post: 10-23-2012, 09:12 AM
  4. Replies: 5
    Last Post: 02-28-2012, 02:52 PM
  5. Need VBA code to remove entries if there are duplicates (remove them totally)
    By BrandonFromSingapore in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2012, 12:50 AM
  6. Replies: 2
    Last Post: 03-20-2011, 11:19 AM
  7. Remove Duplicates in a Dynamic Range using Excel 2007
    By nsorden in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-22-2009, 10:24 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