+ Reply to Thread
Results 1 to 5 of 5

DropLists not excluding prior selections

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365 Version 2501 64-bit
    Posts
    1,465

    DropLists not excluding prior selections

    "StraightList" sheet on attached works perfectly. Any name selected in any DropList in F2 - F5 is removed from the other lists, and restores it if the name is cancelled.

    "Two Column List" sheet should do the same even through the DropLists are now in two columns (because they are still accessing the same common Range), but does not work.

    Whatever name is entered in any of the DropBoxes, the formulae removes it from the "pool" of future choices, but not from the DropLists themselves.

    Any advice, solutions or alternative approaches welcomed as ever,


    Ochimus

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,807

    Re: DropLists not excluding prior selections

    I Created a dynamic named range "ROOM_MATES" in column K of "Two Column List":

    in K2

    =IFERROR(INDEX($J$2:$J$21,SMALL(IF($I$2:$I$21<>"",ROW($J$2:$J$21)-ROW($J$2)+1,""),ROWS($J$2:J2))),"")

    Enter with Ctrl+Shift+Enter

    Copy down

    Changed DV to use "ROOM_MATES"

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: DropLists not excluding prior selections

    same result no matrix formula


    Kind regards
    Leo

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,807

    Re: DropLists not excluding prior selections

    @Leo, Nice one!!!

    @Ochimus: I would use Leo's solution for both "Lists".
    Last edited by JohnTopley; 03-06-2017 at 02:16 PM.

  5. #5
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365 Version 2501 64-bit
    Posts
    1,465

    Re: DropLists not excluding prior selections

    Gentlemen,

    You've demonstrated once again why this Forum is invaluable,

    Getting to the point where satisfying some clients' Excel demands requires a Masters in Applied Logic and Advanced calculus!

    Have a well-earned weekend.

    Ochimus

+ 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. Drop down lists dependent on 2 prior selections
    By Suicyco in forum Excel General
    Replies: 6
    Last Post: 04-29-2016, 05:34 PM
  2. Userform ListBox that recalls prior selections made
    By fil_oliveira in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-19-2016, 10:11 PM
  3. [SOLVED] Verify Dates Prior excluding weekends
    By jantonio in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-13-2013, 12:27 AM
  4. Verify Dates Prior excluding weekends
    By jantonio in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2013, 08:06 PM
  5. Droplists
    By mqdias in forum Excel General
    Replies: 1
    Last Post: 12-06-2011, 10:13 PM
  6. Userform ListBox that recalls prior selections made
    By skysurfer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-08-2010, 02:54 PM
  7. [SOLVED] How do I create 3 list boxes dependent on prior selections
    By GILBERT in forum Excel General
    Replies: 1
    Last Post: 04-11-2006, 12:30 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