+ Reply to Thread
Results 1 to 8 of 8

How to count Unique Number with respect to Date

  1. #1
    Registered User
    Join Date
    08-28-2012
    Location
    Delhi
    MS-Off Ver
    Excel 2007
    Posts
    11

    Lightbulb How to count Unique Number with respect to Date

    HI,

    I have date in 1 column and data in another column, how can i count unique values against each date ( written in Row).

    Ataching excel for easy referrence

    Regards
    Amit
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to count Unique Number with respect to Date

    Try..

    =SUM(IF(FREQUENCY(IF($A$2:$A$19=E$1,IF($B$2:$B$19<>"",MATCH($B$2:$B$19,$B$2:$B$19,0))),ROW($B$2:$B$19)-ROW(B2)+1),1))

    confirm with Ctrl+Shift+Enter and not just Enter
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    08-28-2012
    Location
    Delhi
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to count Unique Number with respect to Date

    HI,

    Its not working.

    1st July has 3 unique value but it is showing only 1 when i m putting formula.
    rgds

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to count Unique Number with respect to Date

    Works for me..see attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-28-2012
    Location
    Delhi
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to count Unique Number with respect to Date

    Hi,

    I m sorry, its working after Ctrl+Shift+Enter.

    Thanks a lot.....

    :-) i was trying to make formula for this from last 3 days but failed.

    again thanks

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to count Unique Number with respect to Date

    @ amit.nikhil

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Registered User
    Join Date
    08-28-2012
    Location
    Delhi
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to count Unique Number with respect to Date

    HI,

    I want to add 1 more criteria along with date while searching unique, how can i use it .

    excel attached
    Attached Files Attached Files

  8. #8
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to count Unique Number with respect to Date

    Tweak it to this..

    =SUM(IF(FREQUENCY(IF(($A$2:$A$19=E$1)*($C$2:$C$19=$D7),IF($B$2:$B$19<>"",MATCH($B$2:$B$19,$B$2:$B$19,0))),ROW($B$2:$B$19)-ROW(B2)+1),1))

    Remember Ctrl+Shift+Enter

+ 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