+ Reply to Thread
Results 1 to 4 of 4

Dropdown Selection with lookup of whole list

  1. #1
    Registered User
    Join Date
    05-23-2020
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    57

    Dropdown Selection with lookup of whole list

    Hello!

    Hope you guys are safe & doing well.

    Here I am attaching a sample file in which i need lookup list.

    Example:

    I have roll names in column B which has a data validation drop down. After selecting a Roll Name, In column C, I should get the whole list of Roll Numbers.

    As attached in Sample File, for Cell B2, i need list of S Roll from Sheet2 which is from SR-1 to SR-200. Similarly, for B3, W Roll numbers i.e. from WR-1 to WR-30 should come.

    Thanks for the time
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    917

    Re: Dropdown Selection with lookup of whole list

    You will need to use a dependent drop down list.
    First of all give a Name to the Roll Name (let's say Roll_Tag) and to every different Roll Numbers (let's say W_Roll, F_Roll, S_Roll, etc.)
    In your Roll Name dropdown (column B) as Data Validation use =Roll_Tag and as Data Validation for Roll Number (column C) use =INDIRECT(SUBSTITUTE(B2," ","_")). You need to use Substitute since your names contain spaces (not permitted).
    Pull down B2 and C2 as needed. I attached your updated file.

    PS. this link could be helpful LINK
    Attached Files Attached Files
    Last edited by rollis13; 02-10-2021 at 04:00 AM.

  3. #3
    Registered User
    Join Date
    05-23-2020
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    57

    Re: Dropdown Selection with lookup of whole list

    Yes!! Its working like a Gem. Thank you so much! Thumbs up!

  4. #4
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    917

    Re: Dropdown Selection with lookup of whole list

    Glad having been of some 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. Multiple Dropdown selection & Column Groupings based on dropdown selection
    By rabrol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2018, 10:23 AM
  2. Replies: 4
    Last Post: 07-06-2017, 10:19 AM
  3. Lookup dropdown selection list without physically scrolling
    By Brindle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2017, 04:48 AM
  4. Creating a dynamic dropdown list of a selection of a master list
    By RooMar in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 05-15-2015, 05:27 AM
  5. Limit dropdown list based on selection from another list
    By msmetal in forum Access Tables & Databases
    Replies: 5
    Last Post: 01-23-2015, 11:22 PM
  6. Make same selection for multiple drop down list and clear all for all dropdown list
    By salomip13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2014, 01:34 PM
  7. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 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