excel - Formula To Remove Some, But Not All, Duplicates From A List -
i have list containing different words , numbers, sample of follows:
green blue 14 green yellow 11 yellow green green 14
i create parallel list removes every unique word/number every second instance of word/number - removes duplicates not all. continue above example, final list follows:
green 14 yellow green
as there 4 'green' in original list, there 2 in final list. there 2 'yellow' in original , 1 in final, , there single instances of blue , 11, these removed final list.
is there formula or methodology so? unfortunately haven't been able think of clever myself.
many in advance!
=or(countifs($a:$a,$a2)=1,int(countifs($a$2:$a2,$a2)/2)*2=countifs($a$2:$a2,$a2))
if it's either duplicate or unique, marked true
. make sure delete true
values @ once/disable automatic calculation, otherwise it'll mark odd duplicates after deleting prior occurrences.
Comments
Post a Comment