<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automated Formulas Testing</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: MarkK</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35848</link>
		<dc:creator>MarkK</dc:creator>
		<pubDate>Wed, 29 Oct 2008 22:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35848</guid>
		<description>&lt;p&gt;You could look at a tool called Junit (Java).&lt;/p&gt;
&lt;p&gt;It&#039;s a different platform yes - but this utility is used to do test driven development, and the concepts principles it applies may well be useful / transferable to Excel.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You could look at a tool called Junit (Java).</p>
<p>It&#8217;s a different platform yes &#8211; but this utility is used to do test driven development, and the concepts principles it applies may well be useful / transferable to Excel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Hall</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35814</link>
		<dc:creator>Charlie Hall</dc:creator>
		<pubDate>Mon, 27 Oct 2008 18:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35814</guid>
		<description>&lt;p&gt;I do something similar to Simon - using a separate workbook with multiple worksheets for different test cases - the test case workbook has separate sheets for input and output.  The input sheets are a copy of just the input cells (unlocked) and when I modify the model, I use a diff feature to compare the old input test sheet to a new one - and then I move the old cells around so the old test can be applied to the new model without having to re-enter all the test data - in most cases, if the model has stabilised, the moving around is trival and the old test cases are retained.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I do something similar to Simon &#8211; using a separate workbook with multiple worksheets for different test cases &#8211; the test case workbook has separate sheets for input and output.  The input sheets are a copy of just the input cells (unlocked) and when I modify the model, I use a diff feature to compare the old input test sheet to a new one &#8211; and then I move the old cells around so the old test can be applied to the new model without having to re-enter all the test data &#8211; in most cases, if the model has stabilised, the moving around is trival and the old test cases are retained.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick O'Beirne</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35777</link>
		<dc:creator>Patrick O'Beirne</dc:creator>
		<pubDate>Fri, 24 Oct 2008 09:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35777</guid>
		<description>&lt;p&gt;&quot;The key factors are to get decent real world test cases,&quot;&lt;/p&gt;
&lt;p&gt;Ah yes - data sign, size, type and boundary cases for IFs and Lookups are classics.&lt;/p&gt;
&lt;p&gt;For a simple build-a-wall calculation, I give 20 tests on pages 181-182 of my book.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;The key factors are to get decent real world test cases,&#8221;</p>
<p>Ah yes &#8211; data sign, size, type and boundary cases for IFs and Lookups are classics.</p>
<p>For a simple build-a-wall calculation, I give 20 tests on pages 181-182 of my book.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Murphy</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35771</link>
		<dc:creator>Simon Murphy</dc:creator>
		<pubDate>Thu, 23 Oct 2008 23:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35771</guid>
		<description>&lt;p&gt;Do people actually use Excel Scenarios?&lt;br&gt;
I used them a few times, I think a few lines of VBA is much more transparent. (or even a simple INDEX into a table (like Dermots suggestion)). I prefer to keep my test harness out of the live model so as not to complicate things.&lt;/p&gt;
&lt;p&gt;Dick I think your approach makes sense. I tend to use a separate wb (rather than a text file) so I can read and write inputs/outputs easier, and check proportions are understandable. And the test runner is trivial - assign input values...calc all...assign outputs...repeat for x test cases.&lt;/p&gt;
&lt;p&gt;The key factors are to get decent real world test cases, and to know what you are looking for. The classic is to forget to test negatives, in fact I&#039;m going to have to go and check something I did the other day right now!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Do people actually use Excel Scenarios?<br />
I used them a few times, I think a few lines of VBA is much more transparent. (or even a simple INDEX into a table (like Dermots suggestion)). I prefer to keep my test harness out of the live model so as not to complicate things.</p>
<p>Dick I think your approach makes sense. I tend to use a separate wb (rather than a text file) so I can read and write inputs/outputs easier, and check proportions are understandable. And the test runner is trivial &#8211; assign input values&#8230;calc all&#8230;assign outputs&#8230;repeat for x test cases.</p>
<p>The key factors are to get decent real world test cases, and to know what you are looking for. The classic is to forget to test negatives, in fact I&#8217;m going to have to go and check something I did the other day right now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35763</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Thu, 23 Oct 2008 16:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35763</guid>
		<description>&lt;p&gt;I don&#039;t know how to use scenarios.  If I screw up a formula and run the scenario, what is it telling me?&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.dailydoseofexcel.com/blogpix/automatetest1.gif&quot; width=&quot;572&quot; height=&quot;364&quot;&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know how to use scenarios.  If I screw up a formula and run the scenario, what is it telling me?</p>
<p><img alt="" src="http://www.dailydoseofexcel.com/blogpix/automatetest1.gif" width="572" height="364"/></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick O'Beirne</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35761</link>
		<dc:creator>Patrick O'Beirne</dc:creator>
		<pubDate>Thu, 23 Oct 2008 13:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35761</guid>
		<description>&lt;p&gt;Why not use scenarios?&lt;br&gt;
Limit to 32 cases, but.&lt;/p&gt;
&lt;p&gt;Oh, I just see DermotH has just mentioned them.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Why not use scenarios?<br />
Limit to 32 cases, but.</p>
<p>Oh, I just see DermotH has just mentioned them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Hutchins</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35756</link>
		<dc:creator>Alan Hutchins</dc:creator>
		<pubDate>Thu, 23 Oct 2008 12:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35756</guid>
		<description>&lt;p&gt;Dick,&lt;/p&gt;
