Dropdown list
While going through ticket booking or online form filing we have noticed that if clicked on a list comes down to select option from which is called as dropdown list.
To inset dropdown list , select Data ribbon , Under data section we have option of Data validation select it and a pop will come up like below
once list is selected a new box of source will be seen in which select table column or row from which excel will fetch a list press ok and that's it your dropdown list is ready .
in this case I have selected list of country
Dependent dropdown list
Dependent dropdown list is where a list option are dependent on another option selected in another dropdown list. In this case , i want only those city option shown which are there in those country
to do that first we need to establish relation between individual countries and cities for which go to formula ribbon from defined names section select "create from selection" option . once selected a pop up will come now select top row if your heading is in top row or select left column if your table heading are in 1st left column and so on . once done you can check these relation by selecting "name manager" option in formula ribbon under defined names section .
now select any cell where we want our dependent dropdown list
go to data ribbon select "data validation " option given under Data tools section.
pop of Data validation will come up select list from dropdown list and new box of source will come up
now here type =indirect(reference of previous dropdown ) In this case i have given reference of I13 where was my previous dropdown list press ok . that's it your depend dropdown list is ready
if you select any country then in 2nd list you will get only those city which are listed under countries of which we created relations
Comments
Post a Comment