<?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: Formula Tips</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: teylyn</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-44552</link>
		<dc:creator>teylyn</dc:creator>
		<pubDate>Sun, 14 Mar 2010 09:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-44552</guid>
		<description>&lt;p&gt;&gt;&gt; Mike Alexander said: When I use VLOOKUPS, I replace FALSE with 0&lt;/p&gt;
&lt;p&gt;I prefer not to do that. Especially in long formulas, using the explicitly spelled out TRUE or FALSE in a VLOOKUP helps when auditing the formula. A &quot;TRUE&quot; or &quot;FALSE&quot; is much harder to overlook than a &quot;1? or &quot;0? (And I never EVER omit the last parameter, to make sure I WANT the TRUE and haven&#039;t just forgotten to put in the desired value!).&lt;br&gt;
The few extra key strokes don&#039;t matter, if they help with the maintainability of the formula. And with the &quot;intelligent&quot; parameter options in Excel 2007 and later, I just hit &quot;tab&quot; for TRUE or &quot;down arrow&quot; and &quot;tab&quot; for FALSE to fill the parameter, so for &quot;False&quot; it is just &quot;down arrow - tab&quot; - close banana. Done. One more keystroke than typing a zero. But lots of benefits when auditing and revisiting the formula after three months!!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&gt;&gt; Mike Alexander said: When I use VLOOKUPS, I replace FALSE with 0</p>
<p>I prefer not to do that. Especially in long formulas, using the explicitly spelled out TRUE or FALSE in a VLOOKUP helps when auditing the formula. A &#8220;TRUE&#8221; or &#8220;FALSE&#8221; is much harder to overlook than a &#8220;1? or &#8220;0? (And I never EVER omit the last parameter, to make sure I WANT the TRUE and haven&#8217;t just forgotten to put in the desired value!).<br />
The few extra key strokes don&#8217;t matter, if they help with the maintainability of the formula. And with the &#8220;intelligent&#8221; parameter options in Excel 2007 and later, I just hit &#8220;tab&#8221; for TRUE or &#8220;down arrow&#8221; and &#8220;tab&#8221; for FALSE to fill the parameter, so for &#8220;False&#8221; it is just &#8220;down arrow &#8211; tab&#8221; &#8211; close banana. Done. One more keystroke than typing a zero. But lots of benefits when auditing and revisiting the formula after three months!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Rowe</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-44157</link>
		<dc:creator>Charlie Rowe</dc:creator>
		<pubDate>Wed, 24 Feb 2010 20:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-44157</guid>
		<description>&lt;p&gt;@Sam-&lt;/p&gt;
&lt;p&gt;When you said:&lt;br&gt;
&quot;Every one knows a single match columns and mutiple index columns is faster than vlookup&lt;br&gt;
But a Single Match Column and 1 Array entered index per column is still faster.&quot; &lt;/p&gt;
&lt;p&gt;Could you elaborate on the &quot;Single Match Column and 1 Array entered index per column&quot;?  Maybe give an example.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Sam-</p>
<p>When you said:<br />
&#8220;Every one knows a single match columns and mutiple index columns is faster than vlookup<br />
But a Single Match Column and 1 Array entered index per column is still faster.&#8221; </p>
<p>Could you elaborate on the &#8220;Single Match Column and 1 Array entered index per column&#8221;?  Maybe give an example.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-44119</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 23 Feb 2010 13:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-44119</guid>
		<description>&lt;p&gt;This is good stuff. Thanks for sharing.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is good stuff. Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-44031</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Thu, 18 Feb 2010 17:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-44031</guid>
		<description>&lt;p&gt;(I still think Isna would be a beautiful name for a girl.)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>(I still think Isna would be a beautiful name for a girl.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Wasserman</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-44026</link>
		<dc:creator>David Wasserman</dc:creator>
		<pubDate>Thu, 18 Feb 2010 15:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-44026</guid>
		<description>&lt;p&gt;@DavidC&lt;br&gt;
Do you think Microsoft put it in for backward (in)compatibility?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@DavidC<br />
Do you think Microsoft put it in for backward (in)compatibility?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Excel Defunct Defaults » Bacon Bits:</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-44012</link>
		<dc:creator>Excel Defunct Defaults » Bacon Bits:</dc:creator>
		<pubDate>Wed, 17 Feb 2010 18:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-44012</guid>
		<description>&lt;p&gt;[...] week ago, Dick Kusleika posted an excellent article outlining some Formula Tips.A I&#039;ve already made plans to steal and use his ideas in my training.A A But my plagiaristic habits [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] week ago, Dick Kusleika posted an excellent article outlining some Formula Tips.A I&#8217;ve already made plans to steal and use his ideas in my training.A A But my plagiaristic habits [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DavidC</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-44000</link>
		<dc:creator>DavidC</dc:creator>
		<pubDate>Wed, 17 Feb 2010 10:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-44000</guid>
		<description>&lt;p&gt;About IFERROR:&lt;br&gt;
I discovered yesterday that when you use the IFERROR function, Excel2007 creates a named variable. It&#039;s name is  &quot;_xlfn.IFERROR&quot; and it is to be found in the ThisWorkbook.Names collection. Its visible property is false so it does not appear in the name manager. Moreover its RefersToRange creates an error (&quot;=#NAME?&quot;) so that VBA code used to manage names can run into unexpected errors...&lt;br&gt;
Does anyone know why this varibale is created by excel?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>About IFERROR:<br />
I discovered yesterday that when you use the IFERROR function, Excel2007 creates a named variable. It&#8217;s name is  &#8220;_xlfn.IFERROR&#8221; and it is to be found in the ThisWorkbook.Names collection. Its visible property is false so it does not appear in the name manager. Moreover its RefersToRange creates an error (&#8220;=#NAME?&#8221;) so that VBA code used to manage names can run into unexpected errors&#8230;<br />
Does anyone know why this varibale is created by excel?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AdamV</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-43974</link>
		<dc:creator>AdamV</dc:creator>
		<pubDate>Mon, 15 Feb 2010 17:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-43974</guid>
		<description>&lt;p&gt;My post had greater and less than signs in which got killed (fair enough). This bit should have read:&lt;br&gt;
...malformed lookup (eg VLOOKUP with column value LESS THAN 1 or GREATER THAN range width).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My post had greater and less than signs in which got killed (fair enough). This bit should have read:<br />
&#8230;malformed lookup (eg VLOOKUP with column value LESS THAN 1 or GREATER THAN range width).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AdamV</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-43973</link>
		<dc:creator>AdamV</dc:creator>
		<pubDate>Mon, 15 Feb 2010 17:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-43973</guid>
		<description>&lt;p&gt;@David Wasserman&lt;br&gt;
Unfortunately IFERROR(... does not return the same result as IF(ISNA(...&lt;/p&gt;
&lt;p&gt;IFERROR is whitewash which will hide any errors in your formula&#039;s results. ISNA is very specific. &lt;/p&gt;
&lt;p&gt;The important points for most lookup functions such as VLOOKUP (with 0 or FALSE parameter) and MATCH (with 0 for exact match) are that a #N/A error specifically means the data you were looking for is not in the lookup range. #REF or #NUM most likely means a malformed lookup (eg VLLOKUP with column range width).&lt;br&gt;
Others errors such as #DIV/0 or #NAME would be the result of bad data in your lookup range, in other words you rlookup returned a result from a cell which itself had an error in (of course this error could be a #N/A or #REF or whatever.&lt;/p&gt;
&lt;p&gt;ISNA allows you to much more precisely pin down errors which are the result of missing data in your list and either highlight these or suppress them as appropriate to your model. If I am asked to do some work on a big model that someone else has built I will sometimes do a find for =iferror(*,&quot;&quot;) to see if there are formulas which are sweeping all errors under the carpet.&lt;/p&gt;
&lt;p&gt;If only we had IFNA(...  - but Dick&#039;s method of only using the VLOOKUP once and refering the ISNA to that cell removes the calculation overhead of doing it twice, and the maintenance overhead of updating your function twice (when necessary), so it is not a biggie.&lt;/p&gt;
&lt;p&gt;Good response on the use of the True / approximate match. Other examples I use to show True doing something useful are finding the period (eg year/quarter) that a date falls in  and getting the discount band for an order depending on volume ordered (bot depending on sorted data, as with the exam grades).&lt;br&gt;
Using &quot;True&quot; is also the only situation where VLOOKUP(value, range, 1, True) makes sense - getting the value back that you just looked up? In these &quot;approximate match&quot; situations this would return the boundary value rather than the category it is in. Again, useful to find the date that the relevant period starts on, or the level at which a discount band starts (maybe the discount only applies to the quantity over that level, not the whole order).&lt;/p&gt;
&lt;p&gt;@Mark - you should also be aware that if your data is in sorted order and you use the &quot;True&quot; parameter to lookup something which is there (so no approximation needed) but is repeated, you get the last result found, whereas False returns the first result found. So if you had a product price list in which you never overwrite a price but add the new one with the date it is in effect from, True would give you the current price if the list is sorted in ascending order by product code then date price came into force.&lt;br&gt;
False would give you the original price unless you sort ascending by product code and desceding by date, but this is not very intuitive, most people expect data to have newest info at the bottom generally.&lt;/p&gt;
&lt;p&gt;@Sam - I agree, very often a single MATCH can be used for multiple INDEX functions (with or without arrays, depends on the user level) and is easier to maintain than many VLOOKUPS, far more efficient, and lends itself well to the ISNA function being directed only at the MATCH result, rather than for many separate lookup functions.&lt;/p&gt;
&lt;p&gt;@David Hager - explicit intersections, good. Explicit intersections using named ranges in place of cell refs, great. Implicit intersections on named ranges / whole columns, even greater (where appropriate). A formula that reads =Units * (SalePrice - Cost) is so easy to read, yet baffles so many users as to how this could possibly work on every row of a large list of data. (Arthur C Clarke and all that)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@David Wasserman<br />
Unfortunately IFERROR(&#8230; does not return the same result as IF(ISNA(&#8230;</p>
<p>IFERROR is whitewash which will hide any errors in your formula&#8217;s results. ISNA is very specific. </p>
<p>The important points for most lookup functions such as VLOOKUP (with 0 or FALSE parameter) and MATCH (with 0 for exact match) are that a #N/A error specifically means the data you were looking for is not in the lookup range. #REF or #NUM most likely means a malformed lookup (eg VLLOKUP with column range width).<br />
Others errors such as #DIV/0 or #NAME would be the result of bad data in your lookup range, in other words you rlookup returned a result from a cell which itself had an error in (of course this error could be a #N/A or #REF or whatever.</p>
<p>ISNA allows you to much more precisely pin down errors which are the result of missing data in your list and either highlight these or suppress them as appropriate to your model. If I am asked to do some work on a big model that someone else has built I will sometimes do a find for =iferror(*,&#8221;") to see if there are formulas which are sweeping all errors under the carpet.</p>
<p>If only we had IFNA(&#8230;  &#8211; but Dick&#8217;s method of only using the VLOOKUP once and refering the ISNA to that cell removes the calculation overhead of doing it twice, and the maintenance overhead of updating your function twice (when necessary), so it is not a biggie.</p>
<p>Good response on the use of the True / approximate match. Other examples I use to show True doing something useful are finding the period (eg year/quarter) that a date falls in  and getting the discount band for an order depending on volume ordered (bot depending on sorted data, as with the exam grades).<br />
Using &#8220;True&#8221; is also the only situation where VLOOKUP(value, range, 1, True) makes sense &#8211; getting the value back that you just looked up? In these &#8220;approximate match&#8221; situations this would return the boundary value rather than the category it is in. Again, useful to find the date that the relevant period starts on, or the level at which a discount band starts (maybe the discount only applies to the quantity over that level, not the whole order).</p>
<p>@Mark &#8211; you should also be aware that if your data is in sorted order and you use the &#8220;True&#8221; parameter to lookup something which is there (so no approximation needed) but is repeated, you get the last result found, whereas False returns the first result found. So if you had a product price list in which you never overwrite a price but add the new one with the date it is in effect from, True would give you the current price if the list is sorted in ascending order by product code then date price came into force.<br />
False would give you the original price unless you sort ascending by product code and desceding by date, but this is not very intuitive, most people expect data to have newest info at the bottom generally.</p>
<p>@Sam &#8211; I agree, very often a single MATCH can be used for multiple INDEX functions (with or without arrays, depends on the user level) and is easier to maintain than many VLOOKUPS, far more efficient, and lends itself well to the ISNA function being directed only at the MATCH result, rather than for many separate lookup functions.</p>
<p>@David Hager &#8211; explicit intersections, good. Explicit intersections using named ranges in place of cell refs, great. Implicit intersections on named ranges / whole columns, even greater (where appropriate). A formula that reads =Units * (SalePrice &#8211; Cost) is so easy to read, yet baffles so many users as to how this could possibly work on every row of a large list of data. (Arthur C Clarke and all that)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominik</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/10/formula-tips/#comment-43962</link>
		<dc:creator>Dominik</dc:creator>
		<pubDate>Mon, 15 Feb 2010 09:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3563#comment-43962</guid>
		<description>&lt;p&gt;Excellent post!&lt;/p&gt;
&lt;p&gt;The long formula used here brought up an old wish I have:&lt;br&gt;
A formula editor with syntax highlighting, identing, intellisense and a debugger. Similar to the VBA IDE. This would make the live of a Excel maniac much easier.&lt;/p&gt;
&lt;p&gt;Dominik&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Excellent post!</p>
<p>The long formula used here brought up an old wish I have:<br />
A formula editor with syntax highlighting, identing, intellisense and a debugger. Similar to the VBA IDE. This would make the live of a Excel maniac much easier.</p>
<p>Dominik</p>
]]></content:encoded>
	</item>
</channel>
</rss>

