Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Adam Kroger
 
Posts: n/a
Default COUNTIF(--(),--()) help in '97

What am I doing wrong?

=COUNTIF(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default COUNTIF(--(),--()) help in '97

Hi!

Countif doesn't work that way.

Try this:

=SUMPRODUCT(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

Biff

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
What am I doing wrong?

=COUNTIF(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
Adam Kroger
 
Posts: n/a
Default COUNTIF(--(),--()) help in '97

That will count the number of times an "H" appears in the second list, when
the corresponding $I$1 is in the first list?


"Biff" wrote in message
...
Hi!

Countif doesn't work that way.

Try this:

=SUMPRODUCT(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

Biff

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
What am I doing wrong?

=COUNTIF(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

thanks





  #4   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default COUNTIF(--(),--()) help in '97

That will count the number of times an "H" appears in the second list,
when the corresponding $I$1 is in the first list?


Yes. That's what you wanted, isn't it?

Biff

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
That will count the number of times an "H" appears in the second list,
when the corresponding $I$1 is in the first list?


"Biff" wrote in message
...
Hi!

Countif doesn't work that way.

Try this:

=SUMPRODUCT(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

Biff

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
What am I doing wrong?

=COUNTIF(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

thanks







  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default COUNTIF(--(),--()) help in '97

It will. What is it you want to achieve?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
That will count the number of times an "H" appears in the second list,

when
the corresponding $I$1 is in the first list?


"Biff" wrote in message
...
Hi!

Countif doesn't work that way.

Try this:

=SUMPRODUCT(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

Biff

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
What am I doing wrong?

=COUNTIF(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

thanks









  #6   Report Post  
Posted to microsoft.public.excel.misc
Adam Kroger
 
Posts: n/a
Default COUNTIF(--(),--()) help in '97

perfect, that is what I was what to do.

The "PRODUCT" part of SUMPRODUCT() threw me off, I was thinking of product
in the mathmatical sense and was concerned that something was going to get
multiplied. Hence the question. You guys have been MOST helpful.

Thank You, Bob and Biff

"Bob Phillips" wrote in message
...
It will. What is it you want to achieve?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
That will count the number of times an "H" appears in the second list,

when
the corresponding $I$1 is in the first list?


"Biff" wrote in message
...
Hi!

Countif doesn't work that way.

Try this:

=SUMPRODUCT(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

Biff

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
What am I doing wrong?

=COUNTIF(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

thanks









  #7   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default COUNTIF(--(),--()) help in '97

Something is getting multiplied. The arrays that result from each
conditional test are multiplied, and then the resultant array is summed.
Take a look at http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
perfect, that is what I was what to do.

The "PRODUCT" part of SUMPRODUCT() threw me off, I was thinking of product
in the mathmatical sense and was concerned that something was going to get
multiplied. Hence the question. You guys have been MOST helpful.

Thank You, Bob and Biff

"Bob Phillips" wrote in message
...
It will. What is it you want to achieve?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
That will count the number of times an "H" appears in the second list,

when
the corresponding $I$1 is in the first list?


"Biff" wrote in message
...
Hi!

Countif doesn't work that way.

Try this:

=SUMPRODUCT(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

Biff

"Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message
...
What am I doing wrong?

=COUNTIF(--('Pilot 1'!H12:H24=$I$1),--('Pilot 1'!AA12:AA24="H"))

thanks











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 or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF COMBINATION?? Heather Excel Worksheet Functions 1 April 26th 05 02:44 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


All times are GMT +1. The time now is 11:18 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"