Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Similar Cell Data Comparison?

Is there any function or add-on that can allow me to compare two cells and
provide some type of similarity score? Would like to determine matches such
as "John Smith" to "Johnny Smith Jr.", or "5006" to 50006" at to flag those
rows some how.

Thanks for any ideas.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Similar Cell Data Comparison?

Hi Al, I don't believe VBA is quite that smart yet. However, if you have
some commonality in the data such as using the first initial and last name
(J. Smith), you could probably write some code to search out those portions
of all names. You could also use the Like operator with wild cards to look
for partial data sets (*smit*). If there is a regular pattern, you can use
Left, Right or Mid functions to capture part of a data set for comparison.
But I don't know of a function that is smart enough to look variations and
typos.

"Al Franz" wrote:

Is there any function or add-on that can allow me to compare two cells and
provide some type of similarity score? Would like to determine matches such
as "John Smith" to "Johnny Smith Jr.", or "5006" to 50006" at to flag those
rows some how.

Thanks for any ideas.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Similar Cell Data Comparison?

For the numbers,
if you know the number is suspose to be a 4 digit number, then you can flag
any 5 numbers.

"Al Franz" wrote in message
...
Is there any function or add-on that can allow me to compare two cells and
provide some type of similarity score? Would like to determine matches
such as "John Smith" to "Johnny Smith Jr.", or "5006" to 50006" at to flag
those rows some how.

Thanks for any ideas.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
comparison similar rows in Excel mareks1234 Excel Discussion (Misc queries) 9 April 25th 07 09:48 PM
Comparison between two similar strings Matt[_45_] Excel Programming 1 February 2nd 07 01:38 PM
Complex comparison of Columns of Data: Extracting unique records after comparison on 4 levels ap Excel Programming 2 January 23rd 07 10:12 AM
similar vs. exact comparison dave in Toronto Excel Discussion (Misc queries) 1 August 31st 05 10:36 PM
Similar vs. Exact comparison dave in Toronto Excel Programming 3 August 31st 05 10:34 PM


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"