<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with conditionalformatting</title>
      <link>http://ask.metafilter.com/tags/conditionalformatting</link>
      <description>Questions tagged with 'conditionalformatting' at Ask MetaFilter.</description>
	  <pubDate>Fri, 01 Feb 2008 17:33:34 -0800</pubDate> <lastBuildDate>Fri, 01 Feb 2008 17:33:34 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>How can I conditionally format an entire row in Excel based upon the data in one of the columns in that row?</title>
	<link>http://ask.metafilter.com/82598/How%2Dcan%2DI%2Dconditionally%2Dformat%2Dan%2Dentire%2Drow%2Din%2DExcel%2Dbased%2Dupon%2Dthe%2Ddata%2Din%2Done%2Dof%2Dthe%2Dcolumns%2Din%2Dthat%2Drow</link>	
	<description>How can I conditionally format an entire row in Excel 2007 based upon the contents of a particular column in that row? Say row 1 column J, row 4 column J, and row 19 column J all contain &quot;Alice.&quot; I&apos;d like rows 1, 4, and 19 all to appear with a red background. Say row 2 column J, row 44 column J, and row 45 column J all contain &quot;Bob.&quot; I&apos;d like for rows 2, 44, and 45 all to appear with a blue background. And so forth.&lt;br&gt;
&lt;br&gt;
Basically, what I&apos;m asking is how to make a relative column reference in a formula. I remember doing precisely this using VBScript for Excel years ago, but for the life of me can&apos;t locate that old code. Anyway, something along the lines of the following psuedo-code entered into the Conditional Formatting dialog box:&lt;br&gt;
&lt;br&gt;
Apply &quot;Format 1&quot; according to the following formula [assuming (y,x) refers to (column y, row x)]:&lt;br&gt;
&lt;br&gt;
=IF((J,ROW())=&quot;Alice&quot;)&lt;br&gt;
&lt;br&gt;
It might also be nice to do this with a named range, so that if I apply the name &quot;First_Name&quot; to the entirety of row J, the formula is then a bit clearer:&lt;br&gt;
&lt;br&gt;
=IF((First_Name,ROW())=&quot;Alice&quot;)&lt;br&gt;
&lt;br&gt;
Total n00b0 question, I&apos;m sure, but I don&apos;t spend much time in Excel, and am would very much appreciate the help.  Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.82598</guid>
	<pubDate>Fri, 01 Feb 2008 17:33:34 -0800</pubDate>
	<category>2007</category>
	<category>conditional</category>
	<category>conditionalformatting</category>
	<category>excel</category>
	<category>excel2007</category>
	<category>format</category>
	<category>formatting</category>
	<category>microsoft</category>
	<category>row</category>
	<dc:creator>ChasFile</dc:creator>
	</item>
	
	</channel>
</rss>

