+ Reply to Thread
Results 1 to 7 of 7

List unused items from data validation list without blanks

  1. #1
    Forum Contributor
    Join Date
    10-08-2013
    Location
    London
    MS-Off Ver
    365
    Posts
    136

    List unused items from data validation list without blanks

    Hi All,

    I am looking for a way to list the names remaining from a data validation list that have not yet been used in the range the data validation applies to, without blanks.

    To clarify further -

    On a staff schedule sheet, data for validation is sourced from a named range called DataValidation and is a list of staff names.
    The range the data validation applies to is D5:D52 - a staff schedule column for a day in the week.
    Starting from cell D54, I would like to list the names not yet used in D5:D52 as a prompt to users which names they have left to utilise on the schedule for that day.

    Any help would be greatly appreciated.

    Regards,
    Dave C

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: List unused items from data validation list without blanks

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: List unused items from data validation list without blanks

    You probably want something like this.
    The complete list of names is in Column K
    The list of names that is used as DataValidation is in E

    Putting an arrayed formula into E2 and copying down

    =IF(COUNTA($K$1:$K$35)-COUNTA($A:$A)>=ROWS($A$1:$A1),INDEX($K$1:$K$35, SMALL(IF(ISNA(MATCH($K$1:$K$35, $A$1:$A$35,0)),ROW($K$1:$K$35)),ROWS($A$1:$A1))),"")

    Then the data validation in Column A is a list = Datavalidation.

    I know there is an easier way to create the gradually reducing list with LOOKUP but can't remember it off the top of my head.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    10-08-2013
    Location
    London
    MS-Off Ver
    365
    Posts
    136

    Re: List unused items from data validation list without blanks

    Hi ChemistB,

    Thanks for your input but I do not seem to be able to get results I think due to the layout of the work sheets in my workbook. I've attached a sample workbook as suggested by mehmetcik and hope that this explains the requirement better.

    In the attached workbook, on the 'Schedule' sheet, the validation list for range D5:D5 is sourced from the named range called ValidationList in the 'Staff Data' sheet. ValidationList is the combination of the StaffList and Management named ranges. On the 'Schedule' sheet I have set up two examples in the MONDAY and TUESDAY sections of the Schedule. The names from StaffList, found in the Staff Data worksheet, that are not yet used for range ("D5:D52") in the Schedule are recorded from row 54 down in each staff column. It is this list from row 54 downwards that I am trying to populate. The list should update automatically (become smaller) as names included in StaffList are added to range D5:D52.

    I hope this explains it better.

    Regards,
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-08-2013
    Location
    London
    MS-Off Ver
    365
    Posts
    136

    Re: List unused items from data validation list without blanks

    Hi ChemistB,

    I have reviewed your solution again to see if i could make it work and although very useful where the requirement is for a reducing validation dropdown list, it does not fit the requirement in my situation.

    To explain better I have started from scratch with a new example sheet, attached. The area designated "Sheet 1" has two lists, Staff List and Management that are combined to make Validation List. "Sheet 2" is a staff schedule for a single day with the Scheduled Staff validation list sourced from Validation List in Sheet 1. The yellow highlighted names at the bottom of the Scheduled Staff list is a list of the staff not yet used in the list above it excluding those names on the Management list.

    Names can be used more than once in the Scheduled Staff list. I only need to list in the highlighted yellow area, those names not yet used from Staff List on Sheet 1. Names from the Management List are to be ignored. The yellow area will contract as names are added.

    Any solution would be amazing!

    Many thanks in advance,
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    10-08-2013
    Location
    London
    MS-Off Ver
    365
    Posts
    136

    Re: List unused items from data validation list without blanks

    This was solved in a new thread here http://www.excelforum.com/excel-form...on-column.html

    The new thread explained things alot better as this thread got lost along the way (entirely my fault!)

    Many thanks to lecxe for the assistance.

    Regards,

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: List unused items from data validation list without blanks

    Glad you found a 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. data validation list starts at blanks
    By TechRetard in forum Excel General
    Replies: 2
    Last Post: 08-22-2011, 05:42 PM
  2. [ Data Validation > List ] with Blanks
    By macky1730 in forum Excel General
    Replies: 2
    Last Post: 10-27-2010, 03:14 PM
  3. Data Validation and Blanks in List
    By GoneRural in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2005, 01:05 PM
  4. Data Validation: items in one list relate to items in another
    By Paul D. Simon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-2005, 05:05 PM
  5. Replies: 1
    Last Post: 06-24-2005, 12:21 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