{"id":5970,"date":"2016-07-16T09:08:36","date_gmt":"2016-07-16T09:08:36","guid":{"rendered":"http:\/\/test.nurturetechacademy.in\/?p=5970"},"modified":"2016-08-01T10:11:44","modified_gmt":"2016-08-01T10:11:44","slug":"how-to-create-a-dependent-drop-down-list","status":"publish","type":"post","link":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/how-to-create-a-dependent-drop-down-list\/","title":{"rendered":"How to Create a Dependent drop down list"},"content":{"rendered":"<p>As most of us already use drop down lists through data validation but sometimes it makes much more sense to create a dependent drop down lists e.g. you create a drop down list in cell A1 and as you choose any item from that list, the items of the other drop down list in cell B1 will change accordingly. So let\u2019s see guys how we can create it in Excel:<\/p>\n<p>Just have a look at the below screenshot, in this example we have a table with 4 columns with 4 States of India in each column and below each column we have respective Districts. Our motive is to create a drop down list in cell A3, which shows all the 4 States and then we will create a drop down list in cell B3 which will be dependent on the States\u2019 drop down list and will show only the respective Districts.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5972 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/1.jpg\" alt=\"1\" width=\"660\" height=\"507\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/1.jpg 660w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/1-600x461.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/1-300x230.jpg 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now let\u2019s just follow the below steps to create a dependent drop down list:<\/p>\n<p><strong><u>Step 1<\/u>\u00a0 <\/strong>First we need to create assign names to the categories row as well as all the 4 States. To do this, first select the range D1:G1 and then click in the Name box and write a name as <strong>State <\/strong>\u00a0and then hit enter.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6030 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/2.jpg\" alt=\"2\" width=\"662\" height=\"337\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/2.jpg 662w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/2-600x305.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/2-300x153.jpg 300w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><u>Step 2<\/u><\/strong>\u00a0 Now we need to select all the respective Districts below the State one by one and give it a respective State name range through the Name box. You can just repeat the same procedure discussed in the above step to assign a name. E.g. to assign a name to the Districts of Rajasthan we will select range from D2:D24 and write Rajasthan in Name box.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6031 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/3.jpg\" alt=\"3\" width=\"656\" height=\"504\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/3.jpg 656w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/3-600x461.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/3-300x230.jpg 300w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6032 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/4.jpg\" alt=\"4\" width=\"656\" height=\"502\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/4.jpg 656w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/4-600x459.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/4-300x230.jpg 300w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6033 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/5.jpg\" alt=\"5\" width=\"661\" height=\"504\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/5.jpg 661w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/5-600x457.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/5-300x229.jpg 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6034 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/6.jpg\" alt=\"6\" width=\"661\" height=\"505\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/6.jpg 661w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/6-600x458.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/6-300x229.jpg 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><u>Step 3<\/u><\/strong>\u00a0 Now we will create the First drop down list for States in cell A3. For this just activate cell A3 and then go to Data tab -&gt; Data Validation<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6035 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/7.jpg\" alt=\"7\" width=\"1098\" height=\"198\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/7.jpg 1098w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/7-600x108.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/7-300x54.jpg 300w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/7-768x138.jpg 768w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/7-1024x185.jpg 1024w\" sizes=\"auto, (max-width: 1098px) 100vw, 1098px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now in the Data Validation dialog box, click Settings tab, choose List from the Allow drop down list, and input this formula \u00a0<strong>=State<\/strong> into the Source box and then press ok. Now we have the drop down list with 4 states in cell A3.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6036 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/8.jpg\" alt=\"8\" width=\"398\" height=\"316\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/8.jpg 398w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/8-300x238.jpg 300w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now to create a dependent drop down list in cell B3, just activate cell B3 and then again go to Data tab \u00e0 Data Validation and now in the Data Validation dialog box, click Settings tab, choose List from the Allow drop down list, and input this formula \u00a0<strong>=Indirect(A3) <\/strong>\u00a0into the Source box and then press ok. Here we will get the list of respective Districts,\u00a0 depends on which State we choose in cell A3.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6037 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/9.jpg\" alt=\"9\" width=\"398\" height=\"316\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/9.jpg 398w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/9-300x238.jpg 300w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Note: if you have not choose anything in cell A3 then after hitting OK in the above step you will get an error like this :<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6038 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/10.jpg\" alt=\"10\" width=\"437\" height=\"112\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/10.jpg 437w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/10-300x77.jpg 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>This is just an informative error so just press OK to continue.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6039 size-full\" src=\"http:\/\/test.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/11.jpg\" alt=\"11\" width=\"734\" height=\"292\" srcset=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/11.jpg 734w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/11-600x239.jpg 600w, https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/uploads\/2016\/07\/11-300x119.jpg 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now we are ready to use dependent drop down list \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p>You can download the Excel file from <a href=\"https:\/\/www.dropbox.com\/s\/9mxgac04obzt34n\/Dependent%20Drop%20Down%20List.xlsx?dl=0\">here<\/a>&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_5970\" class=\"pvc_stats all  \" data-element-id=\"5970\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>As most of us already use drop down lists through data validation but sometimes it makes much more sense to create a dependent drop down lists e.g. you create a drop down list in cell A1 and as you choose <\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_5970\" class=\"pvc_stats all  \" data-element-id=\"5970\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":6074,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[56],"tags":[71,62,73,57],"class_list":["post-5970","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel","tag-advanced-excel","tag-data-validation","tag-drop-down-list","tag-excel"],"_links":{"self":[{"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/posts\/5970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/comments?post=5970"}],"version-history":[{"count":3,"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/posts\/5970\/revisions"}],"predecessor-version":[{"id":6041,"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/posts\/5970\/revisions\/6041"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/media\/6074"}],"wp:attachment":[{"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/media?parent=5970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/categories?post=5970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nurturetechacademy.in\/dev.nurturetechacademy.in\/wp-json\/wp\/v2\/tags?post=5970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}