search and match the string

michellejames

New Member
Joined
Aug 16, 2013
Messages
27
Hi there,

Greeting! I have keywords list. I like that keywords match with our table make and model. And show "Match" word beside of match keywords.
Like column A values check in table J & K and show match word in column B

ABCDEFGHIJK
KeywordsResultTypeYearMakeModel
2018 chevy traverse air filterMatchAir Filter2017CadillacXT5
cadillac xt5 air filterMatchAir Filter2017GMCAcadia
pa99222Air Filter2018CadillacXT5
premium guard air filter pa99222Air Filter2018GMCAcadia
a3212cAir Filter2018ChevroletTraverse
2017 acadia engine air filterAir Filter2018BuickEnclave
ac delco a3212c
ac delco air filter a3212c
acdelco a3212c
gm a3212c
gmc acadia air filterMatch
premium guard air filter
2017 gmc acadiaMatch
chevrolet+traverse+2018Match
fit air filter
2018 gmc acadiaMatch
cadillac xt5Match
buick enclave
chevrolet traverseMatch
gmc acadiaMatch
chevrolet air filter
air fit
gmc air filter
2018 traverseMatch
chevrolet gmcMatch
guard air filter
2017 gmc
premium guards
premium fit
2017 2018
premium filter
guard filter
air guard
air filter filters
premium
2017
on guard
fit fit
2018
filters filters
air

<tbody>
</tbody>

Regards,
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
@ michellejames

2011 bmw x5 air filter
2012 bmw x5 air filter
2013 bmw x5 air filter
2008 bmw x5 cabin filter
2009 bmw x5 cabin filter
2011 x5 air filter
2013 bmw x5 cabin filter


What are the results you want to obtain instead of the above?



Regards,[/QUOTE]
 
Upvote 0
I think the formula only search mode and make not check the year.
In B2 cell, try this ARRAY formula (CSE formula) below.
Code:
=TRIM(IFERROR(INDEX(H$2:H$13,SMALL(IF(ISNUMBER(SEARCH(" "&H$2:H$13&" "," "&$A2&" ")),ROW(H$2:H$13)-MIN(ROW(H$2:H$13))+1,""),2)),"")&" "&IFERROR(INDEX(I$2:I$13,SMALL(IF(ISNUMBER(SEARCH(" "&I$2:I$13&" "," "&$A2&" ")),ROW(I$2:I$13)-MIN(ROW(I$2:I$13))+1,""),2)),"")&" "&IFERROR(INDEX(J$2:J$13,SMALL(IF(ISNUMBER(SEARCH(" "&J$2:J$13&" "," "&$A2&" ")),ROW(J$2:J$13)-MIN(ROW(J$2:J$13))+1,""),2)),"")&" "&IFERROR(INDEX(K$2:K$13,SMALL(IF(ISNUMBER(SEARCH(" "&K$2:K$13&" "," "&$A2&" ")),ROW(K$2:K$13)-MIN(ROW(K$2:K$13))+1,""),2)),""))


ABCDEFGHIJK
1KeywordsresultTypeYearMakeModel
22014 bmw 535d air filterAir Filter 2014 BMW 535dAir Filter2014BMWX5
3bmw 535d air filterAir Filter BMW 535dAir Filter2014BMW535d
413718518111Air Filter2014BMW535d xDrive
5bmw x5 air filterAir Filter BMW X5Air Filter2015BMW535d
62011 bmw x5 air filterAir Filter BMW X5Air Filter2015BMW535d xDrive
72012 bmw x5 air filterAir Filter BMW X5Air Filter2015BMWX5
82013 bmw x5 air filterAir Filter BMW X5Air Filter2015BMW740Ld xDrive
92015 bmw x5 air filterAir Filter 2015 BMW X5Air Filter2016BMWX5
10cabin air filter bmw x5Air Filter BMW X5Air Filter2016BMW535d
112008 bmw x5 cabin filterBMW X5Air Filter2016BMW535d xDrive
122009 bmw x5 cabin filterBMW X5Air Filter2017BMWX5
132011 x5 air filterAir Filter X5Air Filter2018BMWX5
142013 bmw 535i air filterAir Filter BMW
152013 bmw x3 air filterAir Filter BMW
162013 bmw x5 cabin filterBMW X5
172014 bmw x5 air filterAir Filter 2014 BMW X5
182016 bmw x5 air filterAir Filter 2016 BMW X5
1964119248294
20bmw cabin filter x5BMW X5
21bmw x5 filterBMW X5
22premium guard air filterAir Filter
23fit air filterAir Filter
242014 bmw x52014 BMW X5
252015 bmw x52015 BMW X5
26air 20152015
27bmw filterBMW
28bmw airBMW
29air fit
30bmw x5BMW X5
31bmw air filterAir Filter BMW
3216 air filterAir Filter
33premium guards
34premium fit
35xdrive
36air 20142014
37premium filter
38premium air
3916 filter
40guard filter
41fit filter
42air guard
43air filter filtersAir Filter

<tbody>
</tbody>

2ykmltt.png
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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