#1   Report Post  
Al
 
Posts: n/a
Default Using Countif

Ok, On Tab A I have my raw data that has three columns I'm interested in:

Name
product
score

I'm breaking the info down in Tab B.

I have a countif set up already to tell me how many of any given "name" or
"product" there are in their respective columns. How would I tell it to
count all instances of a specific "score" value(s) associated with a "name"
or "product" though?
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100="product"),--(Sheet1!C1:C100="score"))

Biff

-----Original Message-----
Ok, On Tab A I have my raw data that has three columns

I'm interested in:

Name
product
score

I'm breaking the info down in Tab B.

I have a countif set up already to tell me how many of

any given "name" or
"product" there are in their respective columns. How

would I tell it to
count all instances of a specific "score" value(s)

associated with a "name"
or "product" though?
.

  #3   Report Post  
Al
 
Posts: n/a
Default

Hmm... Not quite. Allow to ellaborate. In tab B I have colums for name,
total instances of that name, and two columns based on the score. In one
column I want all instances of the highest score, 10, and in the other I want
all results of 8 and above. I'm doing this twice. Once based on name, once
based on product. Hope this clarifies and I do appreciate the help.

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100="product"),--(Sheet1!C1:C100="score"))

Biff

-----Original Message-----
Ok, On Tab A I have my raw data that has three columns

I'm interested in:

Name
product
score

I'm breaking the info down in Tab B.

I have a countif set up already to tell me how many of

any given "name" or
"product" there are in their respective columns. How

would I tell it to
count all instances of a specific "score" value(s)

associated with a "name"
or "product" though?
.


  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Let me see if I understand, you want to count the number
of times that 10 corresponds with a name and count the
number of times that a value =8 corresponds to a name?

Try these:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100=10))

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100=8))

Biff

-----Original Message-----
Hmm... Not quite. Allow to ellaborate. In tab B I

have colums for name,
total instances of that name, and two columns based on

the score. In one
column I want all instances of the highest score, 10, and

in the other I want
all results of 8 and above. I'm doing this twice. Once

based on name, once
based on product. Hope this clarifies and I do

appreciate the help.

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100="product"),--(Sheet1!C1:C100="score"))

Biff

-----Original Message-----
Ok, On Tab A I have my raw data that has three

columns
I'm interested in:

Name
product
score

I'm breaking the info down in Tab B.

I have a countif set up already to tell me how many of

any given "name" or
"product" there are in their respective columns. How

would I tell it to
count all instances of a specific "score" value(s)

associated with a "name"
or "product" though?
.


.

  #5   Report Post  
Al
 
Posts: n/a
Default

Ok that makes sense but what purpose do the "--" operators perform?

"Biff" wrote:

Hi!

Let me see if I understand, you want to count the number
of times that 10 corresponds with a name and count the
number of times that a value =8 corresponds to a name?

Try these:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100=10))

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100=8))

Biff

-----Original Message-----
Hmm... Not quite. Allow to ellaborate. In tab B I

have colums for name,
total instances of that name, and two columns based on

the score. In one
column I want all instances of the highest score, 10, and

in the other I want
all results of 8 and above. I'm doing this twice. Once

based on name, once
based on product. Hope this clarifies and I do

appreciate the help.

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100="product"),--(Sheet1!C1:C100="score"))

Biff

-----Original Message-----
Ok, On Tab A I have my raw data that has three

columns
I'm interested in:

Name
product
score

I'm breaking the info down in Tab B.

I have a countif set up already to tell me how many of
any given "name" or
"product" there are in their respective columns. How
would I tell it to
count all instances of a specific "score" value(s)
associated with a "name"
or "product" though?
.


.




  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for an explanation.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Al" wrote in message
...
Ok that makes sense but what purpose do the "--" operators perform?

"Biff" wrote:

Hi!

Let me see if I understand, you want to count the number
of times that 10 corresponds with a name and count the
number of times that a value =8 corresponds to a name?

Try these:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100=10))

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100=8))

Biff

-----Original Message-----
Hmm... Not quite. Allow to ellaborate. In tab B I

have colums for name,
total instances of that name, and two columns based on

the score. In one
column I want all instances of the highest score, 10, and

in the other I want
all results of 8 and above. I'm doing this twice. Once

based on name, once
based on product. Hope this clarifies and I do

appreciate the help.

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(Sheet1!A1:A100="name"),--(Sheet1!
B1:B100="product"),--(Sheet1!C1:C100="score"))

Biff

-----Original Message-----
Ok, On Tab A I have my raw data that has three

columns
I'm interested in:

Name
product
score

I'm breaking the info down in Tab B.

I have a countif set up already to tell me how many of
any given "name" or
"product" there are in their respective columns. How
would I tell it to
count all instances of a specific "score" value(s)
associated with a "name"
or "product" though?
.


.




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" from multiple worksheets within workbook Excel Discussion (Misc queries) 2 December 10th 04 06:59 PM
Subtotal And Countif Sheryl Excel Discussion (Misc queries) 4 December 9th 04 07:18 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM
combining countif formulas Liz G Excel Worksheet Functions 3 November 1st 04 09:34 PM
COUNTIF Question zbert Excel Worksheet Functions 2 October 31st 04 05:14 PM


All times are GMT +1. The time now is 04:58 AM.

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"