+ Reply to Thread
Results 1 to 5 of 5

Count unique, visible values in a filtered column

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Count unique, visible values in a filtered column

    Hi,

    I'm looking for a formula that returns the number of entries that are both visible and unique from a filtered column. In the attached example ( Count unique and visible entries.xlsx ) I want a formula for cell b23 that returns the number of unique individuals that are bankers... the answer should be 4.

    One constraint: I need to avoid adding additional columns.

    I appreciate any help anyone has to offer.

    - Kajakk

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Count unique, visible values in a filtered column

    An easy way without complicated formulas is this one.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Count unique, visible values in a filtered column

    ..One constraint: I need to avoid adding additional columns.
    I didn't noticed that..

    ARRAY formula.

    =SUM(IF(FREQUENCY(IF(SUBTOTAL(3,OFFSET(B5,ROW(B5:B21)-ROW(B5),,1)),IF(B5:B21<>"",IF(C5:C21="Banker",MATCH("~"&B5:B21,B5:B21&"",0)))),ROW(B5:B21)-ROW(A5)+1),1))

  4. #4
    Registered User
    Join Date
    04-19-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Count unique, visible values in a filtered column

    Thank you for your quick response!

    Now I know what I should do next:-)

    //kajakk

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Count unique, visible values in a filtered column

    .......................

+ 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