Three-layer Dependent Dropdown With Validation Query?

Feb 24, 2014

I need to create three drop down lists, with the second dependent on the choices in the first and the third dependent on the choices in the second. This is proving to be quite difficult and takes a lot of processing the way I'm going about it (most likely the wrong way).

My data looks like this:

A
B
C

Macintosh Apple
Fruit
Apple

[code]......

The data is presented to me with the most narrowly defined column first, then the most general, then more defined.

What I need is the user to select (on a separate worksheet from the data) the category from column B, then the type from column C, then the specific item from column A. Each selection is dependent on the earlier selection, so that choice 1 (column B) determines the options for choice 2 (column C), which determines the options for choice 3 (Column A).

Also, I think I found that "VLOOKUP" has a problem where it is unable to match data from the first column based on data in a second or third column. For instance, in the above example, if I asked VLOOKUP to look for "Apple" and give me values in column A that contain "Apple" in column C, all I get is "#N/A".

View 6 Replies


ADVERTISEMENT

Duplicate - Dependent / Related / Interconnected Data Validation (Dropdown Lists)

Jun 6, 2014

I have an Excel file with two different visible sheets (dashboards), each with different types of charts, which are pulling from the same data tables on a hidden sheet. I have a data validation drop down list on one of the dashboard sheets, which lists 7 items. Once one of the 7 item is selected, both dashboards update, which is what I want. However, I'd like to be able to have duplicated, related validation drop down lists. So if someone is looking at the first dashboard sheet and they select a new item, when they go to the second dashboard and see that same item, they could on that second dashboard select a new item without having to go back to the first dashboard.

I'd provide an example if I could, but cannot. I've tried searching on the forum for something similar, but most often the topic of dependent data validation is on two different types of drop downs with the second being dependent on the first, whereas I'm looking for two drop downs that are interconnected and can update in sync.

View 2 Replies View Related

3 Layer Conditional Dropdown List

Jul 16, 2013

I am creating a template with 3 layer drop down list where the selection list in second column is dependent on the first column and the third column selection list is dependent on the selection made in second column. The current template is prepared manually and are prone to errors.

The first column: Region Name
Second column: Province
Third column: Municipality

View 5 Replies View Related

Dependent Dropdown List

Mar 20, 2007

I want to create a spreadsheet, where one column allows the user to choose 'P' or 'C' from a list. No problem. I want the next column to contain options specific to what they choose. So if they choose 'C' they get a different list to choose from than if they would have chosen 'P'.

View 11 Replies View Related

Dependent Dropdown Lists

Dec 28, 2006

I have been able to use the previous information to create dependent drop down lists but I have been unable to apply the settings to entire columns versus just one cell.

Is there a way to get the dependent lists to correspond to the cell beside it without having to manually type in each cell name?

View 9 Replies View Related

Dependent Validation

Feb 19, 2009

Is there any chance someone could post an example file for this? I cannot figure out how to set it up.

View 14 Replies View Related

Lookup Or Dependent Dropdown Lists?

May 20, 2014

I'm trying to simplify a template we use regularly at work. On the front end page, the one that eventually gets turned into a PDF and sent to a customer, I have a selection of drop downs, which I am pretty comfortable with. I also have some other fields that are populated by vlookups, and again, I have no problem there. What I am struggling with is creating a second drop down list that only has options relative to the first drop-down list. From what I gathered by searching on this, I may have to change the format my data is in, note that I have a pretty basic knowledge of excel.

Master Data (from where I want all the drop downs to come from) - see attached screenshot.

Capture.JPG

So, on front end, I have a drop down that selects from column A. Beneath that there are two rows that auto-populate depending on what company was selected in the drop-down.
What I want is a second drop down list from D, E & F.

So, If I select ABC Limited in the drop down menu, the second drop down should only have John, Jim & Jane as options.

Is it possible to do this with the data in the format I have, or would I need to change the format? I have +/- 500 entries to do, so obviously I'd like to not change my format if possible.

View 5 Replies View Related

Dropdown List Dependent On IF Function?

Mar 18, 2013

I am trying to have a drop down list which is dependant on the result of a cell.

For example, if cell A1= CAT, then cell A2 should have a 'drop down list 1'; if cell A1=DOG, cell A2 would have 'drop down list 2'; if cell A1=RABBIT, cell A2 would have 'drop down list 3' etc.

Creating the drop down list is easy, I just want to know if it's possible to have different drop down lists depending on the result of a cell.

