Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
hodkd
 
Posts: n/a
Default Countif a small or capital letter


Is it possible to use the countif function to count a t seperate from a
T?


--
hodkd
------------------------------------------------------------------------
hodkd's Profile: http://www.excelforum.com/member.php...fo&userid=1002
View this thread: http://www.excelforum.com/showthread...hreadid=474941

  #2   Report Post  
RagDyer
 
Posts: n/a
Default

Try these:

=SUMPRODUCT(--ISNUMBER(FIND("T",A1:A100)))

=SUMPRODUCT(--ISNUMBER(FIND("t",A1:A100)))


--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"hodkd" wrote in
message ...

Is it possible to use the countif function to count a t seperate from a
T?


--
hodkd
------------------------------------------------------------------------
hodkd's Profile:

http://www.excelforum.com/member.php...fo&userid=1002
View this thread: http://www.excelforum.com/showthread...hreadid=474941


  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT(--(ISNUMBER(FIND("T",A1:A10))))

FIND is case sensitive, so this is not the same:

=SUMPRODUCT(--(ISNUMBER(FIND("t",A1:A10))))

Biff

"hodkd" wrote in
message ...

Is it possible to use the countif function to count a t seperate from a
T?


--
hodkd
------------------------------------------------------------------------
hodkd's Profile:
http://www.excelforum.com/member.php...fo&userid=1002
View this thread: http://www.excelforum.com/showthread...hreadid=474941



  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

A bit less to type

=SUMPRODUCT(--(EXACT(A1:A100,"T")))

--
Regards,

Peo Sjoblom

(No private emails please)


"RagDyer" wrote in message
...
Try these:

=SUMPRODUCT(--ISNUMBER(FIND("T",A1:A100)))

=SUMPRODUCT(--ISNUMBER(FIND("t",A1:A100)))


--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"hodkd" wrote in
message ...

Is it possible to use the countif function to count a t seperate from a
T?


--
hodkd
------------------------------------------------------------------------
hodkd's Profile:

http://www.excelforum.com/member.php...fo&userid=1002
View this thread:
http://www.excelforum.com/showthread...hreadid=474941



  #5   Report Post  
RagDyer
 
Posts: n/a
Default

Forgot to mention, this will count all *cells* that contain an upper or
lower case "T", anywhere within the cell..

"the fat cat" counts as *1* lower case "t".
"The fat cat" counts as 1 lower *and* 1 upper case "T".

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"RagDyer" wrote in message
...
Try these:

=SUMPRODUCT(--ISNUMBER(FIND("T",A1:A100)))

=SUMPRODUCT(--ISNUMBER(FIND("t",A1:A100)))


--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"hodkd" wrote in
message ...

Is it possible to use the countif function to count a t seperate from a
T?


--
hodkd
------------------------------------------------------------------------
hodkd's Profile:

http://www.excelforum.com/member.php...fo&userid=1002
View this thread:

http://www.excelforum.com/showthread...hreadid=474941





  #6   Report Post  
RagDyer
 
Posts: n/a
Default

Actually Peo, yours is more accurate as far as answering the OP, since the
Exact() *doesn't* count the "T's" contained in words.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Peo Sjoblom" wrote in message
...
A bit less to type

=SUMPRODUCT(--(EXACT(A1:A100,"T")))

--
Regards,

Peo Sjoblom

(No private emails please)


"RagDyer" wrote in message
...
Try these:

=SUMPRODUCT(--ISNUMBER(FIND("T",A1:A100)))

=SUMPRODUCT(--ISNUMBER(FIND("t",A1:A100)))


--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"hodkd" wrote in
message ...

Is it possible to use the countif function to count a t seperate from a
T?


--
hodkd


------------------------------------------------------------------------
hodkd's Profile:

http://www.excelforum.com/member.php...fo&userid=1002
View this thread:
http://www.excelforum.com/showthread...hreadid=474941




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
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Sentence with first letter in Capital, rest all in small. Shrikant Excel Discussion (Misc queries) 3 September 1st 05 11:23 AM
COUNTIF temporarily missed some cells dstx Excel Worksheet Functions 0 July 18th 05 08:42 PM
Have A Letter Reference A Name For An Intoduction travelersway New Users to Excel 2 February 16th 05 05:47 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


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