<?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: Unique Fruit</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: David Hager</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-43631</link>
		<dc:creator>David Hager</dc:creator>
		<pubDate>Sun, 31 Jan 2010 22:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-43631</guid>
		<description>&lt;p&gt;Kanwaljit says:&lt;/p&gt;
&lt;p&gt;Do you maintain any website ? Would love to visit.&lt;/p&gt;
&lt;p&gt;    Not at this time. I will have some free time later this year, and if I come up with anything new and interesting, I will post it in this blog.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Kanwaljit says:</p>
<p>Do you maintain any website ? Would love to visit.</p>
<p>    Not at this time. I will have some free time later this year, and if I come up with anything new and interesting, I will post it in this blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kanwaljit</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-43605</link>
		<dc:creator>Kanwaljit</dc:creator>
		<pubDate>Sat, 30 Jan 2010 10:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-43605</guid>
		<description>&lt;p&gt;Hi David Hager,&lt;/p&gt;
&lt;p&gt;A big fan of yours articles ! Thanks a lot !&lt;br&gt;
Do you maintain any website ? Would love to visit.&lt;/p&gt;
&lt;p&gt;Warm Regards&lt;br&gt;
Kanwaljit&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi David Hager,</p>
<p>A big fan of yours articles ! Thanks a lot !<br />
Do you maintain any website ? Would love to visit.</p>
<p>Warm Regards<br />
Kanwaljit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RFNB</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-43581</link>
		<dc:creator>RFNB</dc:creator>
		<pubDate>Fri, 29 Jan 2010 14:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-43581</guid>
		<description>&lt;p&gt;{=SUM(IFERROR((B2:B13=1)/COUNTIFS($B$2:$B$13,1,$A$2:$A$13,A2:A13),0))}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>{=SUM(IFERROR((B2:B13=1)/COUNTIFS($B$2:$B$13,1,$A$2:$A$13,A2:A13),0))}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Yundt</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-36124</link>
		<dc:creator>Brad Yundt</dc:creator>
		<pubDate>Tue, 18 Nov 2008 06:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-36124</guid>
		<description>&lt;p&gt;Mam,&lt;br&gt;
