Vlookup multiple values that contain a string then concatenate values

SarahEW

New Member
Joined
Mar 9, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I am using Microsoft Excel 2016. I came across this thread which is able to do this for exact string matches.


I tried to adapt this so that it looks for a cell that contains a string, by for example using 'string&"*"' as my search criteria, which then returns a blank cell.

=LookUpConcat(A12,'Sheet1'!A:A,'Sheet1'!A:A,",")

Is there a way to adapt this to be able to look for a string fragment?

Thanks!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If Cells A1 to A4 contain Horse, Sheep, Cow, Donkey. then

VBA
Application.Match("She*", Range("A:A"), 0)

or cell formula
Match("She*", A:A, 0)

will return 2, the row containing "Sheep"
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,841
Members
449,193
Latest member
MikeVol

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