Hello,
Please see the attached file.
I want the result of unique/distinct name based on multiple criteria.
Thanks!
Hello,
Please see the attached file.
I want the result of unique/distinct name based on multiple criteria.
Thanks!
If I've been of help, plz add reputation.
Try this -
See the file attached..Please Login or Register to view this content.
Cheers!
Deep Dave
Awesome, thanks for the code but one more thing:-
The only thing that this code doesn't consider is the date criteria. I have like thousands of rows with different dates.
Just need the date criteria in the code and I can give date as a cell reference in my main sheet.
How do you want the date to be influencing the code?
Can you clarify a bit?
Suppose I have 100 rows of data with different dates, I want to have a date in a cell and retrieve the result of distinct names for specific time intervals for that specific date.
For a part of my question I was able to get just the count with this array formula :- =SUM(IF(($B$4=$B$2:$B$14)*($C$2:$C$14=$C$2),1/COUNTIFS($B$2:$B$14,$B$4,$A$2:$A$14,$A$2:$A$14,$C$2:$C$14,$C$2),0))
getting the unique names as well with your code is just awesome for me.
hope this is clear.
thanks!
I guess this should do it..
Assuming you have your date in Cell H1
Please Login or Register to view this content.
Aaaweesomeeeeeee... Thanks a ton!
Glad I could help!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks