+ Reply to Thread
Results 1 to 3 of 3

Re: Count unique values from different columns with a condition

  1. #1
    Registered User
    Join Date
    01-16-2012
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Count unique values from different columns with a condition

    Hi,
    I need some help to find a formula (Excel 2003 otherwise Excel 2010).
    I have this table:
    A B C D E
    1 model type color1 color2 color3
    2 aaa metallized gray red blue
    3 bbb MATT white black
    4 ccc metallized gray green
    5 ddd MATT white black red
    I need to count unique value of range C2:F5 with condition in B:B "METAL"
    Example:
    METAL = 4 (gray, red, blue, green)
    matte = 3 (white, black, red)

    ... if it's possible also the subtotale if apply a filter in column A.

    Thank for the help.
    Last edited by alessoski; 01-17-2012 at 07:49 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Count unique values from different columns with a condition

    See attachment for UDF (user defined function) to count uniques with condition.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-16-2012
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Count unique values from different columns with a condition

    Perfect!
    Many Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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