+ Reply to Thread
Results 1 to 2 of 2

Counting uniques dates in a filtered column

  1. #1
    Registered User
    Join Date
    10-24-2011
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2010
    Posts
    1

    Counting uniques dates in a filtered column

    I need some help with a formula that will count the number of unique dates of a filtered column. I have attached the spreadsheet and highlighted the cell where the formula needs to be. Any assistance will be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting uniques dates in a filtered column

    From http://www.j-walk.com/ss/excel/eee/eee020.txt

    POWER FORMULA TECHNIQUES

    by David Hager

    ---How can I find the count of unique items in a filtered column?---

    Define a column range in your table (excluding header) as Rge.

    Define unRge as:
    =IF(SUBTOTAL(3,OFFSET(Rge,ROW(Rge)-MIN(ROW(Rge)),,1)),Rge,"")

    Then, the array formula to return the # of unique occurrences in a filtered
    column is:

    =SUM(N(IF(ISNA(MATCH("",unRge,0)),MATCH(Rge,Rge,0),IF(MATCH(unRge,unRge,0)
    =MATCH("",unRge,0),0,MATCH(unRge,unRge,0)))=ROW(Rge)-MIN(ROW(Rge))+1))
    Try to adapt to your sheet.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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