Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default AND function using COUNTIF

I would like to count entries in column "B" that equal a criteria and also
meet a criteria in column "A".

For EX:

If entry in column "A" equals "Walt" and entry in column "B" equals "x" then
count

Note: I think I had a solution a few years ago that used the -- function.

Please help me solve this again.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default AND function using COUNTIF

=SUMPRODUCT(--(A2:A200="Walt"),--(B2:B200="x"))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Walter L. skinner" wrote in
message ...
I would like to count entries in column "B" that equal a criteria and also
meet a criteria in column "A".

For EX:

If entry in column "A" equals "Walt" and entry in column "B" equals "x"
then
count

Note: I think I had a solution a few years ago that used the -- function.

Please help me solve this again.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default AND function using COUNTIF

Hi Walter,

You could try something like this..


=SUMPRODUCT(--(A1:A1000="Walt"),--(B1:B1000="X"))

Hope this helps,

Gav.

"Walter L. skinner" wrote:

I would like to count entries in column "B" that equal a criteria and also
meet a criteria in column "A".

For EX:

If entry in column "A" equals "Walt" and entry in column "B" equals "x" then
count

Note: I think I had a solution a few years ago that used the -- function.

Please help me solve this again.

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default AND function using COUNTIF

=SUMPRODUCT((A1:A100="Walt")*(B1:B100="x")) or
=SUMPRODUCT(--(A1:A100="Walt"),--(B1:B100="x"))
--
David Biddulph

"Walter L. skinner" wrote in
message ...
I would like to count entries in column "B" that equal a criteria and also
meet a criteria in column "A".

For EX:

If entry in column "A" equals "Walt" and entry in column "B" equals "x"
then
count

Note: I think I had a solution a few years ago that used the -- function.

Please help me solve this again.

Thanks



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
please help how to combine IF function with Countif function Dinesh Excel Worksheet Functions 6 March 30th 06 08:28 PM
Function Help - COUNTIF teetrinity New Users to Excel 5 February 22nd 06 12:51 PM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
Embed a countif function in subtotal function? Stuck at work Excel Worksheet Functions 1 February 14th 06 03:19 AM
countif function Steve Excel Worksheet Functions 2 July 21st 05 06:42 PM


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