Search for instances of Data from Table Array within cells in a column

jziboukh

New Member
Joined
Feb 23, 2017
Messages
1
I have tried various types of searches to get the help I need, but it either doesn't exist or, more likely, I am not using the correct language to search. I'm not sure this is something that can be done with a formula. I'm not opposed to VBA, but prefer a formula. Essentially I feel like I need a search with wildcards, but I don't know how to do that using a table array. I've done it as results in individual cells [=IF(ISNUMBER(SEARCH("*alliance*",$C3)),"TRUE","FALSE")], but there are too many possibilities and the spreadsheet is getting too large.. I don't want it to be case sensitive. I can probably weed out any false matches pretty quickly. There are nearly 2000 rows to search and the list of abbreviations may grow to 200+. This is just a sample.

A formula to search the Opportunity Name column to see if there are any instances of the data in the Abbr table (preferably as a separate "word" and not as part of a word in a given cell). If so, return the appropriate abbreviation name. If not, leave the cell blank.


Opportunity Name
Abbr
Journals CC Sept. FY17
alliance
Journals CC 2016 May FY17
carli
Journals 2016 Current Collection November FY16
Carolina consortium
Journals Current Collection 2017 Full - August FY17
crkn
Journals CC 2017 FY17
ebsco
Journals CC 2017 FY17- OhioLink
fokal
Journals CC 2017 FY17
georgia Open Consortium
Journals CC 2017 FY17- OhioLink
gwla
Journals CC FY17 LOUIS
louis
Journals CC - Calgary
lyrasis
Journals CC FY17
nerl
New Journal Collection FY17
ohiolink
JCC August FY17
scelc
JCC August FY17
tenn share
New Journals Collection FY17 - Full Medicine
Tennessee system
JCC August FY17
ut system
JCC October FY17
waldo
FY17 New Journal Collection
JCC October FY17
JCC October FY17
JCC September FY17
JCC September FY17

<tbody>
</tbody>

Thank you in advance for your help!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the forum.

I've achieved most of your objective by using a helper column; copy formula C2 down as necessary. I also added a single-cell formula (D1) using the new function TEXTJOIN to list the results of matches between the lists.

ABCD
1Opportunity NameAbbrIn OppName List?louis, ohiolink
2Journals CC Sept. FY17alliance
3Journals CC 2016 May FY17carli
4Journals 2016 Current Collection November FY16Carolina consortium
5Journals Current Collection 2017 Full - August FY17crkn
6Journals CC 2017 FY17ebsco
7Journals CC 2017 FY17- OhioLinkfokal
8Journals CC 2017 FY17georgia Open Consortium
9Journals CC 2017 FY17- OhioLinkgwla
10Journals CC FY17 LOUISlouislouis
11Journals CC - Calgarylyrasis
12Journals CC FY17nerl
13New Journal Collection FY17ohiolinkohiolink
14JCC August FY17scelc
15JCC August FY17tenn share
16New Journals Collection FY17 - Full MedicineTennessee system
17JCC August FY17ut system
18JCC October FY17waldo
19FY17 New Journal Collection
20JCC October FY17
21JCC October FY17
22JCC September FY17
23JCC September FY17

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet38

Worksheet Formulas
CellFormula
D1=TEXTJOIN(", ",1,C2:C18)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Array Formulas
CellFormula
C2{=IF(SUM(--ISNUMBER(SEARCH(B2,$A$2:$A$23)))>0,B2,"")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try to enter the {} manually yourself.

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,840
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