#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Countif

Hi everyone,

I'm hoping someone can help me with another one please.

I want to do a countif with 3 criteria. If A is 456 and B is S and C is Yes.

Just can't seem to think straight today

Thanking you in advance
Cheers
--
Mifty
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Countif

Hi,

You can combine countif functions. In your case you can have a formula
similar to:
=countif(B2:B10,"=456") + countif(B2:B10, "S") + countif(B2:B10, "Yes")

Hope this helps,

stevefromnaki :)

"Mifty" wrote:

Hi everyone,

I'm hoping someone can help me with another one please.

I want to do a countif with 3 criteria. If A is 456 and B is S and C is Yes.

Just can't seem to think straight today

Thanking you in advance
Cheers
--
Mifty

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Countif

Maybe

=SUMPRODUCT((A1:A20=456)*(B1:B20="S")*(C1:C20="Yes "))

Mike

"Mifty" wrote:

Hi everyone,

I'm hoping someone can help me with another one please.

I want to do a countif with 3 criteria. If A is 456 and B is S and C is Yes.

Just can't seem to think straight today

Thanking you in advance
Cheers
--
Mifty

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Countif

=SUMPRODUCT(--(A1:A100=456),--(B1:B100="S"),--(C1:C100="Yes"))
For more details on SUMPRODUCT
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
http://mcgimpsey.com/excel/formulae/doubleneg.html
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Mifty" wrote in message
...
Hi everyone,

I'm hoping someone can help me with another one please.

I want to do a countif with 3 criteria. If A is 456 and B is S and C is
Yes.

Just can't seem to think straight today

Thanking you in advance
Cheers
--
Mifty



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Countif

Hi Steve,

Thanks for replying but couldn't make this one work.

Cheers
--
Mifty


"stevefromnaki" wrote:

Hi,

You can combine countif functions. In your case you can have a formula
similar to:
=countif(B2:B10,"=456") + countif(B2:B10, "S") + countif(B2:B10, "Yes")

Hope this helps,

stevefromnaki :)

"Mifty" wrote:

Hi everyone,

I'm hoping someone can help me with another one please.

I want to do a countif with 3 criteria. If A is 456 and B is S and C is Yes.

Just can't seem to think straight today

Thanking you in advance
Cheers
--
Mifty



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Countif

Hi Mike,

That does the trick

Thank you
--
Mifty


"Mike H" wrote:

Maybe

=SUMPRODUCT((A1:A20=456)*(B1:B20="S")*(C1:C20="Yes "))

Mike

"Mifty" wrote:

Hi everyone,

I'm hoping someone can help me with another one please.

I want to do a countif with 3 criteria. If A is 456 and B is S and C is Yes.

Just can't seem to think straight today

Thanking you in advance
Cheers
--
Mifty

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Countif

Thank you Bernard,

I'll definitely follow the links because I've seen lots of posts where
sumproduct is given as an alternative option and I've always chickened out of
using the "more complicated option". But now I've seen it in use..........

Thanks again
--
Mifty


"Bernard Liengme" wrote:

=SUMPRODUCT(--(A1:A100=456),--(B1:B100="S"),--(C1:C100="Yes"))
For more details on SUMPRODUCT
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
http://mcgimpsey.com/excel/formulae/doubleneg.html
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Mifty" wrote in message
...
Hi everyone,

I'm hoping someone can help me with another one please.

I want to do a countif with 3 criteria. If A is 456 and B is S and C is
Yes.

Just can't seem to think straight today

Thanking you in advance
Cheers
--
Mifty




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 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 max value help!!! chintu49 Excel Worksheet Functions 4 May 28th 05 07:27 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 04:50 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"