Solved

i need to create an excel drop down list that that is limited

Posted on 2016-11-05
7
44 Views
Last Modified: 2016-11-28
i need to create an excel drop down list that that is limited by another column.

 for example, the drop down list would be created from column 2 where column 5 has a value of "RA" but not include entries from column 2 that correspond to a different value in column 5
0
Comment
Question by:mmarth
  • 4
  • 3
7 Comments
 
LVL 19

Expert Comment

by:Roy_Cox
ID: 41875452
This can be done but you need to attach an example workbook that shows where the values are stored and what they are. Here's an example that I made for someone else that might help you.
Dependant_DV.xls
0
 
LVL 6

Author Comment

by:mmarth
ID: 41875478
what i am needing is on sheet 2 of Dependant_DV2 F2 : F6 except i only want customers where column c='as'
Dependant_DV2.xls
0
 
LVL 19

Expert Comment

by:Roy_Cox
ID: 41875498
If you look at the example in Sheet 3 you will see three lists. Each Column is named according to the header. So in sheet1 when Customer 1 is selected, the options in the second combobox the choices are from that column, using the INDIRECT Function to select that list.

You need to make si9milar lists. If you provide the lists to choose from then I'll help you apply the method.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Author Comment

by:mmarth
ID: 41875574
what i am trying to do is not so involved. on the attached file WorkbookTest i want the drop down boxes on sheet 2 to bring in choices from sheet Lots like i have done except only when the variety is the same as sheet2!$A$1  such as '14RD62'.  i want to limit the choices to this variety.
0
 
LVL 6

Author Comment

by:mmarth
ID: 41875577
WorkbookTest
WorkbookTest.xlsx
0
 
LVL 19

Accepted Solution

by:
Roy_Cox earned 500 total points
ID: 41894722
I missed the final reply. If I understand correctly then this will be best with AdvancedFilter, automated with VBA. See attached example
WorkbookTest.xlsm
0
 
LVL 6

Author Closing Comment

by:mmarth
ID: 41904200
appreciate this solution. just wish it was automated and did not need to run the macro when changes were made to the table.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question