+ Reply to Thread
Results 1 to 3 of 3

Sort Unique Values in Combobox By Number Of Times Used In Range

  1. #1
    Registered User
    Join Date
    01-29-2012
    Location
    United Kingdom
    MS-Off Ver
    MS Office 2003/MS Office 2010
    Posts
    45

    Sort Unique Values in Combobox By Number Of Times Used In Range

    Let's say i have a range of data A1:A10. I have a Userform with Combobox. I would like to fill in combobox with unique values and sort data in combobox by number of times appearing in range. For example:
    John, Dave, Liz, Liz, John, Liz would come up in combobox in following sequence: Liz, John, Dave, becouse Liz is mentioned 3 times, John is 2 times and Dave once. I do not want to use new spreadsheet. Any ideas?

    Thanks
    Last edited by trenars; 02-02-2012 at 10:20 AM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Sort Unique Values in Combobox By Number Of Times Used In Range

    I'd use a hidden worksheet with a pivot table with count in the data sorted descending, then use that as the source for your combobox

  3. #3
    Registered User
    Join Date
    01-29-2012
    Location
    United Kingdom
    MS-Off Ver
    MS Office 2003/MS Office 2010
    Posts
    45

    Re: Sort Unique Values in Combobox By Number Of Times Used In Range

    Thanks for your help!
    That's what i'm going to do.

+ 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