View 1 Replies View Related

Create Dependent Dropdown List

Jun 10, 2014

Attempting to use INDIRECT function to create dependent data validation list (Type). The tricky part is that the drop down options are dependent on the values of two (2) cell values (Brand and Country).

I have used the INDIRECT function before but dependent on ONE cell value only.

Have attached an example to better explain.

Example.jpg‎
Example.xls

View 4 Replies View Related

Creating Dependent Dropdown Lists?

Sep 23, 2011

I am trying to get a listbox I created in from DataValidation to be dependent on another list.

For example, when I select Course 1 (a list item) from the Course List drop-down, I want the cost to auotmatically populate in the Cost drop-down (the other list).

How do I get this to happen? Here is the code I created in VB, and I am not sure if this is the right course of action:

Sub Automated()
Sheet1.Cells(2, 1) = "MATLAB"
If (Sheet1.Cells(2, 1) = "MATLAB") Then
Sheet1.Cells(2, 3) = "31"
End If
Sheet1.Cells(2, 1) = "INCA"
If (Sheet1.Cells(2, 1) = "INCA") Then
Sheet1.Cells(2, 3) = "41"
End If

[code]....

I don't want to use the user form, however from VB. I want to use the regular drop-down. The code seems to work, but, each list item in the drop-down is not pulling the data I want it to. I need to activate the drop-down as a click event somehow. It's just recognizing the cell A2 as a whole and not the individual list items. I want to each list item to be their own object, and to automatically populate the cell C2 with their cost when they are selected.

View 3 Replies View Related

Dependent Data Validation

Apr 10, 2009

Firstly I have these 12 values as in the attached excel sheet (in the order: FY09, FY09Q4, FY09H1, FY09H2, FY10, FY10Q1, FY10Q2, FY10Q3, FY10Q4, FY10H1, FY10H2, FY11Q1) to be selected as Start Date and End Date. The Limitation on Start and End Date is that the End Date cannot be smaller than Start Date (for e.g.: If start Date is FY09Q4 the End Date can be FY09Q4 and above but not FY09). Now I have a separate set of Initiatives/Objectives for each time period (each Initiatives are marked in excel sheet 2) and Initiatives depend upon Start Date Selected so once Start Date is selected only the related List of Initiatives should be published.

Now the Validation and Naming I have used is not allowing me to use a list name as “FY09” and “FY10” as they are cell references in the Workbook. But I cannot also change the name to something as FY_09 as the data that would be there in the Template will finally be used without editing for upload to an application.

View 3 Replies View Related

Validation List To Be Dependent On Another

Mar 8, 2009

I created a spreadsheet with a list of cities and attractions in those cities. I want an attraction drop-down menu (cell validation) to be dependent on the city that’s listed in the cell above it. I used the below formula: =INDIRECT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE($H$1,"-","_"),", ","__"),". ","__")," ","_"))

This works fine on cities with a dash in them (McGhee-Tyson) or just a normal name (Washington, DC). However, I cannot get the attraction drop-down to work if I select a city with a period (St. Louis, MO) or a space (San Antonio, TX). Am I missing something in the formula? I attached a spreadsheet as an example. I use Excel 2007, but saved the spreadsheet in Excel 97 – 2003 format.

View 2 Replies View Related

Create Dependent Dropdown With Dynamic List?

Apr 1, 2014

I need to create a 2-stage dependent drop down list.

Stage 1:

In cell G7 (on a tab called 'Data'), I have created a drop down list based on a range name called 'Region' .

Stage 2:

In cell G8, I need to create a drop down list which is dependent on the value chosen in G7.

Problem is, I will need to create a dynamic range name here which needs to vlookup or match the value from G7 in a dynamic list of data (the data is on different tab called 'RCA Data' and is spread over columns A:E with row A for headings - the data will go down an undetermined number of rows)

Every time the value in G7 matches a value in the 'RCA data' (the potential matches are stored in column

D) I need the corresponding cell value in column C to be added to the dynamic list. This list then needs to be available to choose from a drop down list in G8.

View 1 Replies View Related

Creating Dependent Dropdown List NOT Using INDIRECT

Jun 20, 2014

I need to create a data validation drop-down that is dependant on what has been selected in another drop-down. However, all the solutions I've come across online so far suggest using the INDIRECT function, which is not appropriate in my case. This is because the data upon which the two drop-downs are based on is itself dynamic. My specific situation is this:

