Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 94
Default COUNTIF with two criteria's

Hi,
I am trying to add one more criteria to the below formula and cannot figure
it out.
Need to locate how many "C" with "GTS". Both are in different rows.
This is what I did..but it doesn't work and have been working on this for
the past couple of days. Pls help..thank you

=countif('2006 PMR Schedule'!D5:D7,"C")+('2006 PMR Schedule'!E5:E7,"GTS")
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default COUNTIF with two criteria's

Try:

=COUNTIF('2006 PMR Schedule'!D5:D7,"C")+COUNTIF('2006 PMR
Schedule'!E5:E7,"GTS")

Dave
--
Brevity is the soul of wit.


"Holly" wrote:

Hi,
I am trying to add one more criteria to the below formula and cannot figure
it out.
Need to locate how many "C" with "GTS". Both are in different rows.
This is what I did..but it doesn't work and have been working on this for
the past couple of days. Pls help..thank you

=countif('2006 PMR Schedule'!D5:D7,"C")+('2006 PMR Schedule'!E5:E7,"GTS")

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 94
Default COUNTIF with two criteria's

Hi Dave, thanks for the help.. now looking at it I am getting more than what
I want. What I am trying to do is have a count of how many GTS has an A, how
many GTS has a B, etc. When I add the +COUNTIF it adds both and comes back
with "2" - when the raw data shows "1".. any ideas ?


GBS/GTS Health Rating

GBS A
GTS B
GBS B



"Dave F" wrote:

Try:

=COUNTIF('2006 PMR Schedule'!D5:D7,"C")+COUNTIF('2006 PMR
Schedule'!E5:E7,"GTS")

Dave
--
Brevity is the soul of wit.


"Holly" wrote:

Hi,
I am trying to add one more criteria to the below formula and cannot figure
it out.
Need to locate how many "C" with "GTS". Both are in different rows.
This is what I did..but it doesn't work and have been working on this for
the past couple of days. Pls help..thank you

=countif('2006 PMR Schedule'!D5:D7,"C")+('2006 PMR Schedule'!E5:E7,"GTS")

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default COUNTIF with two criteria's

Sounds like you need to use SUMPRODUCT:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Dave
--
Brevity is the soul of wit.


"Holly" wrote:

Hi Dave, thanks for the help.. now looking at it I am getting more than what
I want. What I am trying to do is have a count of how many GTS has an A, how
many GTS has a B, etc. When I add the +COUNTIF it adds both and comes back
with "2" - when the raw data shows "1".. any ideas ?


GBS/GTS Health Rating

GBS A
GTS B
GBS B



"Dave F" wrote:

Try:

=COUNTIF('2006 PMR Schedule'!D5:D7,"C")+COUNTIF('2006 PMR
Schedule'!E5:E7,"GTS")

Dave
--
Brevity is the soul of wit.


"Holly" wrote:

Hi,
I am trying to add one more criteria to the below formula and cannot figure
it out.
Need to locate how many "C" with "GTS". Both are in different rows.
This is what I did..but it doesn't work and have been working on this for
the past couple of days. Pls help..thank you

=countif('2006 PMR Schedule'!D5:D7,"C")+('2006 PMR Schedule'!E5:E7,"GTS")

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 94
Default COUNTIF with two criteria's

THAT WAS IT !!!! Figured it out FINALLY.
Thank you very much for your direction ! Have an awesome day !

"Dave F" wrote:

Sounds like you need to use SUMPRODUCT:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Dave
--
Brevity is the soul of wit.


"Holly" wrote:

Hi Dave, thanks for the help.. now looking at it I am getting more than what
I want. What I am trying to do is have a count of how many GTS has an A, how
many GTS has a B, etc. When I add the +COUNTIF it adds both and comes back
with "2" - when the raw data shows "1".. any ideas ?


GBS/GTS Health Rating

GBS A
GTS B
GBS B



"Dave F" wrote:

Try:

=COUNTIF('2006 PMR Schedule'!D5:D7,"C")+COUNTIF('2006 PMR
Schedule'!E5:E7,"GTS")

Dave
--
Brevity is the soul of wit.


"Holly" wrote:

Hi,
I am trying to add one more criteria to the below formula and cannot figure
it out.
Need to locate how many "C" with "GTS". Both are in different rows.
This is what I did..but it doesn't work and have been working on this for
the past couple of days. Pls help..thank you

=countif('2006 PMR Schedule'!D5:D7,"C")+('2006 PMR Schedule'!E5:E7,"GTS")

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
2 criterias for countif - Greg Excel Worksheet Functions 1 June 23rd 06 07:39 PM
Countif, two criterias need help Axel Excel Worksheet Functions 12 April 30th 06 01:22 PM
Formula format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
countif help for multiple criterias tdro Excel Worksheet Functions 2 June 14th 05 05:06 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


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