+ Reply to Thread
Results 1 to 2 of 2

Countif only unique value in a specific time range

  1. #1
    Registered User
    Join Date
    07-20-2009
    Location
    maryland, usa
    MS-Off Ver
    Latest Excel (Excel 365)
    Posts
    30

    Countif only unique value in a specific time range

    Hi everyone,

    Thanks in advance for your help. This might be a very simple one for some, but I'm having difficulty to make this automatic.

    https://docs.google.com/spreadsheets...it?usp=sharing

    As you can see from the sample excel, you will have dates in Column A and names in Column B.

    I want to count only "unique names" that are either in "Yes" or "in progress" on column C on a weekly basis starting Dec, 30, 2019 (refer to the table on the right side). Between 12/30/2019 and 1/5/2020, there are 6 lists, but only are only three unique names, but only Brian and Jenny are meeting the condition for Column C so I want to only count 2.

    * a bit more detail on what I'm trying to count here - I have a list of customers that frequently visit and make purchases. I want to identify the actual customers that are willing to pay on a weekly customers.

    Let me know if you need any further clarification.
    Thanks!
    Last edited by dhyun3; 04-07-2020 at 09:17 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Countif only unique value in a specific time range

    Perhaps this will be of some help although it is written for Excel.
    1. A list of distinct names is produced using: =IFERROR(INDEX(B$2:B$32,MATCH(0,INDEX(COUNTIF(Q$2:Q2,B$2:B$32),,),)),"")
    2. Those names meeting the criteria of "Yes"/"In Progress" and appropriate dates are counted using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    3. An overall count for the week is made using: =COUNTIFS(R3:R14,">0")
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 3
    Last Post: 04-07-2020, 05:06 AM
  2. Macro to filter specific range from specific sheet to another with unique values
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2018, 03:55 PM
  3. [SOLVED] COUNTIF Time Range - Time Range provided in Cells
    By Eaks77 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-02-2015, 11:12 PM
  4. VBA to copy unique range to specific range area
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-09-2013, 03:53 PM
  5. [SOLVED] countif values is unique in a range
    By hluk in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-14-2012, 11:23 PM
  6. COUNTIF for multiple unique words in a range.
    By lallo.jr in forum Excel General
    Replies: 3
    Last Post: 02-24-2012, 03:05 PM
  7. Replies: 8
    Last Post: 02-21-2012, 11:11 AM

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