+ Reply to Thread
Results 1 to 9 of 9

Dynamic lookup using data from multiple dropdowns

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    375

    Dynamic lookup using data from multiple dropdowns

    Hello. I have a workbook with three sheets, Sub List, Approved Contractors and Legend. On my subs sheet, I have two dropdowns in A2:A7 and C2:C7. Column A dictates what type of sub contractor is needed and column C provides a list of appropriate contractors. I have named ranges that I would like to do lookups in to populate D:G based on the chosen contractors. The named range of the contractor being looked up would be the type craft name immediately followed by a number. In the attached example I supplied the expected results in D3:G3 based on "National Surface Cleaning" being the chosen sub in C3. I thought I could make something work using Indirect and Match along with Concat and text to add A2 and the number 2 together for determining the named range, but everything I try seems to error out.
    Attached Files Attached Files
    Click here to read the Forum Rules
    Whatever it is in life you decide to go after, go after with great ferocity.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,998

    Re: Dynamic lookup using data from multiple dropdowns

    Are you still using Excel 2007? If not, please update your forum profile. Thanks.

    https://trumpexcel.com/dependent-dro...list-in-excel/
    https://exceljet.net/dependent-dropdown-lists
    https://www.youtube.com/watch?v=7mo4COng7Sg
    https://www.contextures.com/xldataval02.html
    https://www.ablebits.com/office-addi...op-down-excel/

    ... and others.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    375

    Re: Dynamic lookup using data from multiple dropdowns

    My profile is updated AliGW.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,998

    Re: Dynamic lookup using data from multiple dropdowns

    Thanks.

    This question has been asked multiple times here - if you search the forums you will find many threads on dynamic and dependent drop-downs. I have provided five links to online tutorials - there are many more.

  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,662

    Re: Dynamic lookup using data from multiple dropdowns

    There was something wrong with the DD's in column C. Now fixed. It's better to have the corresponding DDs in the same row. Fixed.

    Then use, in D2, copied across and down:

    =IFERROR(VLOOKUP($C2,'Approved Contractors'!$A:$E,1+COLUMNS($D2:D2),FALSE),"")


    amend in column G:

    =IFERROR(VLOOKUP($C2,'Approved Contractors'!$A:$E,1+COLUMNS($D2:G2),FALSE)&"","")

    to get rid of annoying 0s.
    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

  6. #6
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    375

    Re: Dynamic lookup using data from multiple dropdowns

    Thanks AliGW i found what I was trying to do in the second link y9ou provided.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,998

    Re: Dynamic lookup using data from multiple dropdowns

    Glad to help. I think Glenn found your mistakes, too.

    You may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who helped.

  8. #8
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    375

    Re: Dynamic lookup using data from multiple dropdowns

    Thanks a lot Glenn. These formulas work great!

  9. #9
    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,662

    Re: Dynamic lookup using data from multiple dropdowns

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

+ 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 dropdowns menu based on data from table
    By flutje in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-31-2018, 10:04 AM
  2. multiple dynamic dependent dropdowns
    By 7WiZARD in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-01-2016, 06:51 AM
  3. Dynamic dropdowns incl. multiple selections
    By Kakion78 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2015, 12:23 PM
  4. Data Validation - Dynamic Dropdowns
    By Pourradass in forum Excel General
    Replies: 2
    Last Post: 08-13-2014, 06:22 AM
  5. [SOLVED] Dynamic Data Validation Dropdowns Problem
    By Cavinaar in forum Excel General
    Replies: 2
    Last Post: 12-17-2013, 08:44 AM
  6. Replies: 1
    Last Post: 12-26-2012, 11:54 PM
  7. Data Lookup using find and filtered dropdowns
    By Alec H in forum Excel General
    Replies: 1
    Last Post: 02-09-2006, 07:01 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