Forum Discussion
How to remove values that show up more than once NOT just duplicates
- Apr 16, 2020
Couple of more variants as here
To simplify a bit we will ignore dynamic ranges. Formulas could be
In E2
=IFNA( LOOKUP(2, 1/((COUNTIF($E$1:E1,$A$2:$A$100)=0)* (COUNTIF($A$2:$A$100,$A$2:$A$100)=1)), $A$2:$A$100), "")in F2
=IFNA(INDEX(B$2:B$10,MATCH($E2,$A$2:$A$10,0)),"")in G2
=IFNA(INDEX(C$2:C$10,MATCH($E2,$A$2:$A$10,0)),"")and drag all of them down till empty cells appear.
If data shall be in same order as in source table, when in I2
=IFERROR( INDEX( $A$2:$A$100, AGGREGATE(15,6, 1/((COUNTIF($I$1:I1,$A$2:$A$100)=0)* (COUNTIF($A$2:$A$100,$A$2:$A$100)=1))* (ROW($A$2:$A$100)-ROW($A$1)),1 ) ), "")Rest is similar.
Also, for the formula to work I think you need Excel 2016, Office 365, or anything newer for it to work.
The above link is a good resource for explaining SPILL/Dynamic formulas. If the formula doesn't work let me know.
- Jack_BumgarnerApr 16, 2020Former Employee
Hello,
For older Excel files, one thing you can try instead is use the COUNTIF() in a separate empty column and then you can filter down manually.
Use the formula
=COUNTIF(A:A,A1)
in the empty column instead. Drag the formula down to the bottom of your data. Afterward you should be able to manually filter down to lines with a "1" and you should get the same result.
Let me know if this doesn't work.
Regards,
-Jack B.
- shade206Apr 16, 2020Brass ContributorNo, that is not the solution i'm looking for as all that does is count how many times a value is presented, not count only the values that have showed up only once.
any other ideas?- shade206Apr 16, 2020Brass ContributorAlso, im using Office 365, so im not sure why your first formula didnt work
- wumoladApr 16, 2020Steel Contributor
Jack_Bumgarner shade206 This should work for the purpose.