qwertytrewq
New Member
- Joined
- Apr 19, 2018
- Messages
- 9
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.
[TABLE="class: grid, width: 1410"]
<colgroup><col width="94" span="15" style="width:71pt"> </colgroup><tbody>[TR]
[TD="width: 94"]Column A[/TD]
[TD="width: 94"]Column B[/TD]
[TD="width: 94"]Column C[/TD]
[TD="width: 94"]Column D[/TD]
[TD="width: 94"]Column E[/TD]
[TD="width: 94"]Column F[/TD]
[TD="width: 94"]Column G[/TD]
[TD="width: 94"]Column H[/TD]
[TD="width: 94"]Column I[/TD]
[TD="width: 94"]Column J[/TD]
[TD="width: 94"]Column K[/TD]
[TD="width: 94"]Column L[/TD]
[TD="width: 94"]Column M[/TD]
[TD="width: 94"]Column N[/TD]
[TD="width: 94"]Column O[/TD]
[/TR]
[TR]
[TD="colspan: 5"]Below is Sample Data[/TD]
[TD][/TD]
[TD="width: 282, colspan: 3"]Below is Calculation step to get Unique Value in Sequence as in Sample Data[/TD]
[TD][/TD]
[TD="colspan: 5"]Below is Desired Dynamic List obtained from Sample Data[/TD]
[/TR]
[TR]
[TD="colspan: 2"]Sample[/TD]
[TD="colspan: 3"]Data related to the sample[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]Sample[/TD]
[TD="colspan: 3"]Data related to the names[/TD]
[/TR]
[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]data1[/TD]
[TD]data2[/TD]
[TD]data3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]data1[/TD]
[TD]data2[/TD]
[TD]data3[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Doe[/TD]
[TD]x[/TD]
[TD]y[/TD]
[TD]z[/TD]
[TD][/TD]
[TD]John ; Doe[/TD]
[TD]Jane ; Dou[/TD]
[TD]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[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Dou[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]Jane ; Dou[/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Dou[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD][/TD]
[TD]Jane ; Dou[/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
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.
[TABLE="class: grid, width: 1410"]
<colgroup><col width="94" span="15" style="width:71pt"> </colgroup><tbody>[TR]
[TD="width: 94"]Column A[/TD]
[TD="width: 94"]Column B[/TD]
[TD="width: 94"]Column C[/TD]
[TD="width: 94"]Column D[/TD]
[TD="width: 94"]Column E[/TD]
[TD="width: 94"]Column F[/TD]
[TD="width: 94"]Column G[/TD]
[TD="width: 94"]Column H[/TD]
[TD="width: 94"]Column I[/TD]
[TD="width: 94"]Column J[/TD]
[TD="width: 94"]Column K[/TD]
[TD="width: 94"]Column L[/TD]
[TD="width: 94"]Column M[/TD]
[TD="width: 94"]Column N[/TD]
[TD="width: 94"]Column O[/TD]
[/TR]
[TR]
[TD="colspan: 5"]Below is Sample Data[/TD]
[TD][/TD]
[TD="width: 282, colspan: 3"]Below is Calculation step to get Unique Value in Sequence as in Sample Data[/TD]
[TD][/TD]
[TD="colspan: 5"]Below is Desired Dynamic List obtained from Sample Data[/TD]
[/TR]
[TR]
[TD="colspan: 2"]Sample[/TD]
[TD="colspan: 3"]Data related to the sample[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]Sample[/TD]
[TD="colspan: 3"]Data related to the names[/TD]
[/TR]
[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]data1[/TD]
[TD]data2[/TD]
[TD]data3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]data1[/TD]
[TD]data2[/TD]
[TD]data3[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Doe[/TD]
[TD]x[/TD]
[TD]y[/TD]
[TD]z[/TD]
[TD][/TD]
[TD]John ; Doe[/TD]
[TD]Jane ; Dou[/TD]
[TD]John ; Dow[/TD]
[TD][/TD]
[TD]John[/TD]
[TD]Dow[/TD]
[TD]z[/TD]
[TD]x[/TD]
[TD]y[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Dow[/TD]
[TD]z[/TD]
[TD]x[/TD]
[TD]y[/TD]
[TD][/TD]
[TD]John ; Dow[/TD]
[TD]Jane ; Dow[/TD]
[TD]John ; Dou[/TD]
[TD][/TD]
[TD]John[/TD]
[TD]Dou[/TD]
[TD]x[/TD]
[TD]z[/TD]
[TD]y[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Dou[/TD]
[TD]x[/TD]
[TD]z[/TD]
[TD]y[/TD]
[TD][/TD]
[TD]John ; Dou[/TD]
[TD]Jane ; Doe[/TD]
[TD]John ; Doe[/TD]
[TD][/TD]
[TD]John[/TD]
[TD]Doe[/TD]
[TD]x[/TD]
[TD]y[/TD]
[TD]z[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Doe[/TD]
[TD]y[/TD]
[TD]z[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]John ; Doe[/TD]
[TD]John ; Doe[/TD]
[TD]Jane ; Doe[/TD]
[TD][/TD]
[TD]Jane[/TD]
[TD]Doe[/TD]
[TD]y[/TD]
[TD]x[/TD]
[TD]z[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Doe[/TD]
[TD]y[/TD]
[TD]x[/TD]
[TD]z[/TD]
[TD][/TD]
[TD]Jane ; Doe[/TD]
[TD]John ; Dou[/TD]
[TD]Jane ; Dow[/TD]
[TD][/TD]
[TD]Jane[/TD]
[TD]Dow[/TD]
[TD]z[/TD]
[TD]y[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Dow[/TD]
[TD]z[/TD]
[TD]y[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]Jane ; Dow[/TD]
[TD]John ; Dow[/TD]
[TD]Jane ; Dou[/TD]
[TD][/TD]
[TD]Jane[/TD]
[TD]Dou[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Dou[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]Jane ; Dou[/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Dou[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD][/TD]
[TD]Jane ; Dou[/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
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.