If you could post some sample data it would help other understand what you are dealing with. Again would simply sorting the data based on the name not work for you?
Sure, no problem!
Here is a list of random names (very small sample, actual list has ~8000 names)
They are already sorted alphabetically. I'm looking for some sort of way to flag any names that are similar or partially matched. It is easy enough to flag duplicates but I am interested in flagging names such as those highlighted below.
[TABLE="width: 183"]
<tbody>[TR]
[TD]Gregory J. Mason[/TD]
[/TR]
[TR]
[TD]
Gregory J. Meyer[/TD]
[/TR]
[TR]
[TD]Gregory J. Rhoad[/TD]
[/TR]
[TR]
[TD]Gregory J. Strodt[/TD]
[/TR]
[TR]
[TD]Gregory J. Zicarelli[/TD]
[/TR]
[TR]
[TD]Gregory K. Albert[/TD]
[/TR]
[TR]
[TD]Gregory M. Faber[/TD]
[/TR]
[TR]
[TD]Gregory M. Flucl[/TD]
[/TR]
[TR]
[TD]Gregory M. Lang[/TD]
[/TR]
[TR]
[TD]Gregory N. Lars[/TD]
[/TR]
[TR]
[TD]
Gregory N. Meyers[/TD]
[/TR]
[TR]
[TD]Gregory P. Eng[/TD]
[/TR]
[TR]
[TD]Gregory P. Fran[/TD]
[/TR]
[TR]
[TD]Gregory R. Lu[/TD]
[/TR]
[TR]
[TD]Gregory R. Weis[/TD]
[/TR]
[TR]
[TD]Gregory S. Ang[/TD]
[/TR]
[TR]
[TD]Gregory S. Car[/TD]
[/TR]
[TR]
[TD]Gregory S. McKill
[TABLE="width: 183"]
<tbody>[TR]
[TD]
Elizabeth H. Mueller[/TD]
[/TR]
[TR]
[TD]Elizabeth J. Hee[/TD]
[/TR]
[TR]
[TD]Elizabeth J. Morr[/TD]
[/TR]
[TR]
[TD]Elizabeth L. Szym[/TD]
[/TR]
[TR]
[TD]Elizabeth L. Wyns[/TD]
[/TR]
[TR]
[TD]Elizabeth M. Garre[/TD]
[/TR]
[TR]
[TD]Elizabeth M. Gilh[/TD]
[/TR]
[TR]
[TD]Elizabeth M. Karst[/TD]
[/TR]
[TR]
[TD]
Elizabeth M. Mueller[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[TABLE="width: 183"]
<tbody>[TR]
[TD]
Thomas B. Ward[/TD]
[/TR]
[TR]
[TD]Thomas C. Bes[/TD]
[/TR]
[TR]
[TD]Thomas C. Hill[/TD]
[/TR]
[TR]
[TD]Thomas C. Mies[/TD]
[/TR]
[TR]
[TD]Thomas C. Ru[/TD]
[/TR]
[TR]
[TD]Thomas D. Zedri[/TD]
[/TR]
[TR]
[TD]Thomas E. La[/TD]
[/TR]
[TR]
[TD]Thomas E. Rosenwink[/TD]
[/TR]
[TR]
[TD]Thomas F. Kers[/TD]
[/TR]
[TR]
[TD]Thomas F. Peter[/TD]
[/TR]
[TR]
[TD]Thomas G. Shoa[/TD]
[/TR]
[TR]
[TD]Thomas G. Walz[/TD]
[/TR]
[TR]
[TD]Thomas I. Culne V[/TD]
[/TR]
[TR]
[TD]Thomas J. Busman[/TD]
[/TR]
[TR]
[TD]Thomas J. Davon[/TD]
[/TR]
[TR]
[TD]Thomas J. Kras[/TD]
[/TR]
[TR]
[TD]Thomas J. Nod[/TD]
[/TR]
[TR]
[TD]Thomas J. Paqun[/TD]
[/TR]
[TR]
[TD]Thomas J. Pluk[/TD]
[/TR]
[TR]
[TD]Thomas J. Root [/TD]
[/TR]
[TR]
[TD]Thomas J. Smot[/TD]
[/TR]
[TR]
[TD]Thomas J. Stam[/TD]
[/TR]
[TR]
[TD]Thomas J. Tkc[/TD]
[/TR]
[TR]
[TD]Thomas J. Tr[/TD]
[/TR]
[TR]
[TD]Thomas J. Yos[/TD]
[/TR]
[TR]
[TD]Thomas K. Marma[/TD]
[/TR]
[TR]
[TD]Thomas L. Willi[/TD]
[/TR]
[TR]
[TD]Thomas M. Gord[/TD]
[/TR]
[TR]
[TD]Thomas M. Gro[/TD]
[/TR]
[TR]
[TD]Thomas M. Johnson-Kai[/TD]
[/TR]
[TR]
[TD]Thomas M. Kel[/TD]
[/TR]
[TR]
[TD]Thomas M. Pay[/TD]
[/TR]
[TR]
[TD]Thomas M. Rags[/TD]
[/TR]
[TR]
[TD]Thomas M. Sax[/TD]
[/TR]
[TR]
[TD]Thomas N. Churc[/TD]
[/TR]
[TR]
[TD]Thomas N. Greenf[/TD]
[/TR]
[TR]
[TD]Thomas P. Hic[/TD]
[/TR]
[TR]
[TD]Thomas P. Janka[/TD]
[/TR]
[TR]
[TD]Thomas P. Kenea[/TD]
[/TR]
[TR]
[TD]Thomas P. McK[/TD]
[/TR]
[TR]
[TD]Thomas P. Smi[/TD]
[/TR]
[TR]
[TD]Thomas Patrick D. Mar[/TD]
[/TR]
[TR]
[TD]Thomas R. Bro[/TD]
[/TR]
[TR]
[TD]Thomas R. Ger[/TD]
[/TR]
[TR]
[TD]Thomas R. Hendric[/TD]
[/TR]
[TR]
[TD]Thomas R. Ho[/TD]
[/TR]
[TR]
[TD]Thomas R. Ho[/TD]
[/TR]
[TR]
[TD]Thomas R. Ku[/TD]
[/TR]
[TR]
[TD]Thomas R. Pau[/TD]
[/TR]
[TR]
[TD]Thomas S. Cur[/TD]
[/TR]
[TR]
[TD]Thomas S. Fans[/TD]
[/TR]
[TR]
[TD]Thomas S. Muhlha[/TD]
[/TR]
[TR]
[TD]Thomas W. Brem[/TD]
[/TR]
[TR]
[TD]Thomas W. Parki[/TD]
[/TR]
[TR]
[TD]Tianxiang Xiong[/TD]
[/TR]
[TR]
[TD]Tianyu Du[/TD]
[/TR]
[TR]
[TD]Tiffany A. Pendl[/TD]
[/TR]
[TR]
[TD]Tiffany C. Bloomfie[/TD]
[/TR]
[TR]
[TD]Tiffany F. Sand[/TD]
[/TR]
[TR]
[TD]Tiffany H. Zh[/TD]
[/TR]
[TR]
[TD]Tiffany K. Ngu[/TD]
[/TR]
[TR]
[TD]Tiffany Ki[/TD]
[/TR]
[TR]
[TD]Tiffany N. Roge[/TD]
[/TR]
[TR]
[TD]Tiffany N. Terd[/TD]
[/TR]
[TR]
[TD]Tiffany T. Ch[/TD]
[/TR]
[TR]
[TD]Tim A. Scha[/TD]
[/TR]
[TR]
[TD]Timothy A. Aub[/TD]
[/TR]
[TR]
[TD]Timothy A. Bowl[/TD]
[/TR]
[TR]
[TD]Timothy A. Ert[/TD]
[/TR]
[TR]
[TD]Timothy A. Pars[/TD]
[/TR]
[TR]
[TD]Timothy B. Neu[/TD]
[/TR]
[TR]
[TD]Timothy B. Willi[/TD]
[/TR]
[TR]
[TD]Timothy C. Bah[/TD]
[/TR]
[TR]
[TD]Timothy C. Ell[/TD]
[/TR]
[TR]
[TD]Timothy C. Fehli[/TD]
[/TR]
[TR]
[TD]Timothy C. Leu[/TD]
[/TR]
[TR]
[TD]Timothy C. Morr[/TD]
[/TR]
[TR]
[TD]Timothy C. Pauko[/TD]
[/TR]
[TR]
[TD]Timothy D. Bart[/TD]
[/TR]
[TR]
[TD]Timothy D. Bau[/TD]
[/TR]
[TR]
[TD]Timothy D. Ber[/TD]
[/TR]
[TR]
[TD]Timothy D. Bjer[/TD]
[/TR]
[TR]
[TD]Timothy D. Lauers[/TD]
[/TR]
[TR]
[TD]Timothy D. Mei[/TD]
[/TR]
[TR]
[TD]Timothy D. Pier[/TD]
[/TR]
[TR]
[TD]Timothy D. Treff[/TD]
[/TR]
[TR]
[TD]Timothy E. Stolld[/TD]
[/TR]
[TR]
[TD]Timothy E. Szi[/TD]
[/TR]
[TR]
[TD]Timothy F. Giese[/TD]
[/TR]
[TR]
[TD]Timothy G. Clu[/TD]
[/TR]
[TR]
[TD]Timothy G. Poll[/TD]
[/TR]
[TR]
[TD]Timothy J. Barr[/TD]
[/TR]
[TR]
[TD]Timothy J. Bouw[/TD]
[/TR]
[TR]
[TD]Timothy J. Brug[/TD]
[/TR]
[TR]
[TD]Timothy J. Dupp[/TD]
[/TR]
[TR]
[TD]Timothy J. Holl[/TD]
[/TR]
[TR]
[TD]Timothy J. Kess[/TD]
[/TR]
[TR]
[TD]Timothy J. Kniht[/TD]
[/TR]
[TR]
[TD]Timothy J. Kotov[/TD]
[/TR]
[TR]
[TD]Timothy J. Muel[/TD]
[/TR]
[TR]
[TD]Timothy J. Parso[/TD]
[/TR]
[TR]
[TD]Timothy J. Potm[/TD]
[/TR]
[TR]
[TD]Timothy J. Stra[/TD]
[/TR]
[TR]
[TD]Timothy J. Tur[/TD]
[/TR]
[TR]
[TD]Timothy J. Wo[/TD]
[/TR]
[TR]
[TD]Timothy K. Lo[/TD]
[/TR]
[TR]
[TD]Timothy Kim[/TD]
[/TR]
[TR]
[TD]Timothy L. Feyerei[/TD]
[/TR]
[TR]
[TD]Timothy L. Schuma[/TD]
[/TR]
[TR]
[TD]Timothy Lop[/TD]
[/TR]
[TR]
[TD]Timothy M. Avi[/TD]
[/TR]
[TR]
[TD]Timothy M. Lesl[/TD]
[/TR]
[TR]
[TD]Timothy M. Mil[/TD]
[/TR]
[TR]
[TD]Timothy P. Balca[/TD]
[/TR]
[TR]
[TD]Timothy P. Ke[/TD]
[/TR]
[TR]
[TD]Timothy P. Tho[/TD]
[/TR]
[TR]
[TD]Timothy R. Dona[/TD]
[/TR]
[TR]
[TD]Timothy R. Flee[/TD]
[/TR]
[TR]
[TD]Timothy R. Mah[/TD]
[/TR]
[TR]
[TD]Timothy R. Re[/TD]
[/TR]
[TR]
[TD]Timothy S. Brag[/TD]
[/TR]
[TR]
[TD]Timothy S. Ki[/TD]
[/TR]
[TR]
[TD]Timothy T. Toe[/TD]
[/TR]
[TR]
[TD]Timothy W. Esc[/TD]
[/TR]
[TR]
[TD]Timothy W. Har[/TD]
[/TR]
[TR]
[TD]Timothy Y. Hu[/TD]
[/TR]
[TR]
[TD]Timur I. Nezhmet[/TD]
[/TR]
[TR]
[TD]Tina A. Perki[/TD]
[/TR]
[TR]
[TD]Tina M. But[/TD]
[/TR]
[TR]
[TD]Tobi J. Fish[/TD]
[/TR]
[TR]
[TD]Tobias B. Mol[/TD]
[/TR]
[TR]
[TD]Tobias P. Torge[/TD]
[/TR]
[TR]
[TD]Tobias S. Zuer[/TD]
[/TR]
[TR]
[TD]Tobin C. Laur[/TD]
[/TR]
[TR]
[TD]Toby D. Aus[/TD]
[/TR]
[TR]
[TD]Toby D. He[/TD]
[/TR]
[TR]
[TD]Tod B. Slo[/TD]
[/TR]
[TR]
[TD]Todd D. Clar[/TD]
[/TR]
[TR]
[TD]Todd J. Hoffm[/TD]
[/TR]
[TR]
[TD]Todd P. Simm[/TD]
[/TR]
[TR]
[TD]Todd R. Weg[/TD]
[/TR]
[TR]
[TD]Todd S. Dal[/TD]
[/TR]
[TR]
[TD]Todd Walo[/TD]
[/TR]
[TR]
[TD]
Tom F. Ward
Any ideas?? [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]