+ Reply to Thread
Results 1 to 2 of 2

Counting unique instances of a word?

  1. #1
    Forum Contributor
    Join Date
    05-12-2014
    MS-Off Ver
    Excel 2013
    Posts
    131

    Counting unique instances of a word?

    Hey folks! I have kind of a unique scenario here that I could use some help with. Attached is a workbook where I mocked up an example that can be played with.

    The issue is this:
    aaaaaaa.JPG

    I've been tasked to comb through a huge total of customer feedback notes and break these down by keyword. No biggie, I just set up a countifs statement, and that works great.

    My issue occurs when a note has multiple keywords in it. For example, if my note is 'Make the box bigger.' and my keywords are 'box' and 'bigger', then the formulas I have set up will flag a "Match" for box and a "Match" for bigger. Thing is, when I have to add up the results of my work, the % exceeds 100, and I realized it's because I'm inadvertently counting the same note twice. So what I'm trying to do is tell my formula, "Hey, find this keyword and count the number of times it occurs, but if you find it in conjunction with another keyword, be sure to accommodate that in your final totals".

    As I'm typing this I'm hoping that it makes at least a lick of sense because I'm having the hardest time explaining it right now.

    Simplest I can think to put it right now is; does anyone know of a way to run a count on keywords that may overlap, but exclude instances that have already been counted once in the final totals?

    Hopefully someone can make sense of my rambling. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Counting unique instances of a word?

    Your workbook is linking to another source so I'm not sure what your percentages refer to BUT if you use this in C6 instead of your sum formula you'll get the percentage of cells with at least one hit

    =COUNTIF(C3:C5,">0")/COUNT(C3:C5)
    Happy with my advice? Click on the * reputation button below

+ 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: 9
    Last Post: 01-02-2015, 09:07 AM
  2. Counting unique instances above a certain quantity
    By ammartino44 in forum Excel General
    Replies: 9
    Last Post: 10-03-2014, 03:04 AM
  3. Highlight and Tag Unique Instances
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-08-2013, 08:24 PM
  4. [SOLVED] Counting unique text instances with conditions
    By kazaly in forum Excel General
    Replies: 8
    Last Post: 11-19-2012, 11:44 PM
  5. Counting unique instances in an array.
    By Jerry McM in forum Excel General
    Replies: 2
    Last Post: 02-13-2009, 05:58 PM
  6. Count unique instances
    By meweaver27 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-28-2007, 09:57 AM
  7. counting unique instances of text in a list
    By WadeSansing in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-01-2005, 01:57 PM

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