<?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: Using the MATCH Function for a Linear Search and a Binary Search</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-45103</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 06 Apr 2010 23:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-45103</guid>
		<description>&lt;p&gt;I have to say iframes are almost as annoying as pop up ads and pop under ads.  They mess with mouse focus and depending on the skill of the site author they often are large than the monitor so you are forced to repeatedly scroll two different places to see everything.  For my money (aka time) I just skip away from iframed content onto the next thing I am interested in reading - too much effort to read!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have to say iframes are almost as annoying as pop up ads and pop under ads.  They mess with mouse focus and depending on the skill of the site author they often are large than the monitor so you are forced to repeatedly scroll two different places to see everything.  For my money (aka time) I just skip away from iframed content onto the next thing I am interested in reading &#8211; too much effort to read!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44674</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Thu, 18 Mar 2010 23:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44674</guid>
		<description>&lt;p&gt;@Dick: thank you for clarifying my comment, this is exactly what I meant!&lt;br&gt;
@Tushar: sorry if my comment came out sounding aggressive, this wasn&#039;t my intent! I was just pointing out what I thought (and still think) is an issue with the publishing solution you were describing.&lt;br&gt;
Re: the discussion about how much to post on a feed, I understand (and respect) why some authors would just post an excerpt on the feed, if driving visitors to the actual website is of value to the author. That being said, if I can&#039;t see any part of the contents in my feed reader, which is the case with this post, you might as well kill the feed, because it serves no purpose at that point...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Dick: thank you for clarifying my comment, this is exactly what I meant!<br />
@Tushar: sorry if my comment came out sounding aggressive, this wasn&#8217;t my intent! I was just pointing out what I thought (and still think) is an issue with the publishing solution you were describing.<br />
Re: the discussion about how much to post on a feed, I understand (and respect) why some authors would just post an excerpt on the feed, if driving visitors to the actual website is of value to the author. That being said, if I can&#8217;t see any part of the contents in my feed reader, which is the case with this post, you might as well kill the feed, because it serves no purpose at that point&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JP</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44610</link>
		<dc:creator>JP</dc:creator>
		<pubDate>Tue, 16 Mar 2010 15:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44610</guid>
		<description>&lt;p&gt;@Jon -- My feeds have whole posts in them, but I could see how some sites (especially those under constant attack) would want to protect their content by showing only excerpts.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Jon &#8212; My feeds have whole posts in them, but I could see how some sites (especially those under constant attack) would want to protect their content by showing only excerpts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexJ</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44596</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Tue, 16 Mar 2010 04:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44596</guid>
		<description>&lt;p&gt;Thanks Charles - I reviewed your DecisionModels site - I think my sin was doing matches off-sheet. Now for my penance...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Charles &#8211; I reviewed your DecisionModels site &#8211; I think my sin was doing matches off-sheet. Now for my penance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44595</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 16 Mar 2010 03:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44595</guid>
		<description>&lt;p&gt;Jimmy -&lt;/p&gt;
&lt;p&gt;It&#039;s a balancing act between protecting your stuff (from scrapers) and sharing your stuff (with readers). I err on the side of the readers, and once in a while track down the scumbags that repost my stuff.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jimmy -</p>
<p>It&#8217;s a balancing act between protecting your stuff (from scrapers) and sharing your stuff (with readers). I err on the side of the readers, and once in a while track down the scumbags that repost my stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Williams</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44589</link>
		<dc:creator>Charles Williams</dc:creator>
		<pubDate>Mon, 15 Mar 2010 21:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44589</guid>
		<description>&lt;p&gt;Its possible to make a linear search UDF that is faster at recalculating on unsorted data, by storing the row number that was found in the first calculation and then checking the result for that row number on subsequent recalculations.&lt;/p&gt;
&lt;p&gt;This algorithm is only faster if the data to be found exists in the same place as it was at the last calculation.&lt;br&gt;
So for example if you add a row at the top of the data it won&#039;t be any faster, but if you change a single value in 10K rows of data it will mostly be a LOT faster.&lt;/p&gt;
&lt;p&gt;for most spreadsheets this works well in practice.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Its possible to make a linear search UDF that is faster at recalculating on unsorted data, by storing the row number that was found in the first calculation and then checking the result for that row number on subsequent recalculations.</p>
<p>This algorithm is only faster if the data to be found exists in the same place as it was at the last calculation.<br />
So for example if you add a row at the top of the data it won&#8217;t be any faster, but if you change a single value in 10K rows of data it will mostly be a LOT faster.</p>
<p>for most spreadsheets this works well in practice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JP</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44584</link>
		<dc:creator>JP</dc:creator>
		<pubDate>Mon, 15 Mar 2010 20:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44584</guid>
		<description>&lt;p&gt;Some blogs only publish excerpts in their RSS feeds to prevent scraping.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Some blogs only publish excerpts in their RSS feeds to prevent scraping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexJ</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44581</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Mon, 15 Mar 2010 20:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44581</guid>
		<description>&lt;p&gt;Tushar: Thanks. It appears that COUNTIF is no faster. I wonder if a UDF might perform better.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tushar: Thanks. It appears that COUNTIF is no faster. I wonder if a UDF might perform better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44570</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Mon, 15 Mar 2010 06:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44570</guid>
		<description>&lt;p&gt;Alex: If the performance of your Excel model is acceptable, I wouldn&#039;t change anything.  As far as COUNTIF goes, I suspect it is slower than MATCH in linear mode since it must check every value whereas MATCH can quit as soon as it finds one match.  But, you may want to verify the results for yourself.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Alex: If the performance of your Excel model is acceptable, I wouldn&#8217;t change anything.  As far as COUNTIF goes, I suspect it is slower than MATCH in linear mode since it must check every value whereas MATCH can quit as soon as it finds one match.  But, you may want to verify the results for yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexJ</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/03/10/using-the-match-function-for-a-linear-search-and-a-binary-search/#comment-44568</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Mon, 15 Mar 2010 04:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3673#comment-44568</guid>
		<description>&lt;p&gt;Tushar,&lt;br&gt;
I&#039;ve been using exact match to determine of a value exists in another data set (=NOT(ISERROR(MATCH(SearchValue,SearchData,0)))&lt;/p&gt;
&lt;p&gt;Based on your article, I should use another method. I don&#039;t think I should use the Binary seach since SearchData is not sorted which would give unreliable results. My next best idea is =(COUNTIF(SearchData,SearchValue)&gt;0). Is COUNTIF any faster than the LINEAR unsorted Search?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tushar,<br />
I&#8217;ve been using exact match to determine of a value exists in another data set (=NOT(ISERROR(MATCH(SearchValue,SearchData,0)))</p>
<p>Based on your article, I should use another method. I don&#8217;t think I should use the Binary seach since SearchData is not sorted which would give unreliable results. My next best idea is =(COUNTIF(SearchData,SearchValue)&gt;0). Is COUNTIF any faster than the LINEAR unsorted Search?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

