I used a helper column to identify the records that matched your criteria. The formula used in the first worksheet J2 and filled down:
Formula:
=IF(COUNTIF($A$2:$A$5064,A2)=1,A2,IF(AND(COUNTIF($A$2:$A$5064,A2)>1,COUNTIF($A$2:A2,A2)=1),"",IF(AND(COUNTIF($A$2:$A$5064,A2)>1,COUNTIF($A$2:A2,A2)=1),A2,IF(AND(COUNTIF($A$2:$A$5064,A2)>1,COUNTIF($A$2:A2,A2)=2),A2,""))))
I created a second worksheet called Extract and used the headers from the first worksheet.
Enter this in A2 and fill across and down:
Formula:
=IFERROR(INDEX(_4Q2013DiamondPartnerforExcel!A$2:A$5064,SMALL(IF(_4Q2013DiamondPartnerforExcel!J$2:$J$5064<>"",ROW(_4Q2013DiamondPartnerforExcel!J$2:$J$5064)-MIN(ROW(_4Q2013DiamondPartnerforExcel!J$2:$J$5064))+1),ROWS($1:1))),"")
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
In the workbook, I also used a filter to show that the records could be filtered after applying the first formula.
Bookmarks