+ Reply to Thread
Results 1 to 6 of 6

Dynamic drop down lists

  1. #1
    Registered User
    Join Date
    09-10-2010
    Location
    UK, Marlborough
    MS-Off Ver
    365 (latest beta)
    Posts
    57

    Dynamic drop down lists

    I am trying to create a sheet where people select a vendor, with costs adjacent to each one, for a number of parts on a spreadsheet. I've attached an example.

    I want to have a data validation drop down provide a list of the vendors, however on some rows there will be 6 vendors, some there will be 2, and the order matters as each column is dedicated to different value streams.

    I want to use FILTER in a single cell to provide an array of just the cells that are populated with a vendor name, meaning that the drop-down will only have the vendors, no blanks, and no costs.

    Currently I have to have a series of helper columns which all point to each vendor column, skipping out the costs. This is then used as a data validation source for a drop-down, with the row being dynamic to allow each row to have it's own appropriate list. This works, but results in zeroes in the unpopulated vendor cells (which there are many as we don't always have 8 quotes). I have successfully used filter to result in a spill cell which is a start, but then I can't actually refer to it within this table to be the DV source.
    Attached Files Attached Files

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,314

    Re: Dynamic drop down lists

    in your previous post you quote 'no macros' , why not as it is far easier to solve with VBA.
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Registered User
    Join Date
    09-10-2010
    Location
    UK, Marlborough
    MS-Off Ver
    365 (latest beta)
    Posts
    57

    Re: Dynamic drop down lists

    You are correct - in my frenzied attempt to stop the database error I kept getting trying to post this I forgot to re-add this.

    The simple reason is that people in the company who will be using this aren't comfortable with macros; the big scary warning that comes up when they open an .xlsm results in more noise than anything and then it's left unopened, despite me assuring them that it's safe. Every. Single. Time.

    I'd add that I keep seeing confirmation that this isn't possible in a Table (which by your mission statement - which I totally agree with - doesn't help!) as the FILTER SPILL does actually solve this with a # at the end of the single cell validation source - if it's not in a table.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,298

    Re: Dynamic drop down lists

    OUTSIDE the table use:

    =FILTER(B8:M8,ISTEXT(B8:M8))

    and then use =P8# as the DV source.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,298

    Re: Dynamic drop down lists

    or maybe this:

    =IFERROR(FILTER(B8:M8,ISTEXT(B8:M8)),"")

    copied down as far as needed.

  6. #6
    Registered User
    Join Date
    09-10-2010
    Location
    UK, Marlborough
    MS-Off Ver
    365 (latest beta)
    Posts
    57

    Re: Dynamic drop down lists

    I neglected to reply to this. This would work, but I'm keen to keep all the data in the table so that the integrity of the data whilst sorting and filtering isn't affected. Currently I've compromised to having all 6 vendor selections visible and when they're blank generating a "-". It's not what I wanted, but I doubt anyone would appreciate it if I could get only the populated cells in there anyway!

    Thanks for your help, I'll keep this in mind for future non-tabled data.

+ 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] Dependent/Dynamic Drop Down Lists
    By major_johnson in forum Excel General
    Replies: 15
    Last Post: 05-16-2022, 11:33 PM
  2. Dynamic Drop Down Lists
    By mAdMaCCa in forum Office 365
    Replies: 15
    Last Post: 01-24-2020, 11:00 AM
  3. Dynamic Drop down lists via macros
    By lbromford in forum Office 365
    Replies: 3
    Last Post: 09-03-2018, 05:36 PM
  4. [SOLVED] Help with Dynamic Validation Lists / Drop Downs / dynamic filters
    By rjnc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2016, 08:10 PM
  5. Two Dependent and Dynamic Drop Down Lists
    By marcelkahn5 in forum Excel General
    Replies: 6
    Last Post: 08-02-2015, 03:15 AM
  6. Dynamic Drop Down lists
    By Excellearnerva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2014, 10:20 AM
  7. [SOLVED] Dynamic Ranges as drop down lists based on another drop down list
    By Excel_Beginner_1 in forum Excel General
    Replies: 4
    Last Post: 05-15-2012, 03:31 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