<?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: Worksheet matching to return row number</title>
	<atom:link href="http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/</link>
	<description>Automation and VBA code for Microsoft® Excel and Outlook</description>
	<lastBuildDate>Fri, 12 Mar 2010 02:46:56 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Bob</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1596</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Wed, 08 Apr 2009 15:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1596</guid>
		<description>Great - thanks Robert!  I will give that a try...</description>
		<content:encoded><![CDATA[<p>Great &#8211; thanks Robert!  I will give that a try&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1595</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 08 Apr 2009 02:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1595</guid>
		<description>Bob,

assumed you have your data in column A (A1 to A100) and you enter the value you are looking for in B1, you need this formula in cell C1:

=ROW(A1) -1 + MATCH(B1, A1:A100,0)

This returns the number of the row with the first match. If needed, you would have to add an error handling with an IF-clause for an input value that can&#039;t be found.</description>
		<content:encoded><![CDATA[<p>Bob,</p>
<p>assumed you have your data in column A (A1 to A100) and you enter the value you are looking for in B1, you need this formula in cell C1:</p>
<p>=ROW(A1) -1 + MATCH(B1, A1:A100,0)</p>
<p>This returns the number of the row with the first match. If needed, you would have to add an error handling with an IF-clause for an input value that can't be found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1594</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Tue, 07 Apr 2009 17:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1594</guid>
		<description>So, my problem is a bit different.  What if I have blocks of data and I want Excel to return the row number when it finds a new number?

Example...

Industry Value (Header Row)
2300
2300
2300
2300
5200
5200
5200

So, I would want it to return the row number for the first 2300 and the first 5200, and so on.

Thanks for ANY help on this!!</description>
		<content:encoded><![CDATA[<p>So, my problem is a bit different.  What if I have blocks of data and I want Excel to return the row number when it finds a new number?</p>
<p>Example&#8230;</p>
<p>Industry Value (Header Row)<br />
2300<br />
2300<br />
2300<br />
2300<br />
5200<br />
5200<br />
5200</p>
<p>So, I would want it to return the row number for the first 2300 and the first 5200, and so on.</p>
<p>Thanks for ANY help on this!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JP</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1593</link>
		<dc:creator>JP</dc:creator>
		<pubDate>Tue, 28 Oct 2008 00:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1593</guid>
		<description>Definitely. I like the &quot;*&quot; better because it matches any number of characters, but the &quot;?&quot; can also be used depending on your needs. I like that page, it is in the VBA search engine. There&#039;s also a post on mrexcel.com with some fuzzy match functions.

--JP</description>
		<content:encoded><![CDATA[<p>Definitely. I like the "*" better because it matches any number of characters, but the "?" can also be used depending on your needs. I like that page, it is in the VBA search engine. There's also a post on mrexcel.com with some fuzzy match functions.</p>
<p>&#8211;JP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1592</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Mon, 27 Oct 2008 20:36:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1592</guid>
		<description>JP,

nice tip.

A short amendment: You can use question marks in the lookup value as well. E.g. if the lookup value is &quot;??A*&quot; VLOOKUP will look for the first entry with an &quot;A&quot; as the third letter.

By the way: The trick works for HLOOKUP, MATCH, etc. as well.


Even more sophisticated, VBA-based fuzzy functions for lookups and matches are described here:

http://hairyears.livejournal.com/115867.html#VFuzzyLookup

Kind regards

Robert</description>
		<content:encoded><![CDATA[<p>JP,</p>
<p>nice tip.</p>
<p>A short amendment: You can use question marks in the lookup value as well. E.g. if the lookup value is "??A*" VLOOKUP will look for the first entry with an "A" as the third letter.</p>
<p>By the way: The trick works for HLOOKUP, MATCH, etc. as well.</p>
<p>Even more sophisticated, VBA-based fuzzy functions for lookups and matches are described here:</p>
<p><a href="http://hairyears.livejournal.com/115867.html#VFuzzyLookup" rel="nofollow">http://hairyears.livejournal.com/115867.html#VFuzzyLookup</a></p>
<p>Kind regards</p>
<p>Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Excel Links of the Week - What the heck happened to photographic fridays edition &#124; Pointy Haired Dilbert - Chandoo.org</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1591</link>
		<dc:creator>Excel Links of the Week - What the heck happened to photographic fridays edition &#124; Pointy Haired Dilbert - Chandoo.org</dc:creator>
		<pubDate>Mon, 27 Oct 2008 13:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1591</guid>
		<description>[...] Making vlookups go fuzzy [...]</description>
		<content:encoded><![CDATA[<p>[...] Making vlookups go fuzzy [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JP</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1590</link>
		<dc:creator>JP</dc:creator>
		<pubDate>Sat, 25 Oct 2008 15:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1590</guid>
		<description>No problem Poer, glad to help. Thanks for the link!

--JP</description>
		<content:encoded><![CDATA[<p>No problem Poer, glad to help. Thanks for the link!</p>
<p>&#8211;JP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: poer</title>
		<link>http://www.codeforexcelandoutlook.com/blog/2008/10/worksheet-matching-to-return-row-number/#comment-1589</link>
		<dc:creator>poer</dc:creator>
		<pubDate>Sat, 25 Oct 2008 05:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeforexcelandoutlook.com/blog/?p=126#comment-1589</guid>
		<description>nice works jp :)

thanks for coming by to my blog and correcting my mistake jp, and i just add your excel site to my blogroll as my compliment for you.

thanks again.</description>
		<content:encoded><![CDATA[<p>nice works jp <img src='http://www.codeforexcelandoutlook.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>thanks for coming by to my blog and correcting my mistake jp, and i just add your excel site to my blogroll as my compliment for you.</p>
<p>thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
