#1   Report Post  
Junior Member
 
Posts: 1
Default Counting Text

HI, SO I HAVE COLUMN A, with 5 varying names (spanning about 100 cells)
then column b contains either yes or no..(based on response) is there a formula that i can use to create an output cell for each name, which counts the yes and no response for each of the 5 names?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Counting Text

Hi,

Am Sat, 11 Aug 2012 17:27:14 +0000 schrieb LIST GURU:

HI, SO I HAVE COLUMN A, with 5 varying names (spanning about 100 cells)
then column b contains either yes or no..(based on response) is there a
formula that i can use to create an output cell for each name, which
counts the yes and no response for each of the 5 names?


try:
=COUNTIFS(A2:A100,"Name1",B2:B100,"yes")
or
=SUMPRODUCT(--(A2:A100="Name1"),--(B2:B100="yes"))

or use PivotTable, that's easier


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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 - problem counting text, other text gmoore3055 Excel Worksheet Functions 1 February 4th 10 10:30 PM
counting a text value based on another text value. Rob K. Excel Discussion (Misc queries) 2 February 19th 09 04:26 AM
Counting occurences of text string in a text file Mike Archer Excel Programming 1 July 10th 08 09:34 PM
Counting a mixed text/number column based on text in another colum Sierra Vista Steve Excel Discussion (Misc queries) 3 December 17th 06 05:30 PM
Counting Occurrence of Text within Text in Cells in Range. Jeremy N. Excel Worksheet Functions 1 September 8th 05 05:16 AM


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