ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I count only lower case "x" and exclude upper case "X" (https://www.excelbanter.com/excel-worksheet-functions/114459-how-do-i-count-only-lower-case-x-exclude-upper-case-x.html)

jbeletz

how do I count only lower case "x" and exclude upper case "X"
 
I have a spreadsheet where values yes/no have been changed to x/X - how do I
count only the number of rows with a small "x" and exclude all of the rows
marked with a large "X"

Biff

how do I count only lower case "x" and exclude upper case "X"
 
Hi!

Try this:

=SUMPRODUCT(--(EXACT(A1:A10,"x")))

Biff

"jbeletz" wrote in message
...
I have a spreadsheet where values yes/no have been changed to x/X - how do
I
count only the number of rows with a small "x" and exclude all of the rows
marked with a large "X"




Niek Otten

how do I count only lower case "x" and exclude upper case "X"
 
Use the EXACT() function to compare.
See HELP for details


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"jbeletz" wrote in message ...
|I have a spreadsheet where values yes/no have been changed to x/X - how do I
| count only the number of rows with a small "x" and exclude all of the rows
| marked with a large "X"



Alan Beban

how do I count only lower case "x" and exclude upper case "X"
 
jbeletz wrote:
I have a spreadsheet where values yes/no have been changed to x/X - how do I
count only the number of rows with a small "x" and exclude all of the rows
marked with a large "X"

If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook

=ArrayCountIf(A1:A20,"x",,TRUE)

Alan Beban


All times are GMT +1. The time now is 04:30 PM.

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