Vlookup partial and full

laam090

New Member
Joined
Jan 9, 2018
Messages
11
I have data like
column1 sheet 1
11456
11248
11369
11456e
11248e
11369c
11489

Column 1 sheet 2
11456
11369
11248
I used vlookup to get value of column 1 sheet 2 but it gives only for those which doesn't have e and c at last.. How can i use one formula and get the column 1 sheet value in those which have c and e at last also??
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
him have you tried somethinh like this..

=VLOOKUP("*"&A40&"*",$E$40:$F$55,2,FALSE)

i.e. add in "*"& and / or &"*"

Good luck
 
Upvote 0
Maybe something like this

=IFERROR(VLOOKUP(A1,Sheet1!$A$1:$A$7,1,FALSE),VLOOKUP(A1& "*",Sheet1!$A$1:$A$7,1,FALSE))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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