+ Reply to Thread
Results 1 to 9 of 9

Create unique items in valiadtion list

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Create unique items in valiadtion list

    Hello everyone
    I have a validation list of three items (A,B,C)
    these values are in column A ..
    In E4 I have validation list of the three values (A,B,C)
    The required in F4 to create validation list of unique items for specific item
    As an example if I select A in cell E4 , i expect to have a list of these values(20,5,9,19) only
    Hope it is clear
    Attached Files Attached Files
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Create unique items in valiadtion list

    Hi buddy,

    try this worksheet event (put in the Sheet1 module):
    Please Login or Register  to view this content.
    Hope this helps,

    berlan

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Create unique items in valiadtion list

    On the Worksheet Module -

    Please Login or Register  to view this content.
    On a regular code module -

    Please Login or Register  to view this content.
    See the file attached for reference.
    Attached Files Attached Files
    Cheers!
    Deep Dave

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Create unique items in valiadtion list

    After seeing Berlan's code, I just realized I missed out on the "Unique" Part..

    Sorry!
    Last edited by NeedForExcel; 08-10-2015 at 06:55 AM.

  5. #5
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: Create unique items in valiadtion list

    another way of doing it:


    Please Login or Register  to view this content.
    Attached Files Attached Files
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Create unique items in valiadtion list

    Thanks a lot everyone for these great solutions
    @NeedForExcel it is ok but for it brings all the values .. I refer in my request to unique values
    @bulina2k very good solution but its problem it depends on columns inside the sheet and creating named ranges ..
    @ berlan yout code is perfect for me frankly ..

    Is it possible to create a dynamic list (unique results) by formulas ? just for curious
    Thank you very much for you great help

  7. #7
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Create unique items in valiadtion list

    @Mr Berlan
    How to deal with the following attachment
    I need to create a nother validation list based on F4 in cell G4
    Sorry for bothering you again
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Create unique items in valiadtion list

    Thanks again for kind feedback. Taking a third validation list into account, this should do the trick:

    Please Login or Register  to view this content.
    Cheers
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Create unique items in valiadtion list

    You are awesome ..Thank you very much for this wonderful solution

+ 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] formula to create list of unique items
    By pink in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-13-2014, 02:29 AM
  2. [SOLVED] Limitation on formula to create list of unique items
    By cman0 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-23-2014, 11:44 AM
  3. [SOLVED] Unique List of Items
    By Shirayuki in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-24-2013, 11:06 AM
  4. [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
  5. [SOLVED] Counting # of Unique Items In List & Listing Unique Items In A List
    By unpluggedmusic in forum Excel General
    Replies: 3
    Last Post: 12-05-2012, 11:44 AM
  6. tagging unique items in a list
    By K. Gwynn in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-16-2006, 09:25 AM
  7. [SOLVED] create an array with unique items IN MEMORY
    By Werner Rohrmoser in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-25-2005, 10:05 AM
  8. returning a list of unique items
    By Buska in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2005, 07:59 PM

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