Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default SUMIF and COUNTIF Function Problems

I have client names in column A and the letters d, hh, h, or db in column B
to designate their status. There are multiple occurences for some clients in
the spreadsheet. I want a formula that will count a letter once per client
like the SUMIF function, not once for each occurence of the letter like the
COUNTIF function. Let me know if someone needs clarification or has an
answer to my dilemma. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default SUMIF and COUNTIF Function Problems

Are you wanting a count of how many times a specifc letter appears with a
specific name, or just how many letters?

The first:
=SUMPRODUCT(($A$1:$A$100="ClientName")*($B$1:$B$10 0="d"))

The latter:
=SUMPRODUCT(($A$1:$A$100="ClientName")*1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Cassie" wrote:

I have client names in column A and the letters d, hh, h, or db in column B
to designate their status. There are multiple occurences for some clients in
the spreadsheet. I want a formula that will count a letter once per client
like the SUMIF function, not once for each occurence of the letter like the
COUNTIF function. Let me know if someone needs clarification or has an
answer to my dilemma. Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default SUMIF and COUNTIF Function Problems

Maybe it would help if I showed an example:

A B
1 doe, john d
2 smith, mary d
3 doe, jane d
4 jolie, angelina d
5 pitt, brad d
6 sinatra, frank db
7 aniston, jennifer d
8 depp, johnny d
9 doe, john d

I have a SUMIF function to count each client once, and another to count
every person on the list for each occurence (i.e. the SUMIF counts John Doe
once, but the other function counts him twice to count each time spent with
him). Now I need a function that will count his hearing status once. The
function I am using is counting his status twice, and I need it only once.
Does this help more?

"Luke M" wrote:

Are you wanting a count of how many times a specifc letter appears with a
specific name, or just how many letters?

The first:
=SUMPRODUCT(($A$1:$A$100="ClientName")*($B$1:$B$10 0="d"))

The latter:
=SUMPRODUCT(($A$1:$A$100="ClientName")*1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Cassie" wrote:

I have client names in column A and the letters d, hh, h, or db in column B
to designate their status. There are multiple occurences for some clients in
the spreadsheet. I want a formula that will count a letter once per client
like the SUMIF function, not once for each occurence of the letter like the
COUNTIF function. Let me know if someone needs clarification or has an
answer to my dilemma. Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default SUMIF and COUNTIF Function Problems

I'm afraid I don't understand. When would the formula give a value greater
than 1? (example?)

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Cassie" wrote:

Maybe it would help if I showed an example:

A B
1 doe, john d
2 smith, mary d
3 doe, jane d
4 jolie, angelina d
5 pitt, brad d
6 sinatra, frank db
7 aniston, jennifer d
8 depp, johnny d
9 doe, john d

I have a SUMIF function to count each client once, and another to count
every person on the list for each occurence (i.e. the SUMIF counts John Doe
once, but the other function counts him twice to count each time spent with
him). Now I need a function that will count his hearing status once. The
function I am using is counting his status twice, and I need it only once.
Does this help more?

"Luke M" wrote:

Are you wanting a count of how many times a specifc letter appears with a
specific name, or just how many letters?

The first:
=SUMPRODUCT(($A$1:$A$100="ClientName")*($B$1:$B$10 0="d"))

The latter:
=SUMPRODUCT(($A$1:$A$100="ClientName")*1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Cassie" wrote:

I have client names in column A and the letters d, hh, h, or db in column B
to designate their status. There are multiple occurences for some clients in
the spreadsheet. I want a formula that will count a letter once per client
like the SUMIF function, not once for each occurence of the letter like the
COUNTIF function. Let me know if someone needs clarification or has an
answer to my dilemma. Thanks!

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
Problems with countif function NavyGunner Excel Discussion (Misc queries) 3 August 7th 08 05:41 PM
COUNTIF function within SUMIF tralbert Excel Worksheet Functions 7 April 24th 08 06:53 PM
SUMIF/COUNTIF problems tonefbr Excel Discussion (Misc queries) 4 October 10th 07 11:18 AM
problems with sumif and countif Simon Shaw Excel Discussion (Misc queries) 6 July 23rd 05 10:02 PM
Problems with SUMIF function and Wildcards (* and ?) J1J Excel Worksheet Functions 4 June 27th 05 04:25 PM


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