+ Reply to Thread
Results 1 to 4 of 4

Creating a Named Range with unique values

  1. #1
    Forum Contributor
    Join Date
    06-14-2013
    Location
    jk
    MS-Off Ver
    Excel 2007
    Posts
    326

    Creating a Named Range with unique values

    Hi!

    I have a sheet with in column A a lst of license plates.
    I want to use the complete range to create a Named Range, to use this in a Combobox in a userform.
    The problem i now have is that some of these license plates are duplicate in this range.

    Is there a way (without remove duplicates because i would then lose my data) to create a named range with only unique values? Or that my combobox only shows unique items?

    Thanks for the help,

    Regards,
    Crispy85

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Creating a Named Range with unique values

    How many records do you need to load in Combobox? Is it critical to have Named Range?
    There is fast method how to load unique records - using Scripting.Dictionary

  3. #3
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Creating a Named Range with unique values

    something like this maybe (in Userform module)
    Please Login or Register  to view this content.

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

    Re: Creating a Named Range with unique values

    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. Copy values of all named range in wb1 to identically named ranges in wb2
    By JAMIAM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2016, 06:58 PM
  2. [SOLVED] Not creating "cycle" of PDFs of named range based on cell values in second sheet
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2016, 02:12 AM
  3. [SOLVED] How to Count Values Which Are Between 100 and 200 Without Creating Named Range
    By zanshin777 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-25-2015, 10:03 AM
  4. Dynamic Named Range with Unique Values Only for Sumproduct Function
    By tlscowden in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-16-2015, 03:16 PM
  5. Finding Unique Values in Named Range
    By jonboy6257 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-02-2014, 04:58 PM
  6. Replies: 8
    Last Post: 02-21-2012, 11:11 AM
  7. List Unique Values in a Named Range
    By tomlancaster in forum Excel General
    Replies: 4
    Last Post: 02-17-2011, 08:53 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