<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.office.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx</link><description>Today&amp;rsquo;s author is Reinout Dorreboom from the Netherlands, a Technical Consultant at Getronics, where he has worked with Office applications for many years, and where his Microsoft Certified Training skills enabled him to help other people get up</description><dc:language>en-US</dc:language><generator>Telligent Community 1.5.134.15456 (Build: 5.5.134.15456)</generator><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#24241</link><pubDate>Fri, 11 Feb 2011 17:47:54 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:24241</guid><dc:creator>guatdoc</dc:creator><description>&lt;p&gt;is there a way to have the drop list with items, yet allow a user to input text if there is nothing valid in the list?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=24241" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4771</link><pubDate>Thu, 24 Dec 2009 04:05:05 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4771</guid><dc:creator>KAS</dc:creator><description>&lt;p&gt;indirect work well with drop down. however,it is not working with combo box. any one can help me how to use indirect in combo box&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4771" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4772</link><pubDate>Mon, 14 Dec 2009 23:58:20 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4772</guid><dc:creator>Tow</dc:creator><description>&lt;p&gt;I can get this to work great without using an underscore or period, but entering anything other than a single value and the drop-down box fails to open??&lt;/p&gt;
&lt;p&gt;Any Help?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4772" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4773</link><pubDate>Mon, 14 Dec 2009 00:14:27 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4773</guid><dc:creator>TONG SeowPin</dc:creator><description>&lt;p&gt;Add the following EVENT to your workbook, when you change your second option (2nd data validation option), the 1st option will dissapear.&lt;/p&gt;
&lt;p&gt;eg. when you selected the wrong city 1st time, you&lt;/p&gt;
&lt;p&gt; re-select again, the country will appear blank immediately. That means you need to re-select again the correct country based on the re-selected city.&lt;/p&gt;
&lt;p&gt;+++++++++++++++++++++++++++++++++++++++++++&lt;/p&gt;
&lt;p&gt;Option Explicit&lt;/p&gt;
&lt;p&gt;Private Sub Worksheet_Change(ByVal Target As Range)&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&lt;a rel="nofollow" target="_new" href="http://www.mrexcel.com/forum/showthread.php?t=397608"&gt;www.mrexcel.com/.../showthread.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Application.EnableEvents = True&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;If Not Intersect(Target, Range(&amp;quot;Q2&amp;quot;)) Is Nothing Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Application.EnableEvents = False&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Range(&amp;quot;Q3&amp;quot;).Value = &amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Application.EnableEvents = True&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;+++++++++++++++++++++++++++++++&lt;/p&gt;
&lt;p&gt;Any doubts refer to the mrexcel for more information &amp;amp; solution.&lt;/p&gt;
&lt;p&gt;rgds,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4773" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4774</link><pubDate>Sat, 12 Dec 2009 04:53:02 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4774</guid><dc:creator>Ovas</dc:creator><description>&lt;p&gt;Dear jirina42&lt;/p&gt;
&lt;p&gt;Can u show the table and one formula somehow?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4774" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4775</link><pubDate>Wed, 09 Dec 2009 08:30:35 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4775</guid><dc:creator>Samir</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I can not proceed following:&lt;/p&gt;
&lt;p&gt;1. Select cell D2.&lt;/p&gt;
&lt;p&gt;2. On the ribbon, click the Data tab.&lt;/p&gt;
&lt;p&gt;3. In the Data Tools group, click Data Validation.&lt;/p&gt;
&lt;p&gt;4. Fill the values as follows: &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; In the Allow box, select List. &lt;/p&gt;
&lt;p&gt; &amp;nbsp; In the Source box, type =INDIRECT($C2) &lt;/p&gt;
&lt;p&gt;Unknown valus but not question if I want continue.&lt;/p&gt;
&lt;p&gt;Any idea why?&lt;/p&gt;
&lt;p&gt;Sincearely Samir-SWEDEN&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4775" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4776</link><pubDate>Fri, 04 Dec 2009 20:41:23 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4776</guid><dc:creator>jirina42</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;this can be actually done totally dynamically. I mean that it&amp;#39;s not necessary to create named ranges for every set of values so that you can freely add new values and they are automatically considered in the validation. It can be also combined with an array function retrieving distinct values from a &amp;#39;raw&amp;#39; list so that you can feed your validation list from basically any source of data. &lt;/p&gt;
&lt;p&gt;The validation formula is then of course a bit more complicated but it works perfectly.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d send a sample file but I don&amp;#39;t know where.&lt;/p&gt;
&lt;p&gt;Below is how the validation works but without the excel it&amp;#39;s not very understandable.&lt;/p&gt;
&lt;p&gt;br&lt;/p&gt;
&lt;p&gt;jirina42&lt;/p&gt;
&lt;p&gt;Validations:					&lt;/p&gt;
&lt;p&gt;Practice					&lt;/p&gt;
&lt;p&gt;=CCsHeader					&lt;/p&gt;
&lt;p&gt;CC					&lt;/p&gt;
&lt;p&gt;&amp;quot;=OFFSET(CCsData;0;MATCH(I26;CCsHeader;0)-1;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; COUNTA(OFFSET(CCsData;0;MATCH(I26;CCsHeader;0)-1;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 14;1));1)&amp;quot;					&lt;/p&gt;
&lt;p&gt;&amp;quot;What does it do:&lt;/p&gt;
&lt;p&gt; - takes value in cell I26 (the practice for which we are creating list of CCs) and finds it&amp;#39;s position in the CCsHeader (the first MATCH function)&lt;/p&gt;
&lt;p&gt; - creates a range of the CCs under the selected practice (Microsoft in our case) (the outter OFFSET function)&lt;/p&gt;
&lt;p&gt; - the inner COUNTA function (and everything inside) counts number of CCs under the selected practice. It&amp;#39;s pretty the same as the stuff before that but we need to limit the area where to count the values (max. 14 values in our case but it can also be e.g. whole column).&amp;quot;					&lt;/p&gt;
&lt;p&gt;Name					&lt;/p&gt;
&lt;p&gt;&amp;quot;=OFFSET(NamesData;0;MATCH(J26;NamesHeader;0)-1;&lt;/p&gt;
&lt;p&gt;COUNTA(OFFSET(NamesData;0;MATCH(J26;NamesHeader;0)-1;&lt;/p&gt;
&lt;p&gt;13;1));1)&amp;quot;					&lt;/p&gt;
&lt;p&gt;&amp;quot;What does it do:&lt;/p&gt;
&lt;p&gt;Exactly the same thing as the CC validation except that it looks for range of Names under the CC selected in cell J26&amp;quot;					&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4776" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4777</link><pubDate>Thu, 03 Dec 2009 14:33:25 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4777</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Can you provide a link to the example so that we can see it in action.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4777" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4778</link><pubDate>Mon, 30 Nov 2009 15:25:35 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4778</guid><dc:creator>taiwo</dc:creator><description>&lt;p&gt;Its nice being a member of this group. Because I found it so interesting learning on line. especially on Microsoft excel.&lt;/p&gt;
&lt;p&gt;thanks regards&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4778" width="1" height="1"&gt;</description></item><item><title>re: Create conditional drop-down lists</title><link>http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down-lists.aspx#4779</link><pubDate>Thu, 26 Nov 2009 14:45:25 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:4779</guid><dc:creator>TopDad99</dc:creator><description>&lt;p&gt;I&amp;#39;m not a fan of always defaulting a value to the first value in the list. &amp;nbsp;My philosophy for whether to default a value or not depends on a combination of:&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;What are the chances that I can guess the value correctly? &amp;nbsp;If I can&amp;#39;t guess it with a sufficiently high degree of confidence, then I don&amp;#39;t default it to anything. &amp;nbsp;For example, if one option is used 10% of the time and all the others are only used 5%, the &amp;quot;big&amp;quot; option isn&amp;#39;t &amp;quot;big&amp;quot; enough for me to default to it.&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;What&amp;#39;s the risk if the user doesn&amp;#39;t notice that the value has been defaulted and blindly accepts my default? &amp;nbsp;If this process was to delete information for a city, I wouldn&amp;#39;t want to risk that the user blindly accepts my default city.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=4779" width="1" height="1"&gt;</description></item></channel></rss>