+ Reply to Thread
Results 1 to 4 of 4

unique count the number of users in month regardless their frequency

  1. #1
    Registered User
    Join Date
    05-29-2014
    Posts
    2

    unique count the number of users in month regardless their frequency

    Good day your EXCEL-lencies,

    I have a signup record that expected to grow up to row 400. On the top, there's a monthly tally for reports. Column B to count the number of boxes taken and Column C for the users picked up the boxes.

    Users should be accounted as one appearence in a month, regardless re-appearance in the same month or different month.

    I haven't found the generic formula to uniquely count the number of users regardless their frequency in a month. Please advice. Thank you in advance.

    NOTE:
    Timings, box numbering format and usenames are randomly generated. Any similarities with real subjects will be coincidence only.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: unique count the number of users in month regardless their frequency

    I expect there is a simpler way using countifs but I'm a 2003 user so...

    =SUM(IF(FREQUENCY(MATCH((IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),(IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),0),MATCH((IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),(IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),0))>0,1))-1

    as an array formula (confirm with ctrl+shift+enter) in D3 and copied down will return the answers provided.

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: unique count the number of users in month regardless their frequency

    Hi,

    I could achieve the desired result using a Pivot Table. Please check if this suits your requirement (file attached).

    Regards,
    Chandra


    Please click on ‘ * Add Reputation’ if I was helpful in resolving the issue.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-29-2014
    Posts
    2

    Thumbs up Re: unique count the number of users in month regardless their frequency

    Thanks ragulduy. It works.

    I copied the formula to the first month and pasted to the whole months, resulting #VALUE error. After that, I confirmed (Ctrl+Shift+Enter) cell-by-cell from January to December.

    If pasted and confirmed all-together, it gives only one result as the month reference (A3) in the formula doesn't change.

    =SUM(IF(FREQUENCY(MATCH((IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),(IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),0),MATCH((IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),(IF(MONTH(A$20:A$40)=MONTH(A3),C$20:C$40,0)),0))>0,1))-1

    So, I pasted all-together from Jan to Dec and let it gives #VALUE error. Then, the confirmation (Ctrl+Shift+Enter) was done one-by-one. And hey, it still works when I extended the range to row $400.

    Attached file is the final tally with added dummies for May. Thank's again.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-29-2014
    Posts
    2

    Re: unique count the number of users in month regardless their frequency

    Hello Chandra,

    I never learned Pivot Table before. With your example on this case, I will start learning it.

    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count number of unique cells if month =
    By BM02GAN in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-25-2014, 12:31 PM
  2. Sum/Count the frequency per month
    By ciapul12 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-19-2014, 08:39 AM
  3. Calculating frequency of unique texts within a month under multiple criteria
    By JustinHanamichi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2013, 08:35 PM
  4. COUNT Unique using Frequency
    By kw42chan in forum Excel General
    Replies: 7
    Last Post: 12-15-2011, 08:49 AM
  5. Number of unique users in a list of 3k log ins
    By jaywizz in forum Excel General
    Replies: 4
    Last Post: 08-19-2010, 01:28 PM

Tags for this Thread

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