+ Reply to Thread
Results 1 to 7 of 7

Count unique values based on value with date range

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Count unique values based on value with date range

    Hi

    Column A i have a list of dates
    Column B i have a list of names

    Range C1 i have a cell to enter a name

    Enter a name in C1
    and C2 brings back a value that counts unique dates in Column A, where column B equals C1

    where column A is between the first day of the current year and todays date

    Thanks in advance

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Count unique values based on value with date range

    =SUM((FREQUENCY(INDEX((b1:b100=C1)*a1:a100,0),a1:a100)>0)+0)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Count unique values based on value with date range

    Thank you, and possible to incorporate the date range?

    Cheers

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Count unique values based on value with date range

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Count unique values based on value with date range

    have done, cheers
    Attached Files Attached Files

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Count unique values based on value with date range

    see the attached file
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Count unique values based on value with date range

    thank you kind sir

+ 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 unique values in date range
    By Shawn1888 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2018, 09:53 AM
  2. Count of Unique Values Based on Date in Another Column
    By masood78 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-13-2015, 03:46 AM
  3. Count Number of Unique Values within a Date Range
    By eepok in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2014, 10:28 PM
  4. Count Unique values if they fall between a date range
    By Racecarjoe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-24-2012, 06:41 PM
  5. Count Unique Values within date range
    By onthepitch in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-20-2012, 02:29 PM
  6. count unique values in columns based on date values
    By cclntn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2010, 06:16 PM
  7. Replies: 6
    Last Post: 03-31-2009, 11:17 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