If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Count range of cells for occurance of a text value

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-29-04, 14:43
GregCrossan GregCrossan is offline
Registered User
 
Join Date: Oct 2002
Location: BC Canada
Posts: 61
Count range of cells for occurance of a text value

I have a sheet which hasd answers to a survey.

I want to tabulate toals for one answer that is a multiple choice
i.e. anser all that apply - cell value will contain a string 'a,b,c' etc.

or may be 'a' ...

I cannot use countif(a1:a40,"a") because it has to be exact - "a" only..

How can I get countif(range,contains "a") not equals "a"

thanks
Reply With Quote
  #2 (permalink)  
Old 03-29-04, 14:47
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
Just add a wildcard: =COUNTIF(A1:A40,"*a*")

Hope that helps,

Smitty
Reply With Quote
  #3 (permalink)  
Old 03-29-04, 15:04
GregCrossan GregCrossan is offline
Registered User
 
Join Date: Oct 2002
Location: BC Canada
Posts: 61
Quote:
Originally posted by Smitty
Just add a wildcard: =COUNTIF(A1:A40,"*a*")

Hope that helps,

Smitty

Seems so simple once ya get the answer.

Thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On