Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I count the number of time 2 columns meet my criteria


Can anyone tell me what is wrong with this formula? I am trying to say if
the text in column B = this, and the text from column C = this, and then
count the returned values:

=IF(b4:b118,"Consistent Support Staff",IF(C4:C118,"Positive"),"1","0"))

--
mrswhit
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default How do I count the number of time 2 columns meet my criteria

try
=sumproduct((b4:b118="Consistent Support Staff")*(c4:C118="Positive"))


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Mrswhit9" wrote in message
...

Can anyone tell me what is wrong with this formula? I am trying to say if
the text in column B = this, and the text from column C = this, and then
count the returned values:

=IF(b4:b118,"Consistent Support Staff",IF(C4:C118,"Positive"),"1","0"))

--
mrswhit


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How do I count the number of time 2 columns meet my criteria

=SUMPRODUCT((B4:B118="Consistent Support Staff")*(C4:C118="Positive"))

--
Gary''s Student - gsnu200909


"Mrswhit9" wrote:


Can anyone tell me what is wrong with this formula? I am trying to say if
the text in column B = this, and the text from column C = this, and then
count the returned values:

=IF(b4:b118,"Consistent Support Staff",IF(C4:C118,"Positive"),"1","0"))

--
mrswhit

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
How do I count the number of items that meet 2 criteria? 2seas Excel Worksheet Functions 5 March 15th 09 01:47 AM
How do I count the number of cells that meet multiple criteria? Dianna_P Excel Worksheet Functions 7 November 25th 08 05:00 PM
Count the number of values in a list that meet certain criteria Fudgy Excel Worksheet Functions 1 May 5th 08 09:23 PM
How do I count 2 columns of data that meet a certain criteria? RonJon Excel Discussion (Misc queries) 2 September 15th 06 03:51 PM
count rows that meet two criteria in two different columns? dsk3808 Excel Worksheet Functions 6 June 28th 06 09:18 PM


All times are GMT +1. The time now is 11:35 PM.

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

About Us

"It's about Microsoft Excel"