You need to array-enter formulas like that:&lt;br&gt;
1) Select the cell with the formula&lt;br&gt;
2) Click in the formula bar&lt;br&gt;
3) Hold the Control and Shift keys down&lt;br&gt;
4) Hit the Enter key, then release it&lt;br&gt;
5) Release the other two keys (Control and Shift)&lt;/p&gt;
&lt;p&gt;Excel should respond by adding curly braces surrounding your formula. You don&#039;t type theseExcel must add them for you.&lt;br&gt;
{=SUM((A2:A13=&quot;Apple&quot;)*(B2:B13=1))}&lt;/p&gt;
&lt;p&gt;If you do not array-enter the formula, then the result will be a test just of cells A2 and B2. That&#039;s why you should have gotten 1 instead of 3 (when testing Dick&#039;s sample data).&lt;/p&gt;
&lt;p&gt;Incidently, the same syntax can be used with the SUMPRODUCT functionand you don&#039;t need to array-enter the formula:&lt;br&gt;
=SUMPRODUCT((A2:A13=&quot;Apple&quot;)*(B2:B13=1))&lt;/p&gt;
&lt;p&gt;Brad&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mam,<br />
You need to array-enter formulas like that:<br />
1) Select the cell with the formula<br />
2) Click in the formula bar<br />
3) Hold the Control and Shift keys down<br />
4) Hit the Enter key, then release it<br />
5) Release the other two keys (Control and Shift)</p>
<p>Excel should respond by adding curly braces surrounding your formula. You don&#8217;t type theseExcel must add them for you.<br />
{=SUM((A2:A13=&#8221;Apple&#8221;)*(B2:B13=1))}</p>
<p>If you do not array-enter the formula, then the result will be a test just of cells A2 and B2. That&#8217;s why you should have gotten 1 instead of 3 (when testing Dick&#8217;s sample data).</p>
<p>Incidently, the same syntax can be used with the SUMPRODUCT functionand you don&#8217;t need to array-enter the formula:<br />
=SUMPRODUCT((A2:A13=&#8221;Apple&#8221;)*(B2:B13=1))</p>
<p>Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mam</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-36111</link>
		<dc:creator>Mam</dc:creator>
		<pubDate>Mon, 17 Nov 2008 09:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-36111</guid>
		<description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Taking the same example, I have to calculate number of rows where Column A has Apple and Column B has value 1. I am new to VBA scripts in Excel and I have dumped the following formula in cell B5 in the excel sheet:&lt;/p&gt;
&lt;p&gt;=SUM((A2:A13=&quot;Apple&quot;)*(B2:B13=1))&lt;/p&gt;
&lt;p&gt;The above formula is not working; the calculation/output of this formula is &quot;0? and not &quot;3? as shown in the Figure.&lt;/p&gt;
&lt;p&gt;Simple steps to get the value &quot;3? by using the above formula will help me a lot!!!!&lt;/p&gt;
&lt;p&gt;Hope to see an early response!&lt;br&gt;
Cheers Mam.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>Taking the same example, I have to calculate number of rows where Column A has Apple and Column B has value 1. I am new to VBA scripts in Excel and I have dumped the following formula in cell B5 in the excel sheet:</p>
<p>=SUM((A2:A13=&#8221;Apple&#8221;)*(B2:B13=1))</p>
<p>The above formula is not working; the calculation/output of this formula is &#8220;0? and not &#8220;3? as shown in the Figure.</p>
<p>Simple steps to get the value &#8220;3? by using the above formula will help me a lot!!!!</p>
<p>Hope to see an early response!<br />
Cheers Mam.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hager</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-33691</link>
		<dc:creator>David Hager</dc:creator>
		<pubDate>Fri, 18 Jul 2008 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-33691</guid>
		<description>&lt;p&gt;Use:&lt;/p&gt;
&lt;p&gt;=SUM((MATCH(A1:A12,A1:A12,0)=ROW(A1:A12))*(B1:B12=1))&lt;/p&gt;
&lt;p&gt;if in A1:A12. You have to adjust the ROW matrix back to 1 for other ranges.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Use:</p>
<p>=SUM((MATCH(A1:A12,A1:A12,0)=ROW(A1:A12))*(B1:B12=1))</p>
<p>if in A1:A12. You have to adjust the ROW matrix back to 1 for other ranges.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MASH</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-33668</link>
		<dc:creator>MASH</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-33668</guid>
		<description>&lt;p&gt;if this is the source file;&lt;br&gt;
apple   1&lt;br&gt;
apple   2&lt;br&gt;
apple   3&lt;br&gt;
banana  2&lt;br&gt;
banana  1&lt;br&gt;
orange  1&lt;br&gt;
orange  3&lt;/p&gt;
&lt;p&gt;than using formula in excel,i want the result;&lt;/p&gt;
&lt;p&gt;apple  1 2 3&lt;br&gt;
banana 1 2&lt;br&gt;
orange 1 3&lt;/p&gt;
&lt;p&gt;someone help please...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>if this is the source file;<br />
apple   1<br />
apple   2<br />
apple   3<br />
banana  2<br />
banana  1<br />
orange  1<br />
orange  3</p>
<p>than using formula in excel,i want the result;</p>
<p>apple  1 2 3<br />
banana 1 2<br />
orange 1 3</p>
<p>someone help please&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-28135</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 19 Oct 2007 17:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-28135</guid>
		<description>&lt;p&gt;Hi Dorothy -&lt;/p&gt;
&lt;p&gt;Couldn&#039;t be much simpler.  Glad to share.&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt; IsVisible(Cell &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; Range) &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Boolean&lt;/span&gt;&lt;br&gt;
&#160; &#160;Application.Volatile&lt;br&gt;
&#160; &#160;IsVisible = &lt;span class=&quot;kw1&quot;&gt;Not&lt;/span&gt; Cell.EntireRow.Hidden&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;...Michael&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dorothy -</p>
<p>Couldn&#8217;t be much simpler.  Glad to share.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Function</span> IsVisible(Cell <span class="kw1">As</span> Range) <span class="kw1">As</span> <span class="kw1">Boolean</span><br />
&nbsp; &nbsp;Application.Volatile<br />
&nbsp; &nbsp;IsVisible = <span class="kw1">Not</span> Cell.EntireRow.Hidden<br />
<span class="kw1">End</span> <span class="kw1">Function</span></div>
</div>
<p>&#8230;Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dorothy</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-28105</link>
		<dc:creator>Dorothy</dc:creator>
		<pubDate>Wed, 17 Oct 2007 15:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-28105</guid>
		<description>&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;Will you please share an example of the UDF you wrote that returns TRUE() if the row is visible? &lt;/p&gt;
&lt;p&gt;Thanks, Dorothy&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>Will you please share an example of the UDF you wrote that returns TRUE() if the row is visible? </p>
<p>Thanks, Dorothy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/07/10/unique-fruit/#comment-26435</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 14 Aug 2007 14:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1699#comment-26435</guid>
		<description>&lt;p&gt;Hello All -&lt;/p&gt;
&lt;p&gt;Is it possible to determine the number of unique items in a filtered list?  I wrote a UDF that returns TRUE() if the row is visible, but I can&#039;t figure out the array to multiply it by, and I didn&#039;t get anywhere using SUBTOTAL().&lt;/p&gt;
&lt;p&gt;For instance, in Dick&#039;s above example, if we filter on &quot;Apple&quot; I would like to know that of the three 1&#039;s and two 2&#039;s in Column B, there are just 2 unique values in Column B.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;
Michael&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello All -</p>
<p>Is it possible to determine the number of unique items in a filtered list?  I wrote a UDF that returns TRUE() if the row is visible, but I can&#8217;t figure out the array to multiply it by, and I didn&#8217;t get anywhere using SUBTOTAL().</p>
<p>For instance, in Dick&#8217;s above example, if we filter on &#8220;Apple&#8221; I would like to know that of the three 1&#8242;s and two 2&#8242;s in Column B, there are just 2 unique values in Column B.</p>
<p>Thanks,<br />
Michael</p>
]]></content:encoded>
	</item>
</channel>
</rss>

