<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Cell Counting 1: COUNTIF</title>
	<link>http://www.openofficetips.com/2004/09/08/cell-counting-1-countif/</link>
	<description>My contribution to the OOo community - including a blog with daily tips, templates and scripts. Enjoy.</description>
	<pubDate>Wed, 07 Jan 2009 11:25:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: LaoDe</title>
		<link>http://www.openofficetips.com/2004/09/08/cell-counting-1-countif/#comment-1820</link>
		<author>LaoDe</author>
		<pubDate>Sun, 09 Sep 2007 11:03:51 +0000</pubDate>
		<guid>http://www.openofficetips.com/2004/09/08/cell-counting-1-countif/#comment-1820</guid>
		<description>Hi,

I also would like to have a function, I would call 'sumif()', doing almost the same like countif, but sum another column in the same range as I looked up.

Sample:

column A contains names, B numbers:

A                B
----------------
Miller            5
Miller            8
Miller            3
Brown          6
Brown          7
Brown          4

so I'd like to do this:

sumif(A1:A6;"Miller";B) but in a way, that automatic sum will be taken from B1:B3 ?

any ideas ? thanks LaoDe</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I also would like to have a function, I would call &#8217;sumif()&#8217;, doing almost the same like countif, but sum another column in the same range as I looked up.</p>
<p>Sample:</p>
<p>column A contains names, B numbers:</p>
<p>A                B<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Miller            5<br />
Miller            8<br />
Miller            3<br />
Brown          6<br />
Brown          7<br />
Brown          4</p>
<p>so I&#8217;d like to do this:</p>
<p>sumif(A1:A6;&#8221;Miller&#8221;;B) but in a way, that automatic sum will be taken from B1:B3 ?</p>
<p>any ideas ? thanks LaoDe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LaoDe</title>
		<link>http://www.openofficetips.com/2004/09/08/cell-counting-1-countif/#comment-1818</link>
		<author>LaoDe</author>
		<pubDate>Sun, 09 Sep 2007 10:49:08 +0000</pubDate>
		<guid>http://www.openofficetips.com/2004/09/08/cell-counting-1-countif/#comment-1818</guid>
		<description>Hi,

countif shows only 0 in my sample !?

=COUNTIF(C4:C85;D93)

where  Col C is a list of names, where 1 name can apear more than 1 time. There are also empty cells.

I also tried with filling empry cells with 'A' but no change !

Only when I hard-code the name in the formular like this:

=COUNTIF(C4:C85;"gongyou")

I get a correct result !? I checked data-type, I format the lookup-colum D explicitly text, but nothing works !

what's wrong here ?

cheers LaoDe</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>countif shows only 0 in my sample !?</p>
<p>=COUNTIF(C4:C85;D93)</p>
<p>where  Col C is a list of names, where 1 name can apear more than 1 time. There are also empty cells.</p>
<p>I also tried with filling empry cells with &#8216;A&#8217; but no change !</p>
<p>Only when I hard-code the name in the formular like this:</p>
<p>=COUNTIF(C4:C85;&#8221;gongyou&#8221;)</p>
<p>I get a correct result !? I checked data-type, I format the lookup-colum D explicitly text, but nothing works !</p>
<p>what&#8217;s wrong here ?</p>
<p>cheers LaoDe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
