Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default countif AND countif something else too!


Hi,

I'm trying to COUNTIF in one range at the same time as COUNTIF in
another, and put the answer in one cell.

In English, the formula might be: Count if K1:K900 is 'tim' and J1:J900
is 'clever'.

To return how many times tim is clever. (For example. I know that, in
fact, Tim is actually quite dim)

Thanks

Tim


--
Tim3057
------------------------------------------------------------------------
Tim3057's Profile: http://www.excelforum.com/member.php...o&userid=30403
View this thread: http://www.excelforum.com/showthread...hreadid=500730

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default countif AND countif something else too!

One way:

=SUMPRODUCT(--(K1:K900="tim"),--(J1:J900="clever"))


See

http://www.mcgimpsey.com/excel/doubleneg.html

for a fuller explanation.

In article ,
Tim3057 wrote:

Hi,

I'm trying to COUNTIF in one range at the same time as COUNTIF in
another, and put the answer in one cell.

In English, the formula might be: Count if K1:K900 is 'tim' and J1:J900
is 'clever'.

To return how many times tim is clever. (For example. I know that, in
fact, Tim is actually quite dim)

Thanks

Tim

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 Master T[_2_] Excel Worksheet Functions 4 April 29th 09 08:44 AM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


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