+ Reply to Thread
Results 1 to 5 of 5

Formula for couting unique dates in filter mode

  1. #1
    Registered User
    Join Date
    05-20-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    3

    Formula for couting unique dates in filter mode

    Dear All Excel Experts,

    I do not have advanced knowledge of excel. Please suggest me formula in Excel 2007 for counting Unique date in Column range when filter is on.

    I have attached excel file and tried to explain my goal on this file.

    Regards,

    Qaiser Niazi
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula for couting unique dates in filter mode

    hi Qaiser Niazi, welcome to the forum. try this array formula:
    =SUM(IF(FREQUENCY(IF(SUBTOTAL(2,OFFSET(A4,ROW(A4:A15)-ROW(A4),)),A4:A15),A4:A15),1))
    ...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. 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.

    change all my commas to semi-colons if your region settings separate formula arguments by semi-colons

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula for couting unique dates in filter mode

    with an pivot table.

    see the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Contributor
    Join Date
    09-11-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    102

    Re: Formula for couting unique dates in filter mode

    Hi,
    See attached file,
    The formula can be used when Filter is on or off.
    Confirmed by pressing Ctrl+shift+Enter also.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-20-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula for couting unique dates in filter mode

    Thanks All,

    Issue is resolved.

+ 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