+ Reply to Thread
Results 1 to 5 of 5

VBA to create a unique list from two columns

  1. #1
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    VBA to create a unique list from two columns

    Hi,

    I have a table of transactions from which I'd like to create a unique schedule of which suppliers have submitted returns and which month they relate to.

    The attached example should explain what it is I'm looking to achieve but if you have any queries just give me a shout.

    Snook

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: VBA to create a unique list from two columns

    Dear The_snook:

    Your logic is correct. The following code does just that. Yet, a better way to summarize your data would be to do ut in another sheet.

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VBA to create a unique list from two columns

    Try this. See note about output range

    Please Login or Register  to view this content.
    Last edited by stnkynts; 04-22-2016 at 01:38 PM.
    If you are happy with my response please click the * in the lower left of my post.

  4. #4
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: VBA to create a unique list from two columns

    This is just another way to do it:
    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: VBA to create a unique list from two columns

    Try
    Please Login or Register  to view this content.

+ 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] Create a unique list from multiple columns with blamks
    By JO505 in forum Excel General
    Replies: 14
    Last Post: 11-18-2015, 08:25 PM
  2. Create a Distinct Unique list for 2 Columns
    By boldcode in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-06-2014, 05:10 PM
  3. Replies: 7
    Last Post: 07-27-2013, 10:11 PM
  4. [SOLVED] Create list returning unique criteria covering several columns using arrays
    By joannelittell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2013, 04:37 PM
  5. [SOLVED] Create list returning unique criteria covering several columns
    By joannelittell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-23-2013, 04:27 PM
  6. [SOLVED] create list of unique staff numbers with unique work codes
    By shaz0503 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-01-2013, 08:57 PM
  7. VBA: Create unique list based on latest entry in list
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-08-2011, 09:55 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