ms excel - data validation for 2 drop down list - excel

I'm looking for the solution in excel data validation for 2 drop down list.
When I choose 1st drop down list 2nd drop down list will auto populate the correct value from table. If user choose 2nd drop down list 1st drop down list will auto populate the value also.
Can someone help me on this issue ?
I attach the sample file for my problem.
enter image description here
enter image description here
thanks!
Sample File

Trying to do a two way I don't think is going to work in the way you are trying so I am not surprised the examples you found were for one-way. I am open to being corrected.
You could hack around it for example using two form control listboxes linked to the same cell so a selection in one updates the other.
Then because an item might be out of view listbox underneath have two cells which use the linked cell to index back into the source lists.
In the example above, there are two list boxes from form controls in developer tab (customize ribbon > add developer tab.
Developer tab form control - 2nd from the right
You add two of these in to the sheet.
Right click format control on each one
Set the input range to the range containing your list of values for that listbox and set the linked cell e.g. G1
Ensure that whilst you select different input ranges for each list box, they should have the same linked cell e.g. G1.
Underneath the listboxes put a formula which uses the linked cell G1 to index back into the source lists for each listbox so you can retrieve the selected value and have it visible, in case not visible within listbox.
Example testing:

Related

Hi, how to change the value in the dependent drop down list immediately after copying the drop down to another cell in excel

I have created a dependent dynamic drop-down list based on another drop-down. Please check the below image. However, when I am copying the drop-down to another cell, Although the drop-down list is getting updated based on the dynamic reference, the value that was selected earlier was not changing.
For example, as shown in the below image. I have copied the drop-down that has a value of 4.09 to another cell. As you can see although the drop-down list got updated the value 4.09 is not changing. I ideally expect it to change as 4.09 is not a part of this dropdown list values. could anyone help me how can I achieve this?
See my screenshots below - here are two options you can consider (once you've pasted the value corresponding to 4.09 into a cell, it will remain that way until it's changed by some mechanism other than validation lists - if I've interpreted/understood your Q properly - these lists are only designed to capture an input not change other cells)..
Option 1:
Use develeper tab 'combo box' option:
I've inserted this combo-box so that it aligns with cell D2 (hold 'alt' when dragging edges with mouse to align pefectly with neighbouring cell adjacencies).
Notice the two cells in F3:G3 - the former corresponds to your validation-list selection (which is what I understand you really want to achieve, the second is a simple lookupp to bring back the valee itself
Input range: B3:B7
Linked cell: G3
Customise according to your specific needs/set-up noting my example is purely demonstrative.
Now whenever I make a new selection (e.g. light build or q
Option 2 - use worksheet_change VB code:
shorcut keys: (alt + F11 to open VB; CTRL + R to view Project Explorer if (default) view not already showing; double click sheet in question (here Sheet1) to open VB editor pane, insert following code:

Make drop-down list permanent

I am an intern with limited VBA experience so please excuse any naivety.
There are two drop down list options (SHOWN IN THE ATTACHED LINK), the drop down list for state is permanently displayed regardless of the cell selected and is formatted in a way that makes it clear that their are options while the country drop down only appears when the cell itself is selected and an objective user would not know there is a list/choice. How do I replicate the state cell for the country cell. Is there a way to find what vba code was used for the state cell?
DROP-DOWN LIST IMAGE

How can I create a button on excel that automatically moves me to a specific row?

My excel sheet has a lot of rows where I go over different problems. Is there a way to create a drop down menu at the top of my sheet that can automatically take me to a specific row depending on what problem I want to look at?
I know how to create a drop down menu with all of the problem names, but I don't know how to link each name in the drop down menu to a specific row number to move the screen down.

Search - autocomplete in drop down list

I have two sheets in Excel:
Sheet A: Drop down list with source from Sheet B
Sheet B: One column with names:
NAMES
James Gordon
Andrea Michel
Third Name
The list is very long, but unfortunately when I click on the drop down list I can't search in the list.
I need to search in the drop down list, or jump to the character which is pressed.
Any suggestion how to start?
I used an embedded combo box in a worksheet to achieve this. I created a named range with the values that I wanted to include in the combo box, then using the properties window input the named_range into the "ListFillRange" property box. This will allow the drop down box to reference this list, however I never fully figured out how to make the named range dynamically update.
To allow the list to search for included values, you need to set the "MatchEntry" property to 1 - fmMatchEntryComplete. This should achieve your desired goal.

Excel: Dropdowns and IF feature

I have a cell with a dropdown menu of 20 items in a list. Upon clicking one of these 20 items, I want the next cell to produce another drop down with a list of options. The list in this dropdown will differ depending on what choice is taken from the first drop down. Following this, I want the chosen option in the second dropdown to output a number in another cell. Thanks.
You'll have to start by creating Named Lists of dependent list, and use INDIRECT function in Data Validataion -> List to achieve dependent drop down list or cascading drop down list.
Its explained in detail with screen shots here!
Refer this link if you are using older Excel version.

Resources