+ Reply to Thread
Results 1 to 8 of 8

NThe number of cells that contains a particular text

  1. #1
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    NThe number of cells that contains a particular text

    Need Urgent Help! - The number of cells that contains a particular text

    I have a range of cells containing content and another range of cells containing just words.

    Eg:

    Cell Range A:A1000 contains paragraphs/content

    Cell Range B:B500 contain words/phrase. Each word occurs multiple times under column A. For instance the word 'great work' appears in multiple cells under column A, likewise there are hundreds of such words I have to find the cell references for from column A.


    Please guide me how to make this possible.


    It will be a great help!


    Thank You,
    Faiz

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,691

    Re: NThe number of cells that contains a particular text

    you could set up a word reference list then do a countif on it, or set up a filter and then filter on contents containing the word string you want.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,691

    Re: NThe number of cells that contains a particular text

    A countif might look something like...
    =countif(A2:A1000,"*great job*") or a reference to the list you set up.

  4. #4
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: NThe number of cells that contains a particular text

    Hi Sambo kid

    thanks for your reply. Actually I don't want the number of times the word appears under the cell range.

    I actually need the cell reference in result. Like all the cell references that contains the word "great job"

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,691

    Re: NThe number of cells that contains a particular text

    That's an interesting twist. I'll have to think about it.

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,691

    Re: NThe number of cells that contains a particular text

    Hmmm, the best I can come up with is to use a filter then filter by text and contains.
    in conjunction with a countif formula you'll at least know if you have them all once you filter on it.
    Other than that I tried different formulas with find and address but w/no success.
    Hopefully someone w/better skills than mine will drop by and give you a better solution.

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: NThe number of cells that contains a particular text

    Hi,

    I think this is a particularly apt case for a workbook containing some examples and desired results. Without, theoretical solutions will always be problematic, I'm afraid.

    Obviously remove/replace any confidential/sensitive information in there, though be sure to give enough examples so that each different type of string in your actual data is comprehensively accounted for.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: NThe number of cells that contains a particular text

    Suppose you have text content in the range A2:A1000 and one of the one of the word/phrase from col. B is "Great Work" (As per your example), then use the below formula to return the cell reference of the the cells from the col. A which contain that word/phrase.
    It is an array formula, so confirm it with Ctrl+Shift+Enter and drag it down.

    Please Login or Register  to view this content.
    Is this what you want?
    Last edited by sktneer; 11-14-2013 at 02:14 PM.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Count number of cells that contain text but exclude cells that contain quotation marks
    By Cantyman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-22-2012, 03:57 PM
  2. sum cells with text number text
    By Greed in forum Excel General
    Replies: 1
    Last Post: 08-12-2011, 08:51 AM
  3. Replies: 2
    Last Post: 08-16-2010, 10:44 AM
  4. number of cells containing text
    By Xhawk57 in forum Excel General
    Replies: 1
    Last Post: 08-11-2006, 12:50 PM
  5. How to set a number number value as text in all cells ?
    By Paul Peters in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-11-2006, 02:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1