# Help with dynamic unique list

Status
Not open for further replies.

#### qwertytrewq

##### New Member
i have data from which i need to extract unique list. i have everything up and running but my data has lot more rows n columns and excel takes forever to calculate it. Please suggest way to simplify these formula to cut back on processing time or any other way to get the desired dynamic list.

 Column A Column B Column C Column D Column E Column F Column G Column H Column I Column J Column K Column L Column M Column N Column O Below is Sample Data Below is Calculation step to get Unique Value in Sequence as in Sample Data Below is Desired Dynamic List obtained from Sample Data Sample Data related to the sample Sample Data related to the names First Name Last Name data1 data2 data3 First Name Last Name data1 data2 data3 John Doe x y z John ; Doe Jane ; Dou John ; Dow John Dow z x y John Dow z x y John ; Dow Jane ; Dow John ; Dou John Dou x z y John Dou x z y John ; Dou Jane ; Doe John ; Doe John Doe x y z John Doe y z x John ; Doe John ; Doe Jane ; Doe Jane Doe y x z Jane Doe y x z Jane ; Doe John ; Dou Jane ; Dow Jane Dow z y x Jane Dow z y x Jane ; Dow John ; Dow Jane ; Dou Jane Dou x x x Jane Dou x x x Jane ; Dou Jane Dou y y y Jane ; Dou

<colgroup><col width="94" span="15" style="width:71pt"> </colgroup><tbody>
</tbody>

Formula in G5 : =A5&" ; "&B5
Formula in H5 : =IFERROR(LOOKUP(2,1/(COUNTIF(\$H\$4:H4,\$G\$5:\$G\$12)=0),\$G\$5:\$G\$12),"")
Formula in I5 : =IFERROR(LOOKUP(2,1/(COUNTIF(\$I\$4:I4,\$H\$5:\$H\$12)=0),\$H\$5:\$H\$12),"")
Formula in K5 : =LEFT(I5,SEARCH(" ; ",I5)-1)
Formula in L5 : =RIGHT(I5,LEN(I5)-SEARCH(" ; ",I5)-2)
Formula in M5 : =INDEX(\$C\$5:\$C\$12,MATCH(1,INDEX((K5=\$A\$5:\$A\$12)*(L5=\$B\$5:\$B\$12),0,1),0))
Formula in N5 : =INDEX(\$D\$5:\$D\$12,MATCH(1,INDEX((K5=\$A\$5:\$A\$12)*(L5=\$B\$5:\$B\$12),0,1),0))
Formula in O5 : =INDEX(\$E\$5:\$E\$12,MATCH(1,INDEX((K5=\$A\$5:\$A\$12)*(L5=\$B\$5:\$B\$12),0,1),0))

Thanks for looking into this.

### Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

#### qwertytrewq

##### New Member
Correction in table - Shift H4 three cells to right

 Column A Column B Column C Column D Column E Column F Column G Column H Column I Column J Column K Column L Column M Column N Column O Below is Sample Data Below is Calculation step to get Unique Value in Sequence as in Sample Data Below is Desired Dynamic List obtained from Sample Data Sample Data related to the sample Sample Data related to the names First Name Last Name data1 data2 data3 First Name Last Name data1 data2 data3 John Doe x y z John ; Doe Jane ; Dou John ; Dow John Dow z x y John Dow z x y John ; Dow Jane ; Dow John ; Dou John Dou x z y John Dou x z y John ; Dou Jane ; Doe John ; Doe John Doe x y z John Doe y z x John ; Doe John ; Doe Jane ; Doe Jane Doe y x z Jane Doe y x z Jane ; Doe John ; Dou Jane ; Dow Jane Dow z y x Jane Dow z y x Jane ; Dow John ; Dow Jane ; Dou Jane Dou x x x Jane Dou x x x Jane ; Dou Jane Dou y y y Jane ; Dou

<colgroup><col width="94" span="15" style="width:71pt"> </colgroup><tbody>
</tbody>

#### qwertytrewq

##### New Member
Correction - Shift H3 three cells to the right i.e. "Sample" to be in K3:L3 and "Data related to the names" in M3:MO3

#### Fluff

##### MrExcel MVP, Moderator
Status
Not open for further replies.

Replies
3
Views
394
Replies
9
Views
279
Replies
3
Views
214
Replies
8
Views
88
Replies
7
Views
45