+ Reply to Thread
Results 1 to 2 of 2

count uniques cells that match antoher cell value

Hybrid View

  1. #1
    Registered User
    Join Date
    04-04-2014
    Location
    mexico
    MS-Off Ver
    Excel 2013
    Posts
    1

    count uniques cells that match antoher cell value

    Im trying to count uniques values of the column tienda with the uniques values of the column promo. Output expected below table.

    promo tienda

    pablo a
    pablo a
    pablo b
    juan c
    juan c
    juan c
    jesus d
    jesus r

    Output:

    Pablo: 2
    Juan: 1
    Jesus: 2

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: count uniques cells that match antoher cell value

    Like so:

    http://screencast.com/t/AcfDEO2uda

    The array formula entered in F3 is:

    =SUM(INDEX(($A$1:$A$8=E3)*(MATCH($B$1:$B$8,$B$1:$B$8,0)=ROW($A$1:$A$8)),0))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Then copy F3 down.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. Count Uniques
    By John Bates in forum Excel General
    Replies: 13
    Last Post: 10-12-2010, 01:57 PM
  2. Replies: 2
    Last Post: 09-03-2009, 07:52 PM
  3. Count Uniques with 2 criterias
    By ROYW1000 in forum Excel General
    Replies: 2
    Last Post: 11-03-2008, 05:48 PM
  4. count uniques
    By prasjohn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2008, 01:34 PM
  5. Count Uniques within a list based on value of cell...
    By MeatLightning in forum Excel General
    Replies: 3
    Last Post: 03-20-2006, 01:25 PM

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