Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Counif multiple condition

Hi,
I want to count all the "A" or "B" in the range.
Ex:
A
C
D
E
B
A
Result : 3.

Thanks in advance for your reply.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Counif multiple condition

Try one of these:

=COUNTIF(A1:A6,"A")+COUNTIF(A1:A6,"B")

=SUM(COUNTIF(A1:A6,{"A","B"}))

Biff

"Avadivelan TCS" wrote in message
...
Hi,
I want to count all the "A" or "B" in the range.
Ex:
A
C
D
E
B
A
Result : 3.

Thanks in advance for your reply.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Counif multiple condition

Thanks. Its working.

"Biff" wrote:

Try one of these:

=COUNTIF(A1:A6,"A")+COUNTIF(A1:A6,"B")

=SUM(COUNTIF(A1:A6,{"A","B"}))

Biff

"Avadivelan TCS" wrote in message
...
Hi,
I want to count all the "A" or "B" in the range.
Ex:
A
C
D
E
B
A
Result : 3.

Thanks in advance for your reply.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Counif multiple condition

You're welcome. Thanks for the feedback!

Biff

"Avadivelan TCS" wrote in message
...
Thanks. Its working.

"Biff" wrote:

Try one of these:

=COUNTIF(A1:A6,"A")+COUNTIF(A1:A6,"B")

=SUM(COUNTIF(A1:A6,{"A","B"}))

Biff

"Avadivelan TCS" wrote in
message
...
Hi,
I want to count all the "A" or "B" in the range.
Ex:
A
C
D
E
B
A
Result : 3.

Thanks in advance for your reply.






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
macro copy/paste data from multiple cells to multiple cells Diana Excel Discussion (Misc queries) 0 July 10th 06 09:24 PM
link multiple cells to multiple cells jpoltor Excel Discussion (Misc queries) 1 March 22nd 06 08:10 AM
Multiple Condition Formula prolixity Excel Worksheet Functions 5 April 13th 05 01:24 AM
Multiple Condition Sumif Formula momtoaj Excel Worksheet Functions 3 April 6th 05 04:06 PM
Is it possible to specify multiple condition with SUMIF? Daniel Excel Worksheet Functions 1 November 17th 04 01:38 AM


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