Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Wild Cards in Vlookup

Hi! Experts

I have Phone number in 2 columns

Column A

Phone Number
9548878570/1204629955
9307584305
9690143335
9336884522
9368888865
9236644465
9250136689
9718856209
9278144529
1204629813
1204629955
1204211957
1204629893
9456366784

Column E

Phone Number
9336884522
9212544153/9368888865/9212572476
9236644465
9250136689
9718856209
9278144529
9810332270/1204629813
1204629955

Its only a Example Actually Data is Around 4000

You see in Both Columns there are Phone Numbers some has single Number but
some has Multiple Phone Numbers in a Single Cell.

For Ex.
In column A 1204629893
but in column E 9810332270/1204629893

When i Insert Vlookup or Index/Match Function it show #N/A

is there any way to using wild Card in Vlookup fuction. to match this Phone
Numbers

Thanks in Advance

Hardeep Kanwar
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Wild Cards in Vlookup

The solution will depend on data type in the cells. Are the phone numbers
stored as text or numbers? Certainly the double phone numbers are text but
what about the others?

=VLOOKUP("*"&TEXT(C1,"@")&"*",TEXT(A1:A14,"@"),1,)

This will work with for both text and/or numbers but there is one unusual
trick, you must enter it as an array - press Shift+Ctrl+Enter to enter it,
not Enter. In this example, I have check the entry in C1 with the entries in
column A, you should adjust according to your needs.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Hardeep Kanwar" wrote:

Hi! Experts

I have Phone number in 2 columns

Column A

Phone Number
9548878570/1204629955
9307584305
9690143335
9336884522
9368888865
9236644465
9250136689
9718856209
9278144529
1204629813
1204629955
1204211957
1204629893
9456366784

Column E

Phone Number
9336884522
9212544153/9368888865/9212572476
9236644465
9250136689
9718856209
9278144529
9810332270/1204629813
1204629955

Its only a Example Actually Data is Around 4000

You see in Both Columns there are Phone Numbers some has single Number but
some has Multiple Phone Numbers in a Single Cell.

For Ex.
In column A 1204629893
but in column E 9810332270/1204629893

When i Insert Vlookup or Index/Match Function it show #N/A

is there any way to using wild Card in Vlookup fuction. to match this Phone
Numbers

Thanks in Advance

Hardeep Kanwar

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Wild Cards in Vlookup

Thanks for Reply

Your Formula Works but not Completely

In mine Example, its not working in 2 Cells

In column E
9212544153/9368888865/9212572476
9810332270/1204629813

Number 9368888868 and 1204629813 both Exists in Column A

In column A
9368888865
1204629813

Thanks in Advance

Hardeep Kanwar



"Shane Devenshire" wrote:

The solution will depend on data type in the cells. Are the phone numbers
stored as text or numbers? Certainly the double phone numbers are text but
what about the others?

=VLOOKUP("*"&TEXT(C1,"@")&"*",TEXT(A1:A14,"@"),1,)

This will work with for both text and/or numbers but there is one unusual
trick, you must enter it as an array - press Shift+Ctrl+Enter to enter it,
not Enter. In this example, I have check the entry in C1 with the entries in
column A, you should adjust according to your needs.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Hardeep Kanwar" wrote:

Hi! Experts

I have Phone number in 2 columns

Column A

Phone Number
9548878570/1204629955
9307584305
9690143335
9336884522
9368888865
9236644465
9250136689
9718856209
9278144529
1204629813
1204629955
1204211957
1204629893
9456366784

Column E

Phone Number
9336884522
9212544153/9368888865/9212572476
9236644465
9250136689
9718856209
9278144529
9810332270/1204629813
1204629955

Its only a Example Actually Data is Around 4000

You see in Both Columns there are Phone Numbers some has single Number but
some has Multiple Phone Numbers in a Single Cell.

For Ex.
In column A 1204629893
but in column E 9810332270/1204629893

When i Insert Vlookup or Index/Match Function it show #N/A

is there any way to using wild Card in Vlookup fuction. to match this Phone
Numbers

Thanks in Advance

Hardeep Kanwar

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Wild Cards in Vlookup

Hi Hardeep,

=VLOOKUP("*"&1204629893&"*",A1:A100,1,FALSE)

produces:

9810332270/1204629893

from:

9810332270/1204629893

--
If this post helps click Yes
---------------
Peggy Shepard


"Hardeep Kanwar" wrote:

Thanks for Reply

Your Formula Works but not Completely

In mine Example, its not working in 2 Cells

In column E
9212544153/9368888865/9212572476
9810332270/1204629813

Number 9368888868 and 1204629813 both Exists in Column A

In column A
9368888865
1204629813

Thanks in Advance

Hardeep Kanwar



"Shane Devenshire" wrote:

The solution will depend on data type in the cells. Are the phone numbers
stored as text or numbers? Certainly the double phone numbers are text but
what about the others?

=VLOOKUP("*"&TEXT(C1,"@")&"*",TEXT(A1:A14,"@"),1,)

This will work with for both text and/or numbers but there is one unusual
trick, you must enter it as an array - press Shift+Ctrl+Enter to enter it,
not Enter. In this example, I have check the entry in C1 with the entries in
column A, you should adjust according to your needs.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Hardeep Kanwar" wrote:

Hi! Experts

I have Phone number in 2 columns

Column A

Phone Number
9548878570/1204629955
9307584305
9690143335
9336884522
9368888865
9236644465
9250136689
9718856209
9278144529
1204629813
1204629955
1204211957
1204629893
9456366784

Column E

Phone Number
9336884522
9212544153/9368888865/9212572476
9236644465
9250136689
9718856209
9278144529
9810332270/1204629813
1204629955

Its only a Example Actually Data is Around 4000

You see in Both Columns there are Phone Numbers some has single Number but
some has Multiple Phone Numbers in a Single Cell.

For Ex.
In column A 1204629893
but in column E 9810332270/1204629893

When i Insert Vlookup or Index/Match Function it show #N/A

is there any way to using wild Card in Vlookup fuction. to match this Phone
Numbers

Thanks in Advance

Hardeep Kanwar

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
Wild Cards with IF stmt KarenF Excel Worksheet Functions 5 August 3rd 07 11:07 PM
wild cards? ferde Excel Discussion (Misc queries) 3 May 26th 07 06:28 AM
wild cards in SUMIF charles Excel Worksheet Functions 2 October 17th 06 10:29 PM
Partial String Match & Wild Cards Using VLOOKUP djDaemon Excel Worksheet Functions 0 March 9th 06 05:49 PM
If Statement Using Wild Cards Jasmine Excel Worksheet Functions 5 August 23rd 05 10:38 AM


All times are GMT +1. The time now is 06:12 AM.

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"