+ Reply to Thread
Results 1 to 5 of 5

Data Validated Cells' Lists reduce but only in one column

  1. #1
    Registered User
    Join Date
    04-14-2013
    Location
    henderson, tennessee
    MS-Off Ver
    365
    Posts
    42

    Data Validated Cells' Lists reduce but only in one column

    http://www.excelforum.com/excel-form...selection.html
    This post explains what I am wanting to do minus one facet, I have data validated cells spanning 3 columns as opposed to just a single column. I have been playing with the index formula and can't seem to write it correctly. How can I write this formula so that it will look at all three columns?

    Please Login or Register  to view this content.
    The range highlighted in red is the range that contains my data validated cells. I would also like for the ranges G10:G38 and J7:J40 to contain the data validation and the list contained therein to reduce with each selection of a cell. Any and all help is appreciated as my little pebble is fried.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validated Cells' Lists reduce but only in one column

    My technique is:

    1) Create a list of ALL the options (column A)

    2) Create a numbering system next to that list that watches all the rows/columns/cells where the list will be used and enters a unique number in each cell ONLY when the watched range does not have the value in that row (column B)

    3) Use an INDEX formula to then create a secondary list of the items from column A using the unique numbers in column B

    4) Use the second list as the source of the DV for the watched range


    This technique would work over any number of rows/columns to create a single diminishing list.

    You can post a workbook if you wish and I will show you how I would set that up.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-14-2013
    Location
    henderson, tennessee
    MS-Off Ver
    365
    Posts
    42

    Re: Data Validated Cells' Lists reduce but only in one column

    Team Schedule.xlsx

    Hope I was able to insert the file. You can see what I've got going on and apologies on the sloppiness from my previous attempts.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validated Cells' Lists reduce but only in one column

    Column O - master list of all names
    Column N - an indexing formula that is watching C10:G38 for values that match the column O list, if no match, it puts a unique number in this column
    Column P - the List2 that is created from ONLY the values in column O where there is a number in column N, so this list shrinks itself

    List2 is then used as the DV source in the cells in C10:G38.



    From this you can expand as you wish. If you were to add cells in column J for instance to also use List2, you would adjust the formula in column N to also include those cells.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-14-2013
    Location
    henderson, tennessee
    MS-Off Ver
    365
    Posts
    42

    Re: Data Validated Cells' Lists reduce but only in one column

    Mr. Beaucaire that was exactly what I was looking for. Thank you very much. I have finally gotten back around to playing with this and it works great. Appreciate your help.

+ 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. Help with Pasting over Validated Lists
    By kk37 in forum Excel General
    Replies: 1
    Last Post: 06-25-2013, 02:55 AM
  2. Data validated cells not updating in formula
    By DesireW in forum Excel General
    Replies: 1
    Last Post: 09-27-2010, 09:01 AM
  3. auto update or resync values in data validated lists
    By gdallas in forum Excel General
    Replies: 10
    Last Post: 02-15-2010, 11:39 AM
  4. How do I copy validated lists
    By Paul in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-26-2006, 07:30 PM
  5. Replies: 0
    Last Post: 05-12-2005, 03:06 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