<?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: Conditional Formatting and Noncontiguous Ranges</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:03:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ben</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18375</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 20 Jan 2006 19:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18375</guid>
		<description>&lt;p&gt;This is great stuff...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is great stuff&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kanwaljit</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18189</link>
		<dc:creator>Kanwaljit</dc:creator>
		<pubDate>Thu, 12 Jan 2006 10:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18189</guid>
		<description>&lt;p&gt;Hi Dick,&lt;/p&gt;
&lt;p&gt;Try laurent laungre&#039;s &quot;Join Array&quot; function. That might be of help.&lt;/p&gt;
&lt;p&gt;Find the same at&lt;br&gt;
Laurent Longre  &lt;a href=&quot;http://xcell05.free.fr&quot; rel=&quot;nofollow&quot;&gt;http://xcell05.free.fr&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick,</p>
<p>Try laurent laungre&#8217;s &#8220;Join Array&#8221; function. That might be of help.</p>
<p>Find the same at<br />
Laurent Longre  <a href="http://xcell05.free.fr" rel="nofollow">http://xcell05.free.fr</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Waters</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18104</link>
		<dc:creator>Gary Waters</dc:creator>
		<pubDate>Sat, 07 Jan 2006 00:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18104</guid>
		<description>&lt;p&gt;Dick,&lt;/p&gt;
&lt;p&gt;  I noticed an error in my function, the formula should be:&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT((MOD(ROW(EntireGrid)-2,4)=0)*(MOD(COLUMN(EntireGrid)-2,5)=0)*(LEN(EntireGrid)&gt;0)*(EntireGrid=B1))&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick,</p>
<p>  I noticed an error in my function, the formula should be:</p>
<p>=SUMPRODUCT((MOD(ROW(EntireGrid)-2,4)=0)*(MOD(COLUMN(EntireGrid)-2,5)=0)*(LEN(EntireGrid)&gt;0)*(EntireGrid=B1))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AJP Excel Information - Su Doku puzzle &#124; Excel Blog</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18098</link>
		<dc:creator>AJP Excel Information - Su Doku puzzle &#124; Excel Blog</dc:creator>
		<pubDate>Fri, 06 Jan 2006 01:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18098</guid>
		<description>&lt;p&gt;[...] I also found a Sudoku puzzle solver at Office Online via Daily Dose of Excel. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] I also found a Sudoku puzzle solver at Office Online via Daily Dose of Excel. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary Waters</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18094</link>
		<dc:creator>Gary Waters</dc:creator>
		<pubDate>Thu, 05 Jan 2006 01:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18094</guid>
		<description>&lt;p&gt;Dick,&lt;/p&gt;
&lt;p&gt;   I don&#039;t know if this will help (I have not messed with Soduku yet), but to mimic countif(Grid1,B1), I used&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT((MOD(ROW(EntireGrid)-2,5)*MOD(COLUMN(EntireGrid)-2,4)=0)*(LEN(EntireGrid)&gt;0)*(EntireGrid=B1))&lt;/p&gt;
&lt;p&gt;since your Grid1 cells are evenly spaced along the rows and columns. EntireGrid is a defined name range =Sheet1!$B$2:$L$10 encompassing all the Grid1 cells.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick,</p>
<p>   I don&#8217;t know if this will help (I have not messed with Soduku yet), but to mimic countif(Grid1,B1), I used</p>
<p>=SUMPRODUCT((MOD(ROW(EntireGrid)-2,5)*MOD(COLUMN(EntireGrid)-2,4)=0)*(LEN(EntireGrid)&gt;0)*(EntireGrid=B1))</p>
<p>since your Grid1 cells are evenly spaced along the rows and columns. EntireGrid is a defined name range =Sheet1!$B$2:$L$10 encompassing all the Grid1 cells.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexJ</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18090</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Wed, 04 Jan 2006 16:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18090</guid>
		<description>&lt;p&gt;Dick,&lt;br&gt;
