Hi,
I need a formula to extract only the first occurrence of the data or unique records I can say. The formula should
look all the 3 columns in a row and should treat it as a duplicate if all the 3 cells are equal - otherwise not.
here is a sample data in A2:C17
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]Article[/TD]
[TD="class: xl65, width: 64"]Quality[/TD]
[TD="class: xl65, width: 64"]Unit[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]BB[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]DD[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]EE[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]BB[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]DD[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
</tbody>[/TABLE]
unique data required in columns H2:J17
in the above case the answer in H2:J17 would be
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]Article[/TD]
[TD="class: xl65, width: 64"]Quality[/TD]
[TD="class: xl65, width: 64"]Unit[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]BB[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]DD[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]EE[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
</tbody>[/TABLE]
Rest all rows till 17 will show blanks as there is no more unique data.
If any one can provide a solution
Regards,
Humayun
I need a formula to extract only the first occurrence of the data or unique records I can say. The formula should
look all the 3 columns in a row and should treat it as a duplicate if all the 3 cells are equal - otherwise not.
here is a sample data in A2:C17
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]Article[/TD]
[TD="class: xl65, width: 64"]Quality[/TD]
[TD="class: xl65, width: 64"]Unit[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]BB[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]DD[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]EE[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]BB[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]DD[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
</tbody>[/TABLE]
unique data required in columns H2:J17
in the above case the answer in H2:J17 would be
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]Article[/TD]
[TD="class: xl65, width: 64"]Quality[/TD]
[TD="class: xl65, width: 64"]Unit[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]Kgs[/TD]
[/TR]
[TR]
[TD="class: xl66"]BB[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]DD[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]EE[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]Pair[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Dozen[/TD]
[/TR]
[TR]
[TD="class: xl66"]AA[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]Grams[/TD]
[/TR]
</tbody>[/TABLE]
Rest all rows till 17 will show blanks as there is no more unique data.
If any one can provide a solution
Regards,
Humayun