Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Flutie99
 
Posts: n/a
Default countif question using 2 conditions

i need to count the number of companies that are selected (using "1" or "0"
in one column) and have posiitve growth rates (in another column). is there
a countif function that lets me do this?
  #2   Report Post  
 
Posts: n/a
Default

Hi Flutie

One option is to use SUMPRODUCT. Have a look here for some examples:
http://www.contextures.com/xlFunctio...tml#SumProduct

Andy.

"Flutie99" wrote in message
...
i need to count the number of companies that are selected (using "1" or "0"
in one column) and have posiitve growth rates (in another column). is
there
a countif function that lets me do this?



  #3   Report Post  
Flutie99
 
Posts: n/a
Default

Perhaps I should be more specific:

Sheet 1 has:
Co. A 1
Co. B 0
Co. C 1

Sheet 2 has:
Co. A -1%
Co. B 2%
Co. C 5%

I need to count the number of companies with 1 and positive growth. In the
example, the answer would be 1 since co. c is the only that meets the
criteria.


"Andy" wrote:

Hi Flutie

One option is to use SUMPRODUCT. Have a look here for some examples:
http://www.contextures.com/xlFunctio...tml#SumProduct

Andy.

"Flutie99" wrote in message
...
i need to count the number of companies that are selected (using "1" or "0"
in one column) and have posiitve growth rates (in another column). is
there
a countif function that lets me do this?




  #4   Report Post  
Flutie99
 
Posts: n/a
Default

figured it out. by the way, what does "--" do?

"Flutie99" wrote:

Perhaps I should be more specific:

Sheet 1 has:
Co. A 1
Co. B 0
Co. C 1

Sheet 2 has:
Co. A -1%
Co. B 2%
Co. C 5%

I need to count the number of companies with 1 and positive growth. In the
example, the answer would be 1 since co. c is the only that meets the
criteria.


"Andy" wrote:

Hi Flutie

One option is to use SUMPRODUCT. Have a look here for some examples:
http://www.contextures.com/xlFunctio...tml#SumProduct

Andy.

"Flutie99" wrote in message
...
i need to count the number of companies that are selected (using "1" or "0"
in one column) and have posiitve growth rates (in another column). is
there
a countif function that lets me do this?




  #5   Report Post  
Dave Breitenbach
 
Posts: n/a
Default

Here is a better website which descibes in more detail the use of "--"
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

"Flutie99" wrote:

figured it out. by the way, what does "--" do?

"Flutie99" wrote:

Perhaps I should be more specific:

Sheet 1 has:
Co. A 1
Co. B 0
Co. C 1

Sheet 2 has:
Co. A -1%
Co. B 2%
Co. C 5%

I need to count the number of companies with 1 and positive growth. In the
example, the answer would be 1 since co. c is the only that meets the
criteria.


"Andy" wrote:

Hi Flutie

One option is to use SUMPRODUCT. Have a look here for some examples:
http://www.contextures.com/xlFunctio...tml#SumProduct

Andy.

"Flutie99" wrote in message
...
i need to count the number of companies that are selected (using "1" or "0"
in one column) and have posiitve growth rates (in another column). is
there
a countif function that lets me do this?





  #6   Report Post  
 
Posts: n/a
Default

Hi

-- coerces a TRUE or a FALSE into being a number. If you type =TRUE into a
cell, you get TRUE. If you type =--TRUE into a cell, you get 1. It's a
simple way of making a TRUE result equal 1 and a FALSE result equal 0 - for
calculation purposes.

Andy.

"Flutie99" wrote in message
...
figured it out. by the way, what does "--" do?

"Flutie99" wrote:

Perhaps I should be more specific:

Sheet 1 has:
Co. A 1
Co. B 0
Co. C 1

Sheet 2 has:
Co. A -1%
Co. B 2%
Co. C 5%

I need to count the number of companies with 1 and positive growth. In
the
example, the answer would be 1 since co. c is the only that meets the
criteria.


"Andy" wrote:

Hi Flutie

One option is to use SUMPRODUCT. Have a look here for some examples:
http://www.contextures.com/xlFunctio...tml#SumProduct

Andy.

"Flutie99" wrote in message
...
i need to count the number of companies that are selected (using "1"
or "0"
in one column) and have posiitve growth rates (in another column).
is
there
a countif function that lets me do this?





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF for 2 conditions Bruce Excel Worksheet Functions 4 June 15th 05 01:22 PM
countif two conditions Penny Excel Discussion (Misc queries) 4 May 27th 05 01:59 AM
COUNTIF with two conditions Doodlemeyer Excel Worksheet Functions 2 March 20th 05 09:05 PM
How can I use COUNTIF to sum for two conditions? Jeff Excel Worksheet Functions 4 December 30th 04 05:25 AM
COUNTIF Question zbert Excel Worksheet Functions 1 November 1st 04 01:59 AM


All times are GMT +1. The time now is 03:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"