+ Reply to Thread
Results 1 to 4 of 4

keyword count and unique entries

  1. #1
    Registered User
    Join Date
    11-18-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    2

    keyword count and unique entries

    I'm trying to find a formula that will count the number of times a part number is matched, but only for each unique occurrence of that part number. For example, Column A has 100 part numbers. Some are unique. Column B has either "Matched", "No Matches", or a quantity associated with each part number. I think some combination of "Vlookup" and "Countif", but I can't think of how to tie them together.
    Basically the plain english version of the formula would be like "countif(From A1 to A100, if the value is unique and B(whichever row is currently being evaluated) equals "Matched")).

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: keyword count and unique entries

    Try this:

    =SUM(--(FREQUENCY(IF(($B$1:$B$24="Matched"),COUNTIF($A$1:$A$24,"<"&$A$1:$A$24),""),COUNTIF($A$1:$A$24,"<"&$A$1:$A$24))>0))

    Change 24 for the appropriate #

    it's an array function so confirm formula with CTRL SHIFT ENTER

  3. #3
    Registered User
    Join Date
    11-18-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    2

    Re: keyword count and unique entries

    That worked perfectly! Thanks!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: keyword count and unique entries

    In other words...

    Count the unique part numbers that correspond to "matched".

    What do the part numbers look like? Are they actually numbers? Do any start with leading zeros?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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 unique entries based off unique criteria in another column
    By hambly in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-11-2014, 03:33 PM
  2. [SOLVED] Count unique entries
    By Max in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 09-06-2005, 05:05 PM
  3. [SOLVED] Count unique entries
    By BeSmart in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  4. [SOLVED] Count unique entries
    By BeSmart in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  5. [SOLVED] Count unique entries
    By BeSmart in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  6. [SOLVED] Count unique entries
    By BeSmart in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] Count unique entries
    By BeSmart in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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