Vlookup alternative needed

jp1444

New Member
Joined
Mar 2, 2016
Messages
18
Website 1Website 2
Man UtdNewcastle United
Newcastle UtdLeicester City
LeicesterTottenham Hotspurs
TottenhamWest Ham United
West HamManchester United

<tbody>
</tbody>

Hi,

I have a list of football teams from two different websites, and I want to match each team up with the it's team from the other website. I would normally use a VLOOKUP, but as the the teams are not identical that would not work. If I use the 'TRUE' option in the range lookup for VLOOKUP this does not work either, any suggestions please?

Thanks
 

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Scott T

Well-known Member
Joined
Dec 14, 2016
Messages
2,615
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
If the first 3 letters of the each team names are unique then you can use =INDEX($D$2:$D$6,MATCH(LEFT(A2,3),LEFT($D$2:$D$6,3),0)) You need to enter the formula with Control-Shift-Enter. You should see curly brackets around the formula like this {=INDEX($D$2:$D$6,MATCH(LEFT(A2,3),LEFT($D$2:$D$6,3),0))} in the formula bar you can not enter the brackets. A2 would be the team in the first list you are looking for and D2:D6 would the second list. copy down
 

jp1444

New Member
Joined
Mar 2, 2016
Messages
18
This returns #VALUE.

Does your example apply to when the initial table is in columns A and B?
 

Scott T

Well-known Member
Joined
Dec 14, 2016
Messages
2,615
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
This returns #VALUE.

Does your example apply to when the initial table is in columns A and B?

did you enter the formula with Control-Shift Enter? Press and hold the Control and Shift keys then press enter. Since this is and array formula it cannot be entered just by hitting the enter key or you will get a value error.

You can change the references to what ever is need for where your lists are. =INDEX($B$2:$B$7,MATCH(LEFT(A2,3),LEFT($B$2:$B$7,3),0)) for second list in Column B
 

jp1444

New Member
Joined
Mar 2, 2016
Messages
18
did you enter the formula with Control-Shift Enter? Press and hold the Control and Shift keys then press enter. Since this is and array formula it cannot be entered just by hitting the enter key or you will get a value error.

You can change the references to what ever is need for where your lists are. =INDEX($B$2:$B$7,MATCH(LEFT(A2,3),LEFT($B$2:$B$7,3),0)) for second list in Column B

perfect, thanks!!
 

Watch MrExcel Video

Forum statistics

Threads
1,122,608
Messages
5,597,143
Members
414,129
Latest member
mr vba

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
Top