LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Countif with numbers and words

Sorry guys but none of those worked. I think I need to explain further as
the responses do not seem to understand what I am trying to track here.

The people in columns A and B are grouped together by last names. There may
be one person, there may be 5+. For each group of people there will be only
one occurance of "yes" or "no" in column D. Despite only one yes or no,
wherever there is an occurance of yes I need to multiply that yes by the
number of people in that group. Hence why below I should return a value of 4
because there are three people with the name Doe and one with Smith but all
have a yes.

My original attempts with the countif and sometimes if commands were to
create the following formula: If D is yes, then count the number of
occurances of an ID number in column C that is greater than 1.

This is a monthly report and this database will be passed on to others
eventually, so I want to make it so that these fields to self calculate each
month based on the data entered.

I hope this helps to clarify.


"Joe" wrote:

I am trying to add the number of occurances of the word "yes" in one column,
and then adding the number of occurances of ID numbers in another. I will
try to give an example below:

A B C D
Doe John 12345 yes
Bob 12346
Ed 12347
Que Sue 23883 no
Mary 23884
Smith Joe 88464 yes

So basically what I want to do is wherever column D is yes, then I want it
to add up the number of ID numbers in column C and return a value (I am using
ID numbers as it is the best way to track). Thus based on the above, it
should return a value of 4.

I have been reviewing all the countif and sumproduct responses and trying
various things to no avail. Any suggestions?



 
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 - Key words PAL Excel Worksheet Functions 4 June 19th 09 04:52 AM
Words to numbers Anonimus Secret Gates Excel Discussion (Misc queries) 1 January 11th 08 10:39 AM
Numbers in words Anas Excel Worksheet Functions 8 June 12th 07 08:15 PM
Using COUNTIF for Counting Words? Rich B Excel Worksheet Functions 2 September 26th 05 08:40 PM
Words > Numbers (i.e. Vanity Phone Numbers) function Don Excel Worksheet Functions 1 December 29th 04 06:10 PM


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