Vlookup help

Harini1100

New Member
Joined
Mar 5, 2024
Messages
14
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
Hello Guys,

I need help on vlookup formula, below is the 2 different source file from different system. Normal vlookup is not working since the data is having missing or additional characters. Kindly help,

1710259007973.png
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hello Guys,

I need help on vlookup formula, below is the 2 different source file from different system. Normal vlookup is not working since the data is having missing or additional characters. Kindly help,

View attachment 108226
What values are you looking to find in what column? Are you trying to find the values of Source File 2 as partial matches in Source File 1?

And what version of excel are you doing this in?
 
Upvote 0
Instead of using VLOOKUP, use the below Match in conjunctions with INDEX, or using XLOOKUP. But depends on your excel version:

Book1
ABCD
1Source 1Source 2Location of Source 2 in Source 1 (Non 365)Location of Source 2 in Source 1 (365)
21-888-OHIOCOMPALA CARTEALA CARTE (NO KNOWN AS BRIMAR)ALA CARTE (NO KNOWN AS BRIMAR)
31199SEIU Family of FundsAKAL SECURITY/COASTALAKAL SECURITY/COASTAL INTL SECURITYAKAL SECURITY/COASTAL INTL SECURITY
46 Degrees Health6 Degrees6 Degrees Health6 Degrees Health
5AKAL SECURITY/COASTAL INTL SECURITY1-888-OHIO1-888-OHIOCOMP1-888-OHIOCOMP
6ALA CARTE (NO KNOWN AS BRIMAR)1199SEIU1199SEIU Family of Funds1199SEIU Family of Funds
Sheet2
Cell Formulas
RangeFormula
C2:C6C2=INDEX($A$2:$A$6,MATCH(B2&"*",$A$2:$A$6,0))
D2:D6D2=XLOOKUP(B2&"*",$A$2:$A$6,$A$2:$A$6,"not found",2,1)
 
Upvote 0
I want to map the source 1 data with source 2 to bring the values to source 1 data. They are 2 different files
Considered that I have first file data in column A and Second file data in Column B, now I want to get the result of partial match from second file to first file.
Could you please share the formula for this?
 
Upvote 0
How is someone to know to what level of matching you want? Do you want first 10 characters to match?
But this seems to work... pay attention to my comment about being certain you get the results you want:

and this is for 365, not sure there is a way in other versions.

Book1
ABC
1Source 1Source 2Matching Source 1 to Source 2, Please test it thouroughly, it works here, but may not work everytime.
21-888-OHIOCOMPALA CARTE1-888-OHIO
31199SEIU Family of FundsAKAL SECURITY/COASTAL1199SEIU
46 Degrees Health6 Degrees6 Degrees
5AKAL SECURITY/COASTAL INTL SECURITY1-888-OHIOAKAL SECURITY/COASTAL
6ALA CARTE (NO KNOWN AS BRIMAR)1199SEIUALA CARTE
Sheet2
Cell Formulas
RangeFormula
C2:C6C2=XLOOKUP(A2,$B$2:$B$6,$B$2:$B$6,"",-1,1)
 
Upvote 0
Yes you are right it doesn't work when I apply for wide cell range, any way thanks for the help.
 
Upvote 0

Forum statistics

Threads
1,215,140
Messages
6,123,269
Members
449,093
Latest member
Vincent Khandagale

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top