<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx</link><description>Today’s author, Dany Hoter, a Product Planner for the Excel team, shares a neat trick he learned recently for creating dynamic data validation ranges. The sample file used for this blog post can be found in the attachments at the bottom of this post.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Click &amp;amp; Solve &amp;raquo;  Creating Dynamic Validation Ranges </title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9460987</link><pubDate>Fri, 06 Mar 2009 02:23:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9460987</guid><dc:creator>Click &amp;amp; Solve &amp;raquo;  Creating Dynamic Validation Ranges </dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.clickandsolve.com/?p=18503"&gt;http://www.clickandsolve.com/?p=18503&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9462568</link><pubDate>Fri, 06 Mar 2009 16:08:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9462568</guid><dc:creator>Juan Cruz Soares Gache</dc:creator><description>&lt;p&gt;We did this few weeks ago and worked perfectly well. The main issue was trying to change the value of the 'city' cell when the 'country' item is changed for another.&lt;/p&gt;
&lt;p&gt;We couldn't find another way to do this than VBA.&lt;/p&gt;
&lt;p&gt;Good work, fellows!&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9463736</link><pubDate>Sat, 07 Mar 2009 04:31:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463736</guid><dc:creator>Ron M</dc:creator><description>&lt;p&gt;Your attachment is an Excel 2007 file (xlsx) format. Can you make this available in .xls format for those of us who do not have Excel 2007?&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9466288</link><pubDate>Sun, 08 Mar 2009 21:50:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9466288</guid><dc:creator>Mic</dc:creator><description>&lt;p&gt;Anothwer way could be using OFFSET, MATCH and INDEX formulas.&lt;/p&gt;
&lt;p&gt;Not always optimum but useful.&lt;/p&gt;
&lt;p&gt;1. Define DbRng as $G$3:$J$9&lt;/p&gt;
&lt;p&gt;2.Use OFFSET(DbRng;1;MATCH(B13;INDEX(DbRng;1;);FALSE)-1;ROWS(DbRng)-1;1)&lt;/p&gt;
&lt;p&gt;in Step 6. Datavalidation&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9467042</link><pubDate>Mon, 09 Mar 2009 05:07:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9467042</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;1) Ctrl+Shift+F3 = Create Names&lt;/p&gt;
&lt;p&gt;2) Dont create Static Names, Use Dynamic names (Index/Counta())&lt;/p&gt;
&lt;p&gt;3) Dont use Indirect, It is volatile and does not work with Dynamic names &amp;nbsp;-Use Evaluate&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9470984</link><pubDate>Thu, 12 Mar 2009 00:09:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9470984</guid><dc:creator>Mike Rosenblum</dc:creator><description>&lt;p&gt;Hey Dany, &lt;/p&gt;
&lt;p&gt;Really nice solution. I've done this kind of thing before, but not using =Indirect() like this, which is really clean. I wish I thought of this myself...&lt;/p&gt;
&lt;p&gt;Sam, I don't think that being 'volatile' applies here b/c validation conditions are only evaluated when the user attempts to change a value (or use the validation drop-down list). Defined names are not volatile the way that standard formula are; in fact, unless another formula on a worksheet references a defined name, it is never calculated at all, even if the defined name references something else that is recalculated.&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9472559</link><pubDate>Fri, 13 Mar 2009 05:28:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9472559</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;Mike.&lt;/p&gt;
&lt;p&gt;If you define a dynamic Name using Offset/Counta then the name gets recalculated every time a event takes place which triggers a recalc&lt;/p&gt;
&lt;p&gt;Index/Counta makes it non volatile.&lt;/p&gt;
&lt;p&gt;Indirect doest not work with dynamic names (Its blind to both Index and Offset)&lt;/p&gt;
&lt;p&gt;Hence the good old XLM Evaluate&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9528209</link><pubDate>Thu, 02 Apr 2009 03:19:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9528209</guid><dc:creator>jules</dc:creator><description>&lt;p&gt;I tried it it worked oerfectly in rows b and c but not in other rows. what is the purpose of the cells b12 and c12&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9528227</link><pubDate>Thu, 02 Apr 2009 03:25:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9528227</guid><dc:creator>jules</dc:creator><description>&lt;p&gt;I tried it it worked oerfectly in columns b and c but not in other columns. what is the purpose of the cells b12 and c12&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9530057</link><pubDate>Fri, 03 Apr 2009 05:18:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9530057</guid><dc:creator>General Ledger</dc:creator><description>&lt;p&gt;I think having Country update upon any change in Region is important. &amp;nbsp;The whole point of all this work is to limit (validate) the choice of Country based on the selection of Region. &amp;nbsp;If you select a Region and Country, and then change the Region, your selection of Country is no longer valid. &amp;nbsp;Your prior choice of Country should be cleared as soon as you change the Region. &amp;nbsp;How can you make this happen?&lt;/p&gt;
&lt;p&gt;I am not an expert so please be explicit.&lt;/p&gt;
</description></item><item><title>re: Creating Dynamic Validation Ranges</title><link>http://blogs.msdn.com/excel/archive/2009/03/05/creating-dynamic-validation-ranges.aspx#9530058</link><pubDate>Fri, 03 Apr 2009 05:19:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9530058</guid><dc:creator>General Ledger</dc:creator><description>&lt;p&gt;I think having Country update upon any change in Region is important. &amp;nbsp;The whole point of all this work is to limit (validate) the choice of Country based on the selection of Region. &amp;nbsp;If you select a Region and Country, and then change the Region, your selection of Country is no longer valid. &amp;nbsp;Your prior choice of Country should be cleared as soon as you change the Region. &amp;nbsp;How can you make this happen?&lt;/p&gt;
&lt;p&gt;I am not an expert so please be explicit.&lt;/p&gt;
</description></item></channel></rss>