ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Cap Sensitive Countif (https://www.excelbanter.com/excel-worksheet-functions/202058-cap-sensitive-countif.html)

Tod H

Cap Sensitive Countif
 
Is there a way to use the COUNTIF function in conjunction with a capital
sensitive criteria? In other words, I'd like to count cells that contain a
capital "X", and differentiate that from a count of small "x".

Don Guillett

Cap Sensitive Countif
 
=SUMPRODUCT(--(EXACT(E1:E10,"X")))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Tod H" wrote in message
...
Is there a way to use the COUNTIF function in conjunction with a capital
sensitive criteria? In other words, I'd like to count cells that contain
a
capital "X", and differentiate that from a count of small "x".



Duke Carey

Cap Sensitive Countif
 
This is an array formula which you enter by pressing ctrl-enter-shift

=SUMPRODUCT(--NOT(ISERROR(FIND("X",A7:A18))))

"Tod H" wrote:

Is there a way to use the COUNTIF function in conjunction with a capital
sensitive criteria? In other words, I'd like to count cells that contain a
capital "X", and differentiate that from a count of small "x".



All times are GMT +1. The time now is 10:40 AM.

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