&lt;p&gt;I created a couple of simple test routines that I always use:&lt;/p&gt;
&lt;p&gt;Firstly, I run a routine that changes the cell background and pattern to one I would never use for every unlocked cell - I use this to verify that only the cells that are allowed input are unlocked.&lt;/p&gt;
&lt;p&gt;Then, once this has been checked and agreed, I can run 1 of 2 other routines:&lt;/p&gt;
&lt;p&gt;A. this just enters a 1 into every unlocked cell, which is used to test any sub-total and total functions; OR&lt;/p&gt;
&lt;p&gt;B. in each worksheet data input into every unlocked cell starts at a selected number (default is 1), and is incremented by 1 for each subsequent unlocked cell within the worksheet. I use this to check where values are referenced in other cells in different worksheets, plus it is more useful to verify ratios and validations.&lt;/p&gt;
&lt;p&gt;I specifically don&#039;t state expected output values, as I want to be certain that I am getting the correct results. I know that I have to check the maths involved, but it is useful, as it stops you assuming that all is well if you get the number you want..&lt;/p&gt;
&lt;p&gt;Low level, and very simple I know, but I find it extremely effective for what I do.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick,</p>
<p>I created a couple of simple test routines that I always use:</p>
<p>Firstly, I run a routine that changes the cell background and pattern to one I would never use for every unlocked cell &#8211; I use this to verify that only the cells that are allowed input are unlocked.</p>
<p>Then, once this has been checked and agreed, I can run 1 of 2 other routines:</p>
<p>A. this just enters a 1 into every unlocked cell, which is used to test any sub-total and total functions; OR</p>
<p>B. in each worksheet data input into every unlocked cell starts at a selected number (default is 1), and is incremented by 1 for each subsequent unlocked cell within the worksheet. I use this to check where values are referenced in other cells in different worksheets, plus it is more useful to verify ratios and validations.</p>
<p>I specifically don&#8217;t state expected output values, as I want to be certain that I am getting the correct results. I know that I have to check the maths involved, but it is useful, as it stops you assuming that all is well if you get the number you want..</p>
<p>Low level, and very simple I know, but I find it extremely effective for what I do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dermotb</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35738</link>
		<dc:creator>dermotb</dc:creator>
		<pubDate>Thu, 23 Oct 2008 01:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35738</guid>
		<description>&lt;p&gt;Dick, it can be done very simply using a one variable data table, which I explain here (I talk about scenarios, but it works just as well for test data sets)&lt;br&gt;
&lt;a href=&quot;http://excelusergroup.org/blogs/dermot/archive/2008/01/22/an-awesome-powertool-buried-in-excel.aspx&quot; rel=&quot;nofollow&quot;&gt;http://excelusergroup.org/blogs/dermot/archive/2008/01/22/an-awesome-powertool-buried-in-excel.aspx&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick, it can be done very simply using a one variable data table, which I explain here (I talk about scenarios, but it works just as well for test data sets)<br />
<a href="http://excelusergroup.org/blogs/dermot/archive/2008/01/22/an-awesome-powertool-buried-in-excel.aspx" rel="nofollow">http://excelusergroup.org/blogs/dermot/archive/2008/01/22/an-awesome-powertool-buried-in-excel.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hui...</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/22/automated-formulas-testing/#comment-35737</link>
		<dc:creator>Hui...</dc:creator>
		<pubDate>Thu, 23 Oct 2008 00:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1904#comment-35737</guid>
		<description>&lt;p&gt;Hi Dick&lt;br&gt;
I&#039;ve been working in this field for quiet a while&lt;br&gt;
started off with what-if&#039;s, but the validation part is just as important&lt;/p&gt;
&lt;p&gt;I generally setup several Data Tables and use the built in  Data , Table command&lt;br&gt;
The Table Command only allows 2 inputs and monitors a single output.&lt;/p&gt;
&lt;p&gt;To get around this I wrote a 4D data table function which will take 8 inputs and monitor 4 outputs.&lt;br&gt;
&lt;a href=&quot;http://www.ianeva.info/Excel_Diversions/4D_Data_Table/4D_Data_Table.html&quot; rel=&quot;nofollow&quot;&gt;http://www.ianeva.info/Excel_Diversions/4D_Data_Table/4D_Data_Table.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Always interested in any feedback&lt;/p&gt;
&lt;p&gt;Back to Testing,&lt;br&gt;
My other preference is to use graphical validation, wherein I will setup a chart and either adjust input variables or change using a slider the output variables.&lt;br&gt;
This way several variables can be monitored, or comparison between variables ie No. Cars Produced, Total Cost of Production and Cost per Car.&lt;br&gt;
The benefit of this is that hundreds of output variables can be scanned very quickly just by moving the slider up/down changing the key output variable.&lt;/p&gt;
&lt;p&gt;Hui...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick<br />
I&#8217;ve been working in this field for quiet a while<br />
started off with what-if&#8217;s, but the validation part is just as important</p>
<p>I generally setup several Data Tables and use the built in  Data , Table command<br />
The Table Command only allows 2 inputs and monitors a single output.</p>
<p>To get around this I wrote a 4D data table function which will take 8 inputs and monitor 4 outputs.<br />
<a href="http://www.ianeva.info/Excel_Diversions/4D_Data_Table/4D_Data_Table.html" rel="nofollow">http://www.ianeva.info/Excel_Diversions/4D_Data_Table/4D_Data_Table.html</a></p>
<p>Always interested in any feedback</p>
<p>Back to Testing,<br />
My other preference is to use graphical validation, wherein I will setup a chart and either adjust input variables or change using a slider the output variables.<br />
This way several variables can be monitored, or comparison between variables ie No. Cars Produced, Total Cost of Production and Cost per Car.<br />
The benefit of this is that hundreds of output variables can be scanned very quickly just by moving the slider up/down changing the key output variable.</p>
<p>Hui&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

