Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Added up # of cells containing a specified word


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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Added up # of cells containing a specified word


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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default Added up # of cells containing a specified word

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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Added up # of cells containing a specified word


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

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


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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Added up # of cells containing a specified word


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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Added up # of cells containing a specified word


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

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Added up # of cells containing a specified word


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

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KrunoG
 
Posts: n/a
Default Added up # of cells containing a specified word

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"
wrote in message
...

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



  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Added up # of cells containing a specified word


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

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Added up # of cells containing a specified word


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 referral
source (C10:C1000) and the status fields (D10:D10000).

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

Cell A1 = the # of clients that have a referral source of "Yellow
Pages" and a status of "Interested"
Cell A2 = the # of clients that have a referral source of "Yellow
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?


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



  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Added up # of cells containing a specified word


I tried your formula on a dummy spreadsheet and it worked so I will go
back and try and figure out my mistake on the real spreadsheet. thanks


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

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
Lookup same word "value" across multiple cells chazmac Excel Worksheet Functions 3 November 23rd 05 05:55 AM
Linking table in Excel to word travis Links and Linking in Excel 1 November 19th 05 02:30 PM
importing list with commas from WORD, to individual .xls cells? brantty Excel Discussion (Misc queries) 1 August 5th 05 12:31 AM
How can I keep database format cells at Excel when using Word Mai. Veronica Excel Discussion (Misc queries) 1 April 11th 05 11:07 PM
Displaying cell references next to embedded cells in Word 2000 The Consigliere New Users to Excel 1 April 9th 05 02:58 PM


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