I don&#039;t have a solution to your contiguosity problem, but I have two ideas:&lt;br&gt;
1. Would some of the fancy SUMPRODUCT with double minus signs work on non-contiguous ranges?&lt;br&gt;
2. How about building a named formula with relative references as the input formula in the conditional format equation? (Haven&#039;t tried this myself).&lt;/p&gt;
&lt;p&gt;HNY to all the DDE blog folks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick,<br />
I don&#8217;t have a solution to your contiguosity problem, but I have two ideas:<br />
1. Would some of the fancy SUMPRODUCT with double minus signs work on non-contiguous ranges?<br />
2. How about building a named formula with relative references as the input formula in the conditional format equation? (Haven&#8217;t tried this myself).</p>
<p>HNY to all the DDE blog folks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Miller</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18088</link>
		<dc:creator>Andy Miller</dc:creator>
		<pubDate>Wed, 04 Jan 2006 15:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18088</guid>
		<description>&lt;p&gt;Wow. That is an interesting one.&lt;/p&gt;
&lt;p&gt;I haven&#039;t had much luck so far, but have found that you can use =INDEX(grid1,,,1) to iterate through the cells in the range (e.g. =INDEX(grid1,,,2), etc.). However, I haven&#039;t been able to combine it with anything useful so far.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Wow. That is an interesting one.</p>
<p>I haven&#8217;t had much luck so far, but have found that you can use =INDEX(grid1,,,1) to iterate through the cells in the range (e.g. =INDEX(grid1,,,2), etc.). However, I haven&#8217;t been able to combine it with anything useful so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18082</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Wed, 04 Jan 2006 06:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18082</guid>
		<description>&lt;p&gt;When you get that solved, try the 15×15 SuDoku puzzles?&lt;/p&gt;
&lt;p&gt;I too have been recently bit by the SuDoku bug and solved most of the puzzle reasonably rapidly (about 8 to 10 minutes each) in a little stocking stuffer.  So, I went to the internet to look for a &#039;free&#039; generator for puzzles and fount those 15×15.  I literally went crosseyed - Yikes!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>When you get that solved, try the 15×15 SuDoku puzzles?</p>
<p>I too have been recently bit by the SuDoku bug and solved most of the puzzle reasonably rapidly (about 8 to 10 minutes each) in a little stocking stuffer.  So, I went to the internet to look for a &#8216;free&#8217; generator for puzzles and fount those 15×15.  I literally went crosseyed &#8211; Yikes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RJS</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/01/03/conditional-formatting-and-noncontiguous-ranges/#comment-18081</link>
		<dc:creator>RJS</dc:creator>
		<pubDate>Wed, 04 Jan 2006 06:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1310#comment-18081</guid>
		<description>&lt;p&gt;You could write a user-defined function for just the counting of the non-contiguous range of cells that match the criteria:&lt;/p&gt;
&lt;p&gt;Function CountifNC(rInputRange As Range, sCriteria As Single) As Single&lt;/p&gt;
&lt;p&gt;Dim i As Integer&lt;br&gt;
Dim c As Range&lt;/p&gt;
&lt;p&gt;i = 0&lt;/p&gt;
&lt;p&gt;For Each c In rInputRange.Cells&lt;br&gt;
    If c.Value = sCriteria Then i = i + 1&lt;br&gt;
Next&lt;/p&gt;
&lt;p&gt;CountifNC = i&lt;/p&gt;
&lt;p&gt;End Function&lt;/p&gt;
&lt;p&gt;The formula for the conditional formatting of course becomes:&lt;/p&gt;
&lt;p&gt;=OR(ISNUMBER(B2),COUNTIF(Row1,B1)&gt;0,COUNTIF(Col1,B1)&gt;0,CountifNC(Grid1,B1))&lt;/p&gt;
&lt;p&gt;I could only get it to work if the user-defined function was the last argument passed in the OR function.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You could write a user-defined function for just the counting of the non-contiguous range of cells that match the criteria:</p>
<p>Function CountifNC(rInputRange As Range, sCriteria As Single) As Single</p>
<p>Dim i As Integer<br />
Dim c As Range</p>
<p>i = 0</p>
<p>For Each c In rInputRange.Cells<br />
    If c.Value = sCriteria Then i = i + 1<br />
Next</p>
<p>CountifNC = i</p>
<p>End Function</p>
<p>The formula for the conditional formatting of course becomes:</p>
<p>=OR(ISNUMBER(B2),COUNTIF(Row1,B1)&gt;0,COUNTIF(Col1,B1)&gt;0,CountifNC(Grid1,B1))</p>
<p>I could only get it to work if the user-defined function was the last argument passed in the OR function.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

