How to count unique distinct occurrences for each date in excel
Question: How to count unique distinct values on the same date?
Answer:
Array formula in D3:
Copy cell and paste it down as far as needed.
Named ranges
Date (B3:B11)
Item (C3:C11)
What is named ranges?
What is unique distinct values?
Unique distinct values are all values but duplicates are merged into one value.
Download excel sample file
Count unique occurence from each date.xls
(Excel 97-2003 Workbook *.xls)
Functions in this article:
IF(logical_test;[value_if:true];[value_if_false]) Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE
SUM(number1,[number2],)
Adds all the numbers in a range of cells
COUNTIF(range,criteria)
Counts the number of cells within a range that meet the given condition
FREQUENCY(data_array, bins_array)
Calculates how often values occur within a range of values and then returns a vertical array of numbers having one more element than Bins_array.
Related blog posts
- Count unique distinct values using date criteria in a range in excel
- Count unique distinct records in a date range and a numeric range in excel
- Count unique distinct text values in a range in excel
- Count unique values and unique distinct values in two ranges combined
- Count unique distinct values within same week, month or year in excel








September 30th, 2011 at 12:48 am
How would I modify this formula to then allow me to filter another row of data?
For example, if there was a yes / no entry in column e, that would then further pair down the entries from 3 to between 3-0. Is it possible to do this with this formula? The formula works great for counting the unique occurrencies based on two columns, but I would like to add a third column requirement that I can move around to then filter information as needed.
Thanks,
Dave
October 6th, 2011 at 9:04 pm
David,
Formula in cell D3: