<?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: Irregular Color Banding</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/</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: milosh</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-25315</link>
		<dc:creator>milosh</dc:creator>
		<pubDate>Wed, 04 Jul 2007 09:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-25315</guid>
		<description>&lt;p&gt;To Jason B -- about formating every second row with different colors:&lt;/p&gt;
&lt;p&gt;It would be easier to use just MOD(ROW(),2)=1 instead, which would give you exactly the same result without having reference to your area. If you would like, then you can even use AND(A1?&quot;,MOD(ROW(),2)=1)=TRUE in column A to have formating only in the cells, that have some content inside -- so the formating automatically expands, once you are filling your table :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>To Jason B &#8212; about formating every second row with different colors:</p>
<p>It would be easier to use just MOD(ROW(),2)=1 instead, which would give you exactly the same result without having reference to your area. If you would like, then you can even use AND(A1?&#8221;,MOD(ROW(),2)=1)=TRUE in column A to have formating only in the cells, that have some content inside &#8212; so the formating automatically expands, once you are filling your table <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maarten Molenaar</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-21817</link>
		<dc:creator>Maarten Molenaar</dc:creator>
		<pubDate>Mon, 11 Dec 2006 15:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-21817</guid>
		<description>&lt;p&gt;The formula in my last post is not displayed correctly, i don&#039;t know why. It reads like =IF(A2 NOT EQUALS A1;IF(A1=1;1;0);B1). The NOT EQUALS signs where not displayed!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The formula in my last post is not displayed correctly, i don&#8217;t know why. It reads like =IF(A2 NOT EQUALS A1;IF(A1=1;1;0);B1). The NOT EQUALS signs where not displayed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maarten Molenaar</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-21816</link>
		<dc:creator>Maarten Molenaar</dc:creator>
		<pubDate>Mon, 11 Dec 2006 15:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-21816</guid>
		<description>&lt;p&gt;I see a lot of difficult statements, just think simple.&lt;/p&gt;
&lt;p&gt;I have 2 columns:&lt;/p&gt;
&lt;p&gt;a       b&lt;br&gt;
      &lt;br&gt;
one      1&lt;br&gt;
one      1&lt;br&gt;
one      1&lt;br&gt;
two      0&lt;br&gt;
two      0&lt;br&gt;
two      0&lt;br&gt;
three    1&lt;br&gt;
three    1&lt;br&gt;
four     0&lt;/p&gt;
&lt;p&gt;First I sort column A. Then I insert my temp-column, B. In the first cel of B i put the value &#039;1&#039;. Then in B2 i put the formula: =ALS(A2A1;ALS(A1=1;1;0);B1). I copy the formula to the bottom. Then I select the complete A column. I use conditional formatting with the following formula: =$B1=1. If this is true I highlight the cel.&lt;br&gt;
Simpel, and works perfect!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I see a lot of difficult statements, just think simple.</p>
<p>I have 2 columns:</p>
<p>a       b<br />
      <br />
one      1<br />
one      1<br />
one      1<br />
two      0<br />
two      0<br />
two      0<br />
three    1<br />
three    1<br />
four     0</p>
<p>First I sort column A. Then I insert my temp-column, B. In the first cel of B i put the value &#8217;1&#8242;. Then in B2 i put the formula: =ALS(A2A1;ALS(A1=1;1;0);B1). I copy the formula to the bottom. Then I select the complete A column. I use conditional formatting with the following formula: =$B1=1. If this is true I highlight the cel.<br />
Simpel, and works perfect!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason B</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-20086</link>
		<dc:creator>Jason B</dc:creator>
		<pubDate>Fri, 07 Jul 2006 15:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-20086</guid>
		<description>&lt;p&gt;A bit off topic, but I had a need to have every other row&#039;s background shaded with color (and the others white).  It is similar to this post.  I used it to make a large spreadsheet easier to read.  At first I tried copying two rows by right-clicking the fill handle and choosing &quot;fill formats only&quot;.  However any time I hid, deleted, or inserted a row, I had to re-do.  So I used this conditional format: =MOD(Subtotal(103, $A$2:$A2)+1,2)  where my region starts with A2.  Note that column A can&#039;t be blank.&lt;/p&gt;
&lt;p&gt;This maintains the formatting with hides, unhides, and deletions.  If you simply copy an existing row and Insert Copied Cells, the formatting is maintained.  &lt;/p&gt;
&lt;p&gt;Hopefully this will help someone, Enjoy!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A bit off topic, but I had a need to have every other row&#8217;s background shaded with color (and the others white).  It is similar to this post.  I used it to make a large spreadsheet easier to read.  At first I tried copying two rows by right-clicking the fill handle and choosing &#8220;fill formats only&#8221;.  However any time I hid, deleted, or inserted a row, I had to re-do.  So I used this conditional format: =MOD(Subtotal(103, $A$2:$A2)+1,2)  where my region starts with A2.  Note that column A can&#8217;t be blank.</p>
<p>This maintains the formatting with hides, unhides, and deletions.  If you simply copy an existing row and Insert Copied Cells, the formatting is maintained.  </p>
<p>Hopefully this will help someone, Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Reynolds</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-20044</link>
		<dc:creator>Andrew Reynolds</dc:creator>
		<pubDate>Mon, 03 Jul 2006 10:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-20044</guid>
		<description>&lt;p&gt;If you are allowed to refer to another cell, i.e. apply conditional formatting if other cell =TRUE then this works: =OR(AND(B2=TRUE,A3=A2),AND(B2=FALSE,A3 &#039;not equal to&#039; A2)). &#039;B2&#039; is one cell above the &#039;test list&#039;; the &#039;test cell&#039; copied down, in this case is in column B.&lt;br&gt;
Personally I have an irrational dislike to the MOD function :)&lt;br&gt;
Andrew&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If you are allowed to refer to another cell, i.e. apply conditional formatting if other cell =TRUE then this works: =OR(AND(B2=TRUE,A3=A2),AND(B2=FALSE,A3 &#8216;not equal to&#8217; A2)). &#8216;B2&#8242; is one cell above the &#8216;test list&#8217;; the &#8216;test cell&#8217; copied down, in this case is in column B.<br />
Personally I have an irrational dislike to the MOD function <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Morin</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-20043</link>
		<dc:creator>Jason Morin</dc:creator>
		<pubDate>Mon, 03 Jul 2006 02:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-20043</guid>
		<description>&lt;p&gt;Sorry, that should be NOT EQUAL between A4 and A3 and G3 NOT EQUAL 1, not G31.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry, that should be NOT EQUAL between A4 and A3 and G3 NOT EQUAL 1, not G31.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Morin</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-20042</link>
		<dc:creator>Jason Morin</dc:creator>
		<pubDate>Mon, 03 Jul 2006 02:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-20042</guid>
		<description>&lt;p&gt;I did this a while ago. This requires more steps but seems to require less processing power.&lt;/p&gt;
&lt;p&gt;1. Put a 1 in G3.&lt;br&gt;
2. In G4 insert the formula below and copy down:&lt;br&gt;
  =(A4A3)*(G31)+(A4=A3)*G3&lt;br&gt;
3. Highlight row 4 and under cond. formatting use:&lt;br&gt;
  =$G4=0&lt;br&gt;
4. Copy the cond. formatting down.&lt;/p&gt;
&lt;p&gt;Jason&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I did this a while ago. This requires more steps but seems to require less processing power.</p>
<p>1. Put a 1 in G3.<br />
2. In G4 insert the formula below and copy down:<br />
  =(A4A3)*(G31)+(A4=A3)*G3<br />
3. Highlight row 4 and under cond. formatting use:<br />
  =$G4=0<br />
4. Copy the cond. formatting down.</p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beate Schmitz</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-20041</link>
		<dc:creator>Beate Schmitz</dc:creator>
		<pubDate>Sun, 02 Jul 2006 00:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-20041</guid>
		<description>&lt;p&gt;Sorry,&lt;/p&gt;
&lt;p&gt;the 2nd formula is scrambled. Another trial, otherwise pls refer to link:&lt;/p&gt;
&lt;p&gt;=MOD(SUM(N($A$1:$A2$A$2:$A3)),2)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt;
Beate&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry,</p>
<p>the 2nd formula is scrambled. Another trial, otherwise pls refer to link:</p>
<p>=MOD(SUM(N($A$1:$A2$A$2:$A3)),2)</p>
<p>Regards,<br />
Beate</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beate Schmitz</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-20040</link>
		<dc:creator>Beate Schmitz</dc:creator>
		<pubDate>Sat, 01 Jul 2006 22:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-20040</guid>
		<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;try for cell A3:&lt;br&gt;
=MOD(SUM(1/COUNTIF($A$3:$A3,$A$3:$A3)),2)&gt;0.5&lt;/p&gt;
&lt;p&gt;Example in German language but with demonstration:&lt;br&gt;
&lt;a href=&quot;http://www.online-excel.de/excel/singsel.php?f=75#s29&quot; rel=&quot;nofollow&quot;&gt;http://www.online-excel.de/excel/singsel.php?f=75#s29&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-------------------&lt;br&gt;
Or this:&lt;br&gt;
=MOD(SUM(N($A$1:$A2$A$2:$A3)),2)&lt;/p&gt;
&lt;p&gt;Example in German language but with demonstration:&lt;br&gt;
&lt;a href=&quot;http://www.excelformeln.de/tips.html?welcher=70&quot; rel=&quot;nofollow&quot;&gt;http://www.excelformeln.de/tips.html?welcher=70&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Both are for sorted lists.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt;
Beate&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>try for cell A3:<br />
=MOD(SUM(1/COUNTIF($A$3:$A3,$A$3:$A3)),2)&gt;0.5</p>
<p>Example in German language but with demonstration:<br />
<a href="http://www.online-excel.de/excel/singsel.php?f=75#s29" rel="nofollow">http://www.online-excel.de/excel/singsel.php?f=75#s29</a></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Or this:<br />
=MOD(SUM(N($A$1:$A2$A$2:$A3)),2)</p>
<p>Example in German language but with demonstration:<br />
<a href="http://www.excelformeln.de/tips.html?welcher=70" rel="nofollow">http://www.excelformeln.de/tips.html?welcher=70</a></p>
<p>Both are for sorted lists.</p>
<p>Regards,<br />
Beate</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/06/30/irregular-color-banding/#comment-20039</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Sat, 01 Jul 2006 12:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1437#comment-20039</guid>
		<description>&lt;p&gt;One can solve the problem of moving the range with the following change to the names:&lt;/p&gt;
&lt;p&gt;FirstCell=Sheet1!$H$5&lt;br&gt;
DataRng=OFFSET(FirstCell,0,0,COUNTA(INDEX(Sheet1!$1:$65536,,COLUMN(FirstCell))),1)&lt;/p&gt;
&lt;p&gt;Also -- and this in no way is meant to take away from Dick&#039;s really creative solution -- if one uses an extra column the process can be significantly simplified.  Suppose the data are in H starting with H2.  Then, in I2 enter the formula =IF(H2=H1,I1,MOD(I1+1,2))  Now, the c.f. for H2 would be =$I2=1&lt;/p&gt;
&lt;p&gt;The I2 formula is one I have used on many occasions.  It -- or a variant -- is a simple way to identify each change in values in a column.&lt;/p&gt;
&lt;p&gt;And, 11AM CDT is noon EDT, not 10AM EDT.  We should try again using the time in your time zone.  I&#039;ll adjust to whatever zone I am in that day. {grin}  I&#039;ll use your gmail account for a follow up message.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>One can solve the problem of moving the range with the following change to the names:</p>
<p>FirstCell=Sheet1!$H$5<br />
DataRng=OFFSET(FirstCell,0,0,COUNTA(INDEX(Sheet1!$1:$65536,,COLUMN(FirstCell))),1)</p>
<p>Also &#8212; and this in no way is meant to take away from Dick&#8217;s really creative solution &#8212; if one uses an extra column the process can be significantly simplified.  Suppose the data are in H starting with H2.  Then, in I2 enter the formula =IF(H2=H1,I1,MOD(I1+1,2))  Now, the c.f. for H2 would be =$I2=1</p>
<p>The I2 formula is one I have used on many occasions.  It &#8212; or a variant &#8212; is a simple way to identify each change in values in a column.</p>
<p>And, 11AM CDT is noon EDT, not 10AM EDT.  We should try again using the time in your time zone.  I&#8217;ll adjust to whatever zone I am in that day. {grin}  I&#8217;ll use your gmail account for a follow up message.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