In one sheet, I have a list of university names in one column, and in the next column a list of faculties. The same university can appear multiple times in the sheet (once for each different faculty at the university). This information will be added to regularly, with new universities and new faculties added often.

In another sheet, I want a drop-down in one column that takes its validation from the list of universities. I then want a second drop-down that is only populated with a list of faculties at that university. The INDIRECT solution seems to only work if I can define a static range of cells from which to draw this data. How do I do it in my situation above?

View 3 Replies View Related

Create Dynamic Dependent Dropdown Menus

Mar 11, 2013

I need the drop down menu to update when the user adds a new entry. For example, if the user decides to add companies to the financial table, no matter how many new rows they add, our drop down menu at the top will update to include the new the entries. I want this to be the case in every table. How do I do this?

View 5 Replies View Related

Dependent Dropdown Lists And Conditional Formatting?

Jun 14, 2013

I have three drop-down boxes in 3 adjacent columns. Column 1 is free-choice, Columns 2 and 3 drop-downs are variable dependent on what is in Column 1. That works fine.

I have an issue with over-type but I can solve that with protection. Again fine.

BUT:

1. How do I make the user choose something i.e. not just leave the cell in column 2 or 3 blank by ignoring it (i.e. blank is an error but only after drop-down in column 1 is activated)

2. Also, if the user has completed the line (columns 1,2 and 3) and then changes column 1, columns 2 and 3 are now reading from the incorrect drop-down boxes (i.e. they are now in error but this is accepted and not flagged).

View 2 Replies View Related

UserForm Dependent Dropdown Menus Refresh?

May 5, 2014

I have put together a user form with two ComboBoxes, one dependent on the other. The first box has a drop down menu from which the user selects a name, and the second drop down populates a list from a named range according to the user's selection in the first box. The code I used is as follows:

[Code] .....

This has worked so far, however, if one selects a name in ComboBox1 and then changes their selection (ex. Initially selects John Smith from the first menu, and then changes their selection to Mike Roberts) there is an error. I am not sure why - I think the issue stems from the 'Clear' function but I am not sure how to resolve it.

View 2 Replies View Related

Same Dependent Dropdown List In Multiple Rows

Jul 4, 2013

I have been asked to edit a worksheet for a client, they want me to create a dependent drop list using existing data from three columns.

I have created a dynamic named range and used and index to create the drop down list, which seems to work correctly. I run into a problem with I try to add the list to more than one column, as it obviously pulls in values from the Helper sheet I have used.

When the user tries to select values in row one after making a selection in row two, the values available for selection are incorrect.

Is there any way to have a three column dependent drop list that can be used in more than one row?

I have uploaded the file here: ownCloud

The information on the tab named 'Cabling Ducts' is used in an index on the 'Helper' sheet to remove duplicate values. The drop down list columns appear in 'CS 1' under the headings 'Cable Type', 'Size (mm)' and 'Cores'. Helper sheet is self explanatory.

View 1 Replies View Related

Dependent Dropdown List With Multiple Sheets

Aug 1, 2007

There are other dependent drop-down list posts on this forum, but none of them are talking about working with multiple worksheets. I have three worksheets, one called "Main", one called "Universities", one called "Schools".

