Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default COUNTIF for criteria in two separate columns (Excel 2003)

I want to count the yes's and no's in column B for each department in column
A. So, if I have 10 unique names in column A, I want to know how many no's
for a particular name, and how many yes's for that same name.
I am new to Excel functions.
Thanks in advance for your help.
Mimi

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default COUNTIF for criteria in two separate columns (Excel 2003)

=SUMPRODUCT(--(A1:A10="Department"),--(B1:B10="Yes"))

Replace the ranges with the appropriate ranges for your situation, and
replace Department with the name of the relevant department (but keep the
double quotes). To count the Nos just change the Yes above to No

Dave
--
Brevity is the soul of wit.


"Mimi" wrote:

I want to count the yes's and no's in column B for each department in column
A. So, if I have 10 unique names in column A, I want to know how many no's
for a particular name, and how many yes's for that same name.
I am new to Excel functions.
Thanks in advance for your help.
Mimi

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default COUNTIF for criteria in two separate columns (Excel 2003)

Thank you.
So If I have 10 different departments, I have to replace the name of the
department for each one?

"Dave F" wrote:

=SUMPRODUCT(--(A1:A10="Department"),--(B1:B10="Yes"))

Replace the ranges with the appropriate ranges for your situation, and
replace Department with the name of the relevant department (but keep the
double quotes). To count the Nos just change the Yes above to No

Dave
--
Brevity is the soul of wit.


"Mimi" wrote:

I want to count the yes's and no's in column B for each department in column
A. So, if I have 10 unique names in column A, I want to know how many no's
for a particular name, and how many yes's for that same name.
I am new to Excel functions.
Thanks in advance for your help.
Mimi

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default COUNTIF for criteria in two separate columns (Excel 2003)

Yes

--
Brevity is the soul of wit.


"Mimi" wrote:

Thank you.
So If I have 10 different departments, I have to replace the name of the
department for each one?

"Dave F" wrote:

=SUMPRODUCT(--(A1:A10="Department"),--(B1:B10="Yes"))

Replace the ranges with the appropriate ranges for your situation, and
replace Department with the name of the relevant department (but keep the
double quotes). To count the Nos just change the Yes above to No

Dave
--
Brevity is the soul of wit.


"Mimi" wrote:

I want to count the yes's and no's in column B for each department in column
A. So, if I have 10 unique names in column A, I want to know how many no's
for a particular name, and how many yes's for that same name.
I am new to Excel functions.
Thanks in advance for your help.
Mimi

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default COUNTIF for criteria in two separate columns (Excel 2003)

No, you them in a list and refer to the list,copying the formula down

=SUMPRODUCT(--($A$1:$A$10=M1),--($B$1:$B$10="Yes"))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Mimi" wrote in message
...
Thank you.
So If I have 10 different departments, I have to replace the name of the
department for each one?

"Dave F" wrote:

=SUMPRODUCT(--(A1:A10="Department"),--(B1:B10="Yes"))

Replace the ranges with the appropriate ranges for your situation, and
replace Department with the name of the relevant department (but keep the
double quotes). To count the Nos just change the Yes above to No

Dave
--
Brevity is the soul of wit.


"Mimi" wrote:

I want to count the yes's and no's in column B for each department in
column
A. So, if I have 10 unique names in column A, I want to know how many
no's
for a particular name, and how many yes's for that same name.
I am new to Excel functions.
Thanks in advance for your help.
Mimi





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default COUNTIF for criteria in two separate columns (Excel 2003)

Thank you.

"Bob Phillips" wrote:

No, you them in a list and refer to the list,copying the formula down

=SUMPRODUCT(--($A$1:$A$10=M1),--($B$1:$B$10="Yes"))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Mimi" wrote in message
...
Thank you.
So If I have 10 different departments, I have to replace the name of the
department for each one?

"Dave F" wrote:

=SUMPRODUCT(--(A1:A10="Department"),--(B1:B10="Yes"))

Replace the ranges with the appropriate ranges for your situation, and
replace Department with the name of the relevant department (but keep the
double quotes). To count the Nos just change the Yes above to No

Dave
--
Brevity is the soul of wit.


"Mimi" wrote:

I want to count the yes's and no's in column B for each department in
column
A. So, if I have 10 unique names in column A, I want to know how many
no's
for a particular name, and how many yes's for that same name.
I am new to Excel functions.
Thanks in advance for your help.
Mimi




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
Cell Protection over Excel 2000 and 2003 Achez Excel Discussion (Misc queries) 3 June 6th 06 07:50 PM
Opening two separate instances of Excel Ron Bishop Excel Discussion (Misc queries) 2 August 4th 05 05:30 PM
COUNTIF Bug in Excel 2003 byundt Excel Worksheet Functions 5 July 22nd 05 03:51 PM
quattro pro converter Excel 2003 dr88363 New Users to Excel 0 February 27th 05 05:00 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM


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