Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Suza
 
Posts: n/a
Default COUNTIF-how do I count the quantity of 'H', as opposed to 'h'?

The problem is how to ask the system to count CAPITAL h's as opposed to LOWER
case h's.
I am using COUNTIF but it's counting H and h as the same
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Paul B
 
Posts: n/a
Default COUNTIF-how do I count the quantity of 'H', as opposed to 'h'?

Suza, here is one way,

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

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Suza" wrote in message
...
The problem is how to ask the system to count CAPITAL h's as opposed to

LOWER
case h's.
I am using COUNTIF but it's counting H and h as the same



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default COUNTIF-how do I count the quantity of 'H', as opposed to 'h'?

Suza,

Try this

=SUMPRODUCT(--(ISNUMBER(FIND("h",I1:I20))))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Suza" wrote in message
...
The problem is how to ask the system to count CAPITAL h's as opposed to

LOWER
case h's.
I am using COUNTIF but it's counting H and h as the same



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default COUNTIF-how do I count the quantity of 'H', as opposed to 'h'?

or =SUMPRODUCT(--(ISNUMBER(FIND("H",I1:I20))))

if you want capital h's <G

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Suza,

Try this

=SUMPRODUCT(--(ISNUMBER(FIND("h",I1:I20))))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Suza" wrote in message
...
The problem is how to ask the system to count CAPITAL h's as opposed to

LOWER
case h's.
I am using COUNTIF but it's counting H and h as the same





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
Formula format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
Describe high/low range with CountIf (ex. count if >90 and <100 jsky Excel Worksheet Functions 1 September 19th 05 02:44 AM
Describe high/low range with CountIf (ex. count if >90 and <100 jsky Excel Worksheet Functions 5 September 19th 05 02:04 AM
want to count in two columns; countif (colA=x AND colB=y)? Heather Murch Excel Worksheet Functions 1 February 17th 05 03:47 PM
If two columns match then count one. How? Tried countif and sum . IMC Medrec Excel Worksheet Functions 1 February 14th 05 12:28 PM


All times are GMT +1. The time now is 09:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"