Forum Discussion
balaram51
Aug 03, 2019Copper Contributor
extract unique values matching a text string
I have two columns (A and B). Column A contains the dates and Column B contains the names of people who are required to attend the duty. Now based on this can i have names of people and just below th...
Twifoo
Aug 07, 2019Silver Contributor
I copied your data to the attached file. The formula in D2, copied down rows and across columns, is:
=IF(ROW()-1>SUMPRODUCT(--ISNUMBER(FIND(D$1,$B$2:$B$7))),"",
LOOKUP(2,1/(FREQUENCY(0,1/(1+(
1/$A$2:$A$7*ISNUMBER(FIND(D$1,$B$2:$B$7))*(COUNTIF(D$1:D1,$A$2:$A$7)=0))))),
$A$2:$A$7))
Note that the results for Ronny and Max in your screenshot are incorrect.