+ Reply to Thread
Results 1 to 4 of 4

Drop down box using data from dynamic lists

  1. #1
    Registered User
    Join Date
    12-05-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    5

    Drop down box using data from dynamic lists

    Hi all, I was hoping you could help me with a problem.

    I have two columns, A and B, where column A denotes a unique identifier for a report and column B denotes the status the report is at (writing, issued, QA, archived, terminated). These are dynamic lists, where the user can insert a new report number to the next available row and select the appropriate status at any time. I have a dynamic list name of "StudyCode" for the unique identifier (Col A), and "StudyStatus" for the report status (Col B).

    On a separate sheet, I would like to include a drop down box that lists only the reports that have NOT been archived OR terminated.

    Does anyone know if this is possible and if so how it could be done?

    Best regards,
    Adam

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Drop down box using data from dynamic lists

    Quote Originally Posted by guerrilla_gorrila View Post
    Does anyone know if this is possible and if so how it could be done?
    You would extract all the identifiers that meet the condition into a new list then use this new list as the source for the drop down.

    Post a SMALL sample file and I'll show you how to do it. A SMALL sample file will have about 20 rows worth of data. Remember, it's a SAMPLE file!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    12-05-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    5

    Re: Drop down box using data from dynamic lists

    Thanks! I have attached a sample file, I hope that's okay.
    Attached Files Attached Files

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Drop down box using data from dynamic lists

    On sheet Active Studies...

    A1 = column header = Study Code

    Enter this array formula** in A2:

    =IFERROR(INDEX('Total Studies'!A:A,SMALL(IF(ISNA(MATCH('Total Studies'!B$8:B$19,{"Terminated","Archived"},0)),ROW('Total Studies'!B$8:B$19)),ROWS(A$2:A2))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.

    Then, to use this new list as the source for a drop down list...

    As the source use this formula:

    =OFFSET('Active Studies'!$A$2,,,COUNTIF('Active Studies'!$A$2:$A$100,"?*"))

    Adjust for a reasonable end of range in the COUNTIF function. I've used down to row 100.

+ 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. Dynamic Drop Down lists
    By Excellearnerva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2014, 10:20 AM
  2. [SOLVED] Dependent drop down lists- dynamic data range- excluding Headers
    By strud in forum Excel General
    Replies: 3
    Last Post: 05-28-2013, 04:10 AM
  3. [SOLVED] Dependent drop down lists based on dynamic data range
    By strud in forum Excel General
    Replies: 15
    Last Post: 04-19-2013, 08:08 AM
  4. [SOLVED] need a dynamic source for data validation drop down lists
    By dredwolf in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-29-2012, 11:01 PM
  5. [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