Excel Vlook up formula help

Mallesh23

Well-known Member
Joined
Feb 4, 2009
Messages
976
Office Version
  1. 2010
Platform
  1. Windows
Code:
 [LEFT][COLOR=#222222][FONT=Verdana]Hi Team,:confused:

[/FONT][/COLOR]
[COLOR=#222222][FONT=Verdana]I want to apply a vlook up formula, but it will not work, as in my vlookup formula
LastName has come first and First name as last. and in mydata its opposite.[/FONT][/COLOR]
[COLOR=#222222][FONT=Verdana]
I come cross such type of scenerio in office and manually update Teams score.[/FONT][/COLOR]
[COLOR=#222222][FONT=Verdana]
Can you plz suggest a excel formula to deal with such situation. Thanks. 

[B]MY Data[/B]

[TABLE="width: 463"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Test1
[/TD]
[TD]Test2
[/TD]
[TD]Test3
[/TD]
[/TR]
[TR]
[TD]Sachin Tendukar
[/TD]
[TD]81
[/TD]
[TD]117
[/TD]
[TD]101
[/TD]
[/TR]
[TR]
[TD]Rahul Dravid
[/TD]
[TD]105
[/TD]
[TD]110
[/TD]
[TD]132
[/TD]
[/TR]
[TR]
[TD]Virendra Sehwag
[/TD]
[TD]106
[/TD]
[TD]132
[/TD]
[TD]51
[/TD]
[/TR]
[TR]
[TD]Rohit Sharma
[/TD]
[TD]73
[/TD]
[TD]74
[/TD]
[TD]93
[/TD]
[/TR]
[TR]
[TD]M Dhoni
[/TD]
[TD]87
[/TD]
[TD]116
[/TD]
[TD]104
[/TD]
[/TR]
[TR]
[TD]Kapil Dev
[/TD]
[TD]91
[/TD]
[TD]102
[/TD]
[TD]104
[/TD]
[/TR]
</tbody>[/TABLE]


[B]I am looking for result below here with vlookup / any other excel formula [/B]


[TABLE="width: 463"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Test1[/TD]
[TD]Test2[/TD]
[TD]Test3[/TD]
[/TR]
[TR]
[TD]Tendulkar Sachin[/TD]
[TD]=VLOOKUP(D13[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Dravid Rahul[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Sehwag Virendra[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Sharma Rohit[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Dhoni M[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Dev Kapil[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]


Thanks 
Mallesh Gangadhar

[/FONT][/COLOR][/LEFT]
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Unknown
DEFG
2NameTest1Test2Test3
3Tendulkar Sachin81117101
4Dravid Rahul105110132
5Sehwag Virendra10613251
6Sharma Rohit737493
7Dhoni M87116104
8Dev Kapil91102104
9
10
11NameTest1Test2Test3
12Sachin Tendulkar81117101
13Rahul Dravid105110132
14Virendra Sehwag10613251
15Rohit Sharma737493
16M Dhoni87116104
17Kapil Dev91102104
Sheet5
Cell Formulas
RangeFormula
E3=VLOOKUP(TRIM(RIGHT(SUBSTITUTE($D3," ",REPT(" ",LEN($D3))),LEN($D3)))&" "&LEFT($D3,FIND(" ",$D3)-1),$D$12:$G$17,MATCH(E$2,$D$11:$G$11,0),0)
 
Last edited:
Upvote 0
Hi Nishant,

Thanks for quick reply,
how it works?. Can you explain it, I am not getting it looking at formula.

In which cell I have to put the formula?.... which range it has to look.

also in name if there is a , in between name instead of space

Regards,
Mallesh
 
Upvote 0

Forum statistics

Threads
1,217,114
Messages
6,134,721
Members
449,886
Latest member
MD SHIBLI NOMAN NEWTON

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