Solved

Microsoft Excel VLOOKUP Help Needed

Posted on 2012-03-30
2
309 Views
Last Modified: 2012-06-27
Is there a vlookup formula to see if names of two clients (for example) resemble one another but may not be exact matches? for example may be company ABC LLC and company ABC, they match just minor differences.
0
Comment
Question by:mmcgillo88
2 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 37790908
There are algorithms for fuzzy string comparison.  You might apply one of these and determine at what level you consider the two strings 'similar'.

Our .Net user group had a coding contest a few months ago, to code up a Levenshtein comparison.
http://en.wikipedia.org/wiki/Levenshtein_distance

Note: near the end of the wiki article, there is a list of other fuzzy comparison algorithms.  You should look at those and decide which one is most suitable for you.
0
 
LVL 13

Accepted Solution

by:
Stacy Brown earned 500 total points
ID: 37797532
In a VLOOKUP, the last variable can be set to TRUE or FALSE.  FALSE returns only an exact match so you would want to set your last variable to TRUE.  Like this:

=VLOOKUP(D2, ClientInfo, 2, TRUE)

I've attached a document I create a while back on VLookups.  I hope you find it helpful
VLOOKUP-Crash-Course.doc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now