+ Reply to Thread
Results 1 to 4 of 4

Filter responsive count of entries with a given fragment of text

  1. #1
    Registered User
    Join Date
    08-22-2013
    Location
    Adelaide
    MS-Off Ver
    Excel 2010
    Posts
    3

    Filter responsive count of entries with a given fragment of text

    G'day Excel forum

    I'm having some trouble with a relatively simple equation, I'm attempting to generate a count of all cells that contain a certain text segment regardless of whether it is standalone or set within other text (I've attached a simplified excel sheet example to clarify my nonsensical ramblings), this would be simple on its own (Example 1) however the cells from which this count needs to be calculated are subject to a filter and the results of the traditional method are unchanged when the filter is applied. This can be remedied with a sum product approach (Example 2) however this has the drawback of being unable to select text if it is set within other text (the ("*"&cell reference&"*") approach).

    What is needed, therefore, is some way of calculating the subtotal of those cells containing the text (Example 2) that can be calculated on filtered entries for data that may contain more text than just that which is being counted.

    Anyone out there have any inkling as to how one would pull this off?
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Filter responsive count of entries with a given fragment of text

    hi there. welcome to the forum. is this formula in H4 what you need?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    08-22-2013
    Location
    Adelaide
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Filter responsive count of entries with a given fragment of text

    Not quite, that formula almost does the job however it cannot sum the cells that have text other than the text i'm trying to count, i.e. I need to count all cells with the values; "Apple", "Apple, Banana" and "Banana, Apple", this equation will only count "Apple"

  4. #4
    Registered User
    Join Date
    08-22-2013
    Location
    Adelaide
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Filter responsive count of entries with a given fragment of text

    I've updated the spreadsheet example with some notes, hopefully this will make it clearer...
    Attached Files Attached Files

+ 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. Replies: 2
    Last Post: 08-18-2011, 12:32 AM
  2. [SOLVED] filter list of text for unique entries using formulea
    By Domenic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 07:05 AM
  3. filter list of text for unique entries using formulea
    By The Nephalim in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  4. [SOLVED] filter list of text for unique entries using formulea
    By The Nephalim in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  5. [SOLVED] filter list of text for unique entries using formulea
    By The Nephalim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2005, 08:05 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