Hi Excel Experts,
I found this awesome formula from below URL:-
http://www.mrexcel.com/forum/excel-q...nge-cells.html
The contributed formula counts how many unique values in rows and omits errors and blanks. However, this only applicable for one column. What I'm trying to achieve is something extra. I need to calculate how many Users (based on User ID) that access a system on the same date. So, my count must consider the date as well before populates output. Below is my data:-
UserID Date
V03751X 14/3/2016
V03751X 15/3/2016
V04046X 14/3/2016
V03658X 15/3/2016
V03751X 14/3/2016
V03752X 14/3/2016
So, on date 14/3/2016, the result should be 3 and on 15/3/2016 should be 2.
I tried below, but returned error or '0' :-
=SUM(IF(1-ISERROR($J$16:$J$21),IF($J$16:$J$21<>"",1))/COUNTIFS($K$16:$K$21,$K21,$J$16:$J$21,$J$16:$J$21&""))
with Ctrl+Shift+Enter
=SUM(IF(FREQUENCY(IF(1-ISERROR($J$16:$J$21),IF($J$16:$J$21<>"",AND(MATCH(K16,$K$16:$K$21,0),MATCH("~"&$J$16:$J$21,$J$16:$J$21&"",0)))),ROW($J$16:$J$21)-ROW($J$16)+1),1))
with Ctrl+Shift+Enter
Appreciate your expertise.
Thank you in advance.
DZ
Bookmarks