+ Reply to Thread
Results 1 to 4 of 4

Sort and Remove Duplicates

  1. #1
    Forum Contributor
    Join Date
    01-05-2010
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    747

    Sort and Remove Duplicates

    Can someone help me write a macro that copies the ranges J10:J37, J45:J72, J80:J107 from the Liquidations worksheet, removes all duplicate values, sorts the values in alphabetical order and then pastes the results to the worksheet Tkr Consolidation2 in cell A2? Any help would be great.
    Attached Files Attached Files
    Last edited by rhudgins; 02-18-2011 at 02:19 PM.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Sort and Remove Duplicates

    Hi there,

    Try the following code and see if it does what you require. You'll notice that I've put "all the stuff with double-quotes" at the start in order to make it easier to adapt the code for different worksheet names / worksheet layouts etc.

    Please Login or Register  to view this content.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  3. #3
    Forum Contributor
    Join Date
    01-05-2010
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    747

    Re: Sort and Remove Duplicates

    Thanks I was having trouble with this before but you have helped me tremendously!

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Sort and Remove Duplicates

    Hi again,

    Many thanks for your feedback - I'm glad you found my suggestion helpful.

    Best regards,

    Greg M

+ 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