ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to count lower case alphabet? (https://www.excelbanter.com/excel-discussion-misc-queries/228510-how-count-lower-case-alphabet.html)

Yvonne

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.


T. Valko

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.




Luke M

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.


Gary''s Student

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.


Yvonne

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.


Yvonne

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.





Yvonne

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.


T. Valko

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.







Bob I

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.




All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com