PC Review


Reply
Thread Tools Rate Thread

Added up # of cells containing a specified word

 
 
jermsalerms
Guest
Posts: n/a
 
      24th Feb 2006

In cell A1 I would like to have a formula that indicates the number of
times the word "Yellow Pages" appears in cells C10:C1000. The C column
inidicates a referral source. So some of the cells will have "Yellow
Pages" and some wont. In cell A1 I would like to have it tell me the
total # of referrals from the lead source "Yellow Pages". Any
suggestions?


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=516297

 
Reply With Quote
 
 
 
 
Ron Coderre
Guest
Posts: n/a
 
      24th Feb 2006

See if this works for you:

A1: COUNTIF(C10:C1000,"*yellow pages*")

That will count any cell that includes "yellow pages"

Examples that qualify:
From yellow pages
newspaper and yellow pages
yellow pages
etc

Does that help?

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=516297

 
Reply With Quote
 
=?Utf-8?B?RWxrYXI=?=
Guest
Posts: n/a
 
      24th Feb 2006
Try this:

=COUNTIF(C10:C1000,"Yellow Pages")

HTH,
Elkar


"jermsalerms" wrote:

>
> In cell A1 I would like to have a formula that indicates the number of
> times the word "Yellow Pages" appears in cells C10:C1000. The C column
> inidicates a referral source. So some of the cells will have "Yellow
> Pages" and some wont. In cell A1 I would like to have it tell me the
> total # of referrals from the lead source "Yellow Pages". Any
> suggestions?
>
>
> --
> jermsalerms
> ------------------------------------------------------------------------
> jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
> View this thread: http://www.excelforum.com/showthread...hreadid=516297
>
>

 
Reply With Quote
 
jermsalerms
Guest
Posts: n/a
 
      24th Feb 2006

what function would return the number of rows that contains "Yello
Pages" in column A and "Interested" in column B.

So if both were not present the row would not be counted in th
results

--
jermsalerm
-----------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...fo&userid=3016
View this thread: http://www.excelforum.com/showthread.php?threadid=51629

 
Reply With Quote
 
Ron Coderre
Guest
Posts: n/a
 
      24th Feb 2006

Try this:

Where "yellow pages" could be in F1:F20 and "interested" could be in
H1:H20:

This formula counts instances where cells in Col_F equal "yellow pages"
and the corresponding cells in Col_H equal "interested":
A1: =SUMPRODUCT((F1:F20="yellow pages")*(H1:H20="interested"))

Are we there yet?

Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=516297

 
Reply With Quote
 
jermsalerms
Guest
Posts: n/a
 
      24th Feb 2006

I have a database being exported to a spreadsheet with over 40 fields
(columns) and 1000+ clients (rows). One of the fields (column C)
incidates that referral source. I would like to copy & paste the list
into sheet 1 and have 5 seperate sheets for each of the 5 different
referral sources. So that when I go to sheet 2 the only thing I will
see are the clients and their 40 associated fields that are referred
(column C) by say "John Smith"


Is there a function or script that will search column C for "John
Smith" and then fill in all the 40 fields on sheet 2.


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=516297

 
Reply With Quote
 
jermsalerms
Guest
Posts: n/a
 
      24th Feb 2006

I just realized that isnt working. The result is #NAME?. Any suggestion

--
jermsalerm
-----------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...fo&userid=3016
View this thread: http://www.excelforum.com/showthread.php?threadid=51629

 
Reply With Quote
 
KrunoG
Guest
Posts: n/a
 
      24th Feb 2006
First of all is to use CountIF function.
The easiest way get the result you want is to make a simple Pivot table.
If you need the list for specific data just double click "grand total" in
the pivot and it will generate new list with only those values. You can do
the additional calculations then if needed

BR

Kruno



"jermsalerms" <(E-Mail Removed)>
wrote in message
news:(E-Mail Removed)...
>
> I just realized that isnt working. The result is #NAME?. Any suggestions
>
>
> --
> jermsalerms
> ------------------------------------------------------------------------
> jermsalerms's Profile:
> http://www.excelforum.com/member.php...o&userid=30167
> View this thread: http://www.excelforum.com/showthread...hreadid=516297
>



 
Reply With Quote
 
Ron Coderre
Guest
Posts: n/a
 
      24th Feb 2006

Jermsalerms:

Usually the #NAME! error means you are trying to use a function in the
Analysis ToolPak without the add-in loaded. But since the formula I
posted doesn't include any of those functions, you probably have a typo
in your formula.

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=516297

 
Reply With Quote
 
jermsalerms
Guest
Posts: n/a
 
      24th Feb 2006

I am not sure what you mean by pivot table.

I have two sheets....

'Sheet One' with client data...this is the sheet that has the referra
source (C10:C1000) and the status fields (D1010000).

'Sheet Two'...I want to list statistics....so on this sheet I ma
list:

Cell A1 = the # of clients that have a referral source of "Yello
Pages" and a status of "Interested"
Cell A2 = the # of clients that have a referral source of "Yello
Pages" and a status of "Not Interested"
cells A3:A15 will contain other variations of statistical data.

If this Pivot table will accomplish this can you explain it more to me

--
jermsalerm
-----------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...fo&userid=3016
View this thread: http://www.excelforum.com/showthread.php?threadid=51629

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Average only the last 3 cells in a row and self-update as added thorshammer Microsoft Excel Worksheet Functions 3 11th Aug 2008 09:03 PM
Defining Cells to be Added using SUMIF =?Utf-8?B?UGFwcGV5?= Microsoft Excel New Users 3 25th Mar 2005 05:05 PM
How do I reference the last 3 cells in a row as cells are added =?Utf-8?B?U3RpbGwgTGVhcm5pbmc=?= Microsoft Excel Worksheet Functions 6 8th Jan 2005 05:10 PM
Re: Text cells with added value???? Bernard V Liengme Microsoft Excel New Users 0 3rd Mar 2004 03:59 PM
Comments added to Cells =?Utf-8?B?U2FpbG9yIEo=?= Microsoft Excel Misc 1 13th Dec 2003 03:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:06 AM.