Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default How to count lower case alphabet?

Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to count lower case alphabet?

Try this:

=SUMPRODUCT(--(EXACT(A1:B5,"c")))

--
Biff
Microsoft Excel MVP


"Yvonne" wrote in message
...
Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default How to count lower case alphabet?

You can use this array* formula

=SUM(EXACT("c",A1:B5)*1)

*Use Ctrl+Shift+Enter to confirm formoula, not just Enter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Yvonne" wrote:

Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How to count lower case alphabet?

=SUMPRODUCT(--(CODE(A1:B5)=99))
--
Gary''s Student - gsnu200848


"Yvonne" wrote:

Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default How to count lower case alphabet?


Thanks Luke, so amazing.

"Luke M" wrote:

You can use this array* formula

=SUM(EXACT("c",A1:B5)*1)

*Use Ctrl+Shift+Enter to confirm formoula, not just Enter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Yvonne" wrote:

Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default How to count lower case alphabet?


Thanks Valko, your method works best!!!!!


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(EXACT(A1:B5,"c")))

--
Biff
Microsoft Excel MVP


"Yvonne" wrote in message
...
Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default How to count lower case alphabet?

Hi Gary's Student,
It works. Thanks. What's 99 stands for?

"Gary''s Student" wrote:

=SUMPRODUCT(--(CODE(A1:B5)=99))
--
Gary''s Student - gsnu200848


"Yvonne" wrote:

Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to count lower case alphabet?

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Yvonne" wrote in message
...

Thanks Valko, your method works best!!!!!


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(EXACT(A1:B5,"c")))

--
Biff
Microsoft Excel MVP


"Yvonne" wrote in message
...
Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count
the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.






  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default How to count lower case alphabet?

"99" is ASCII code for "c".

Yvonne wrote:

Hi Gary's Student,
It works. Thanks. What's 99 stands for?

"Gary''s Student" wrote:


=SUMPRODUCT(--(CODE(A1:B5)=99))
--
Gary''s Student - gsnu200848


"Yvonne" wrote:


Hi there, I need someone help to do the following:

Column A Column B
1 a A
2 B b
3 C C
4 c c
5 D e

=COUNTIF(A1:B5,"c") will give a result (4), but I only want to count the
lower case c which should give me a result (2) instead.

Thanks. Awaiting for an answer.


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
Changing multiple cell text from lower case to upper case Patti Excel Discussion (Misc queries) 2 January 4th 08 08:35 PM
how do I count only lower case "x" and exclude upper case "X" jbeletz Excel Worksheet Functions 3 October 14th 06 10:50 PM
Count if Lower case THE_RAMONES Excel Worksheet Functions 4 June 6th 06 07:58 PM
Change the text from lower case to upper case in an Excel work boo dave01968 Excel Discussion (Misc queries) 2 December 9th 05 09:09 AM
Count the occurance of upper or lower case letters Sivsy Excel Worksheet Functions 3 January 13th 05 07:31 PM


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