One the "Main" worksheet, I have two Combo Boxes (the one from the "Form" toolbar). I would like to first pick a university from the combo box and then based on the selection, the second combo box would give me just the schools in that specific univeristy. My guess on how to link the two drop-down list is by the ID column. If I select "University of Washington" which has an ID of "WAS" it would narrow down the second list to ID with "WAS" in it (Which would be "WAS1", "WAS2, etc). The reason I am using Combo Box is because of the "Link Cell" property which give me an output of the number of the selection into a cell. I will use that to get the corresponding ID. I have attached an example to this post.

View 2 Replies View Related

3 Level Dependent Data Validation

Jan 16, 2014

I have a workbook with three sheets.

Sheet 1 is a large data array (approx 8 columns x max 400 rows), than contains the inventory and cost information of a list of products in a running cafe.

Sheet 2 is is a recipe analysis tool that I want to be able to use data validations to cost out recipes, drawing information from sheet 1 in three dependent drop down boxes 1- category, 2- supplier, 3- item name, which then returns that items cost per standard of measure.

Sheet 3 is where I have started to try to generate a unique list for category and supplier to assist sheet 2 in referencing from sheet 1.

There is data overlap across the inventory items, with many items having the same category and or supplier.

Examples that I have found online use the index and match function, in conjunction with naming to return the array required for the drop down, however most of these examples I have found contain simple unique lists.

I cant seem to nut dynamic naming, which is integral as the list is expanding and contracting all the time.

So far I have been successful by manually naming a range (not a satisfactory solution as per above) and then using the indirect function to reference that named array from sheet 1.

View 4 Replies View Related

Data Validation :: Dependent Lists

Oct 14, 2008

See the attached example. I have created a dependent data validation. The list available in B2 is dependent on the item chosen in Cell A2.

What I would like to know is how do I expand this validation down columns A and B. I don't want to have to add the validation in each cell individually!

View 4 Replies View Related

Validation Drop Down, Dependent Upon Another Cell Value

Apr 21, 2009

I am trying to create validation drop down list for a cell, however I want different drop down lists which are depenent upon another cell.

in Cell A1, I want the options "A", "B","C" etc
If cell A1 = "A", then drop down validation for cell A2 = 1,2,3,4,5
cell A1 = "B", then drop down in cell A2 now equal 6,7,8,9, 10
cell A1 = "C", then drop down in Cell A2 now equal 11,12,13,14,15

View 4 Replies View Related

Data Validation Dependent Lists?

Dec 31, 2012

I cannot seem to add more dependents using this code. I think it is in the "If / then / else" structure that it is limited to only those three "groups". But I need to be able to add at least one more dependent list to the code.

View 4 Replies View Related

Dependent Validation Lists Code

Mar 20, 2009

I have attached a file where I’ve made some dependent validation lists. When the first box is changes it clears the last 2 with this bit of code

View 2 Replies View Related

Another Dependent Data Validation Combobox

May 5, 2009

I'm still curious about the sample from Contextures, http://www.contextures.com/excelfiles.html (DV0032 - Dependent Data Validation Combobox)

I have made a modification from its file (sample is attached). First drop list can be autocomplete, but the second cannot. For the comparing, I made row 2 in ValidationSample sheet is my modification, and row 3 is the original.

View 10 Replies View Related

Dependent Data Validation Lists

Sep 10, 2009

I am trying to make two dependant lists in Excel. Using data validation lists, is it possible to, for example, select a country from one list, then select a city in that country from another list. For example, if I select France from one list, I only want the list of cities to include French cities, rather than the entire list of cities in the list.

View 2 Replies View Related

Data Validation - Dependent List

Aug 1, 2013

B2 should be drop-down list based on the value in B1.

Example: If Function code is 901, the drop down list should contains 3 values: Warehouse, Transport, QC only.

As we have ~100 function codes, formular with IF that I tried -> Data validation IF(B1="901",901,IF(B1="902",902 .... are not applicable.

I tried Excel Data Validation -- Dependent Lists but it didn't works.

View 3 Replies View Related

Clearing Dependent Data Validation?

Dec 10, 2013

Currently i have a list of cells D7:D19 which have data validation lists dependent on the values in B7:17. When the cell in the B column is cleared the value in D remains. I want it to clear when the value from B is cleared. I currently have tried to following code which works for cells B7 and D7, but how do i apply this to the whole range?

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
On Error GoTo sub_exit
If Target.Address = "$B$7" Then
Range("D7").ClearContents
End If
sub_exit:
Application.EnableEvents = True
End Sub

View 1 Replies View Related

Multiple Dependent Data Validation

Oct 4, 2008

I am needing to create 2 drop downs that are dependent on 1 drop down. I have named lists that are on another worksheet. I've gotten so far as getting the 1st 2 drop down lists work but my third drop down I just can't figure out what the formula needs to be. HELP!! I've been working on this for a week now and I'm losing my mind. I've checked the contextures website and it does NOT answer this question.

View 9 Replies View Related

Data Validation :: Dependent Lists ..

May 26, 2006

I have an Excel spreadsheet with two lists of data, the first is a list of groups and the second is a list of sub-groups, each group containing a number of sub-groups, each sub-group being unique and belonging to only one group.

Elsewhere on the sheet, I have used Data Validation (using 'list') in 2 columns to provide a drop-down selection in cells which the user must complete. The first column refers to the first list (groups), the second column refers to the second list (sub-groups).

However I would like to make the values which appear in the second drop-down list dependent on the value which has been selected in the first. That is: make the user choose a group in the first column and then make the choice of available sub-groups in column 2 restricted to those sub-groups which belong to the selected group.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved