A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

lookups



 
 
Thread Tools Display Modes
  #1  
Old August 27th, 2008, 03:46 PM posted to microsoft.public.excel.worksheet.functions
JoviGirl
external usenet poster
 
Posts: 8
Default lookups

I am trying to compare 2 different listings to see if any in list 1 is a
client. My lookup will only return the client if the client is an exact
match. How can I make the lookup return any variation of the name

This is my normal lookup:
=IF(ISERROR(VLOOKUP(A1,'clients'!$A$1:$B$200,2,FAL SE)),0,VLOOKUP(A1,'clients'!$A$1:$B$200,2,FALSE))

Example
Sheet 1 - (Possible Client Names)

Column A
ABC Co

Sheet 2 - (our client names)

Column A Col B
The ABC Company 1000

So I want to look up the name in sheet 1 and return the possible match from
sheet 2.

Thanks



  #2  
Old August 27th, 2008, 04:20 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default lookups

=SUMPRODUCT(--(ISNUMBER(SEARCH(A1,clients!A1:A200))),clients!B1: B200)


"JoviGirl" wrote:

I am trying to compare 2 different listings to see if any in list 1 is a
client. My lookup will only return the client if the client is an exact
match. How can I make the lookup return any variation of the name

This is my normal lookup:
=IF(ISERROR(VLOOKUP(A1,'clients'!$A$1:$B$200,2,FAL SE)),0,VLOOKUP(A1,'clients'!$A$1:$B$200,2,FALSE))

Example
Sheet 1 - (Possible Client Names)

Column A
ABC Co

Sheet 2 - (our client names)

Column A Col B
The ABC Company 1000

So I want to look up the name in sheet 1 and return the possible match from
sheet 2.

Thanks



  #3  
Old August 27th, 2008, 04:28 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default lookups

Another...

=INDEX(clients!$B$1:$B$200,MATCH("*"&A1&"*",client s!$A$1:$A$200,0))


"JoviGirl" wrote:

I am trying to compare 2 different listings to see if any in list 1 is a
client. My lookup will only return the client if the client is an exact
match. How can I make the lookup return any variation of the name

This is my normal lookup:
=IF(ISERROR(VLOOKUP(A1,'clients'!$A$1:$B$200,2,FAL SE)),0,VLOOKUP(A1,'clients'!$A$1:$B$200,2,FALSE))

Example
Sheet 1 - (Possible Client Names)

Column A
ABC Co

Sheet 2 - (our client names)

Column A Col B
The ABC Company 1000

So I want to look up the name in sheet 1 and return the possible match from
sheet 2.

Thanks



  #4  
Old August 27th, 2008, 05:04 PM posted to microsoft.public.excel.worksheet.functions
JoviGirl
external usenet poster
 
Posts: 8
Default lookups

Thanks ... but it looks like it isnt picking up everything...
in the possible client names, one in particular is "The Charlie Brown
Corporation" and we have a client called "Charlie Brown & Co" that should be
a match. Anyway to accomplish this? Thanks for the help

"Teethless mama" wrote:

=SUMPRODUCT(--(ISNUMBER(SEARCH(A1,clients!A1:A200))),clients!B1: B200)


"JoviGirl" wrote:

I am trying to compare 2 different listings to see if any in list 1 is a
client. My lookup will only return the client if the client is an exact
match. How can I make the lookup return any variation of the name

This is my normal lookup:
=IF(ISERROR(VLOOKUP(A1,'clients'!$A$1:$B$200,2,FAL SE)),0,VLOOKUP(A1,'clients'!$A$1:$B$200,2,FALSE))

Example
Sheet 1 - (Possible Client Names)

Column A
ABC Co

Sheet 2 - (our client names)

Column A Col B
The ABC Company 1000

So I want to look up the name in sheet 1 and return the possible match from
sheet 2.

Thanks



  #5  
Old August 27th, 2008, 05:32 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default lookups

"The Charlie Brown Corporation"
"Charlie Brown & Co"


"Kentucky Fried Chicken"
"KFC"

We all know the examples above should match, but not for EXCEL


"JoviGirl" wrote:

Thanks ... but it looks like it isnt picking up everything...
in the possible client names, one in particular is "The Charlie Brown
Corporation" and we have a client called "Charlie Brown & Co" that should be
a match. Anyway to accomplish this? Thanks for the help

"Teethless mama" wrote:

=SUMPRODUCT(--(ISNUMBER(SEARCH(A1,clients!A1:A200))),clients!B1: B200)


"JoviGirl" wrote:

I am trying to compare 2 different listings to see if any in list 1 is a
client. My lookup will only return the client if the client is an exact
match. How can I make the lookup return any variation of the name

This is my normal lookup:
=IF(ISERROR(VLOOKUP(A1,'clients'!$A$1:$B$200,2,FAL SE)),0,VLOOKUP(A1,'clients'!$A$1:$B$200,2,FALSE))

Example
Sheet 1 - (Possible Client Names)

Column A
ABC Co

Sheet 2 - (our client names)

Column A Col B
The ABC Company 1000

So I want to look up the name in sheet 1 and return the possible match from
sheet 2.

Thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:09 PM.


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