+ Reply to Thread
Results 1 to 5 of 5

Need Count If Unique help

  1. #1
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Need Count If Unique help

    I have a file that I attempted to attach here but the attach file feature is not working for me at the moment.

    My file has 2 worksheets: List and Count.

    Worksheet List has 6 columns (A-F).

    Worksheet Count:
    Col A has unique items in it.
    Cell D3: I need a formula that will count the unique items in List Col B if List Col A is equal to Count A3.
    Cell E3: I need a formula that will count the unique items in List Col B and List Col C if List Col A is equal to Count A3.
    Cell F3: I need a formula that will count the unique items in List Col B if List Col F<>0 and if List Col A is equal to Count A3.
    Cell G3: I need a formula that will count the unique items in List Col B and List Col C if List Col F<>0 and if List Col A is equal to Count A3.


    Any help is appreciated.

  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: Need Count If Unique help

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    File should be small, do not unnecessarily upload data-laden workbooks. ZIP them if needed.
    _________________
    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!)

  3. #3
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Need Count If Unique help

    I uploaded it but I cannot attach it. The Attach feature in each post is not working for me.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Need Count If Unique help

    Apparently I didn't need to do an extra attach step. Thanks.

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

    Re: Need Count If Unique help

    D3:
    =SUM(INDEX((List!$A$1:$A$322=$A3)*(MATCH(List!$B$1:$B$322,List!$B$1:$B$322,0)=ROW(List!$A$1:$A$322)),0))

    E3:
    =SUM(INDEX((List!$A$1:$A$322=$A3)*(MATCH(INDEX(List!$B$1:$B$322&"|"&List!$C$1:$C$322,0),INDEX(List!$B$1:$B$322&"|"&List!$C$1:$C$322,0),0)=ROW(List!$A$1:$A$322)),0))

    F3:
    =SUM(INDEX((List!$A$1:$A$322=$A3)*(List!$F$1:$F$322<>0)*(MATCH(INDEX(List!$B$1:$B$322&"|"&List!$C$1:$C$322,0),INDEX(List!$B$1:$B$322&"|"&List!$C$1:$C$322,0),0)=ROW(List!$A$1:$A$322)),0))

    G3:

    =SUM(INDEX((List!$A$1:$A$322=$A3)*(List!$F$1:$F$322<>0)*(MATCH(List!$B$1:$B$322,List!$B$1:$B$322,0)=ROW(List!$A$1:$A$322)),0))

    H3:
    =SUM(INDEX((List!$A$1:$A$322=$A3)*(List!$F$1:$F$322<>0)*(MATCH(INDEX(List!$D$1:$D$322&"|"&List!$E$1:$E$322,0),INDEX(List!$D$1:$D$322&"|"&List!$E$1:$E$322,0),0)=ROW(List!$A$1:$A$322)),0))

    ...copied down.

+ 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. Create unique # of worksheets based on list count with unique names
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2016, 09:51 AM
  2. [SOLVED] Unique Total Value Count per Unique Lookup Values
    By KnightVision in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2014, 05:03 AM
  3. [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
  4. [SOLVED] How To Count Unique Values in COL A Subject for each unique value in COL B ??
    By amirtehrani in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-06-2012, 03:00 AM
  5. [SOLVED] changing a current mod (count unique visible cells ->count unique visible cells criteria
    By liranbo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2012, 03:58 AM
  6. Replies: 0
    Last Post: 03-22-2012, 08:44 PM
  7. Replies: 17
    Last Post: 08-24-2009, 08:58 AM

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