<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rossedwards.net &#187; Excel</title>
	<atom:link href="http://www.rossedwards.net/tag/excel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rossedwards.net</link>
	<description>providing useless information since 1999</description>
	<lastBuildDate>Wed, 14 Jul 2010 12:31:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Matrix</title>
		<link>http://www.rossedwards.net/2008/05/88/</link>
		<comments>http://www.rossedwards.net/2008/05/88/#comments</comments>
		<pubDate>Fri, 09 May 2008 10:31:47 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.rossedwards.net/?p=88</guid>
		<description><![CDATA[A while back, one of the guys at work came to me with an Excel problem&#8230; He had a matrix of data, and wanted a formula that would, given row and column criteria, return the appropriate value: I initially thought about combining lookups with IF statements but it got *really* messy. A little digging revealed [...]]]></description>
			<content:encoded><![CDATA[<p>A while back, one of the guys at work came to me with an Excel problem&#8230; He had a matrix of data, and wanted a formula that would, given row and column criteria, return the appropriate value:</p>
<p><a href='http://www.rossedwards.net/wp-content/uploads/2008/05/matrix.gif'><img src="http://www.rossedwards.net/wp-content/uploads/2008/05/matrix-300x88.gif" alt="" title="matrix" width="300" height="88" class="alignnone size-medium wp-image-90" /></a></p>
<p>I initially thought about combining <a href="http://office.microsoft.com/en-us/excel/HP052093351033.aspx?pid=CH062528281033">lookups</a> with <a href="http://office.microsoft.com/en-us/excel/HP052091181033.aspx?pid=CH062528271033">IF statements</a> but it got *really* messy.  A little digging revealed a pretty handy solution, which I thought I&#8217;d share with you all&#8230;</p>
<p>The answer lay in combining the MATCH and INDEX functions* &#8211; the former (used twice) to locate both the Role and Rating in the appropriate arrays, then the latter to locate the corresponding intersection:</p>
<p><code>MATCH(A18,$A$2:$A$8,0)</code>  searches the range A2:A8 for the role held in A18<br />
<code>MATCH(B18,$B$1:$F$1,0)</code> searches the range B1:F1 for the rating held in B18<br />
<code>INDEX($A$1:$F$8,(MATCH(A18,$A$2:$A$8,0)+1),(MATCH(B18,$B$1:$F$1,0)+1))</code> locates the intersection.  Note the &#8220;+1&#8243; that deals with the header rows/columns in the INDEX array (A1:F8).</p>
<p><a href='http://www.rossedwards.net/wp-content/uploads/2008/05/matrix_formula1.gif'><img src="http://www.rossedwards.net/wp-content/uploads/2008/05/matrix_formula1-150x105.gif" alt="" title="matrix_formula1" width="150" height="105" class="alignnone size-thumbnail wp-image-91" /></a></p>
<p>This works, but will return a <code>#N/A!</code> error if the referring cells are empty.  Some people don&#8217;t mind this, but I prefer to clean things up a bit by using an additional IF statement and the ISNA function; effectively stating &#8220;If the index/match formula returns a #N/A! error, display a blank. Else, display the formula results&#8221;.</p>
<p>Now, this formula is a little unwieldy, so you can download the sample Excel file <a href='http://www.rossedwards.net/wp-content/uploads/2008/05/excel_-_matrix_lookup_formula.xls'>here</a>.</p>
<p>Hope you find it useful!</p>
<p>*<a href="http://support.microsoft.com/kb/214142">http://support.microsoft.com/kb/214142</a></p>
 ]]></content:encoded>
			<wfw:commentRss>http://www.rossedwards.net/2008/05/88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blowin&#8217; my own trumpet&#8230;</title>
		<link>http://www.rossedwards.net/2007/01/43/</link>
		<comments>http://www.rossedwards.net/2007/01/43/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 17:08:30 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MOS]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.rossedwards.net/2007/01/43/</guid>
		<description><![CDATA[Today, I passed my Microsoft Excel 2003 Expert certification; part of the MOS suite of exams. And pretty chuffed I am too at getting 93.8%, too. This is the first real step on my road to justification&#8230; I&#8217;ve been training MS products for years but have only now started to get the appropriate piece of [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I passed my Microsoft Excel 2003 Expert certification; part of the <acronym title="Microsoft Office Specialist">MOS </acronym>suite of exams. And pretty chuffed I am too at getting 93.8%, too.</p>
<p>This is the first real step on my road to justification&#8230; I&#8217;ve been training MS products for years but have only now started to get the appropriate piece of paper that says I know what I&#8217;m talking about!</p>
<p>Since changing jobs a month ago, I&#8217;ve really developed a renewed enthusiasm for training again &#8211; can&#8217;t wait to get the other exams under my belt so I can legitimately be called &#8220;Microsoft Office Specialist Master Instructor&#8221;.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://www.rossedwards.net/2007/01/43/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

