I have a spreadsheet like the one below.
I want to be able to create a macro or formula to remove rows of data that have less than 3 matching names. Example: I would want something to be able to remove Doe,Jen...Matthews, Sarah...etc...My excel sheet has over 700 rows that I would have to go through and that would take forever.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Smith,John[/TD]
[TD]$1,896.56[/TD]
[/TR]
[TR]
[TD]Smith,John[/TD]
[TD]$4,678.45[/TD]
[/TR]
[TR]
[TD]Smith,John[/TD]
[TD]$2,467.89[/TD]
[/TR]
[TR]
[TD]Doe,Jen[/TD]
[TD]$3,678.21[/TD]
[/TR]
[TR]
[TD]White,Paul [/TD]
[TD]$6,496.12[/TD]
[/TR]
[TR]
[TD]White,Paul[/TD]
[TD]$1,339.74[/TD]
[/TR]
[TR]
[TD]White,Paul[/TD]
[TD]$2,892.99[/TD]
[/TR]
[TR]
[TD]Matthews,Sarah[/TD]
[TD]$4,294.77[/TD]
[/TR]
</tbody>[/TABLE]
I want to be able to create a macro or formula to remove rows of data that have less than 3 matching names. Example: I would want something to be able to remove Doe,Jen...Matthews, Sarah...etc...My excel sheet has over 700 rows that I would have to go through and that would take forever.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Smith,John[/TD]
[TD]$1,896.56[/TD]
[/TR]
[TR]
[TD]Smith,John[/TD]
[TD]$4,678.45[/TD]
[/TR]
[TR]
[TD]Smith,John[/TD]
[TD]$2,467.89[/TD]
[/TR]
[TR]
[TD]Doe,Jen[/TD]
[TD]$3,678.21[/TD]
[/TR]
[TR]
[TD]White,Paul [/TD]
[TD]$6,496.12[/TD]
[/TR]
[TR]
[TD]White,Paul[/TD]
[TD]$1,339.74[/TD]
[/TR]
[TR]
[TD]White,Paul[/TD]
[TD]$2,892.99[/TD]
[/TR]
[TR]
[TD]Matthews,Sarah[/TD]
[TD]$4,294.77[/TD]
[/TR]
</tbody>[/TABLE]