Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default countif or sumproduct?

i have a column with over 2000 alpha character rows that i'm trying to count.

I have a the one of the following letters hmyubsqzvtgxce in the rows of the
column.

I'm trying to count the total number of hmyu when listed in this column?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default countif or sumproduct?

try this
=SUMPRODUCT((C2:C2000={"h","m","y","u"})*1)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"arch0072" wrote in message
...
i have a column with over 2000 alpha character rows that i'm trying to
count.

I have a the one of the following letters hmyubsqzvtgxce in the rows of
the
column.

I'm trying to count the total number of hmyu when listed in this column?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default countif or sumproduct?

Maybe

=COUNTIF(A:A,"*hmyu*")

or for the string beginning with hmyu

=COUNTIF(A:A,"hmyu*")

Mike

"arch0072" wrote:

i have a column with over 2000 alpha character rows that i'm trying to count.

I have a the one of the following letters hmyubsqzvtgxce in the rows of the
column.

I'm trying to count the total number of hmyu when listed in this column?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default countif or sumproduct?

Try this:

=COUNTIF(D:D,"*hmyu*")

I've assumed your data is in column D. You can use wildcards with
COUNTIF.

Hope this helps.

Pete

On Sep 3, 1:44*pm, arch0072
wrote:
i have a column with over 2000 alpha character rows that i'm trying to count. *

I have a the one of the following letters hmyubsqzvtgxce in the rows of the
column. *

I'm trying to count the total number of hmyu when listed in this column?


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default countif or sumproduct?

Yes, tested OK. I may have misunderstood the OP requirements but it does what
it was intended to do. i.e count the instances of hmyu either within or at
the start of any string in any cell in A:A

your issue being?

Mike

"Don Guillett" wrote:


Tested?
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Mike H" wrote in message
...
Maybe

=COUNTIF(A:A,"*hmyu*")

or for the string beginning with hmyu

=COUNTIF(A:A,"hmyu*")

Mike

"arch0072" wrote:

i have a column with over 2000 alpha character rows that i'm trying to
count.

I have a the one of the following letters hmyubsqzvtgxce in the rows of
the
column.

I'm trying to count the total number of hmyu when listed in this column?



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 SUMPRODUCT SFC Traver Excel Worksheet Functions 3 June 26th 08 09:45 PM
Countif or Sumproduct Tom Excel Worksheet Functions 2 April 25th 07 06:58 PM
Sumproduct and Countif [email protected] Excel Discussion (Misc queries) 0 April 2nd 07 02:51 PM
Sumproduct or Countif mhmra Excel Worksheet Functions 6 November 29th 06 04:38 PM
SUMPRODUCT or COUNTIF? Amy via OfficeKB.com Excel Worksheet Functions 3 January 13th 06 08:33 PM


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