|
-
Jun 1st, 2006, 01:26 PM
#1
Thread Starter
New Member
Closest Match
Excel VBA:
Is there a way to check a string against a list of other strings and find it's closest match.
E.G
<List>
Freddie
Mr Fred
Mr Freddy
Fred Jnr
Isabel
Uncle Sam
<Input String>
Fredy
In this case it would be closer to Mr Freddy, how can i do that in code.
Even if i get a % match for each one i can then use the highest %.
So is this unmanagable??
Last edited by arnie1066; Jun 5th, 2006 at 06:50 AM.
-
Jun 6th, 2006, 07:20 AM
#2
Re: Closest Match
uh yeah - in simplistic terms.
I think you could read up on phonetics of words, then match phonetics perhaps?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 7th, 2006, 01:03 AM
#3
Thread Starter
New Member
Re: Closest Match
Thanks for the reply, just checked out phonetics in VBA and all of the strings are in chineese.
Could you give me an example of code or the main command so i can check further. The info on 'Phonetics' in vba seems to want to add strings (in chineese) to a cell, nothing about comparing.
I'm sure i'm missing something so if you could point a little more precise it would be a great help, cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|