Pulling the data for extracting the keyword

pratheesh1983

Board Regular
Joined
Aug 13, 2015
Messages
55
Office Version
  1. 365
Platform
  1. Windows
We have a set of key words and I'm looking for a formula which will the highlight (showing the keyword) if any of the key word is available in a text string on a cell.
eg. Table 1 have two columns - "Text" Column consists of multiple words & in column "Key Word Available" were we need to put a formula which will look for the Keywords mentioned in Table 2 in in column Text cells and will populate the keywords if it's available if not it will show the result as "N/A"

Could any one please help in formatting a formula here?

Table 1
TextKey Word Available
Adjust audio settings according through lancableaudio; lancable
external monitor with a closedlaptopmonitor; laptop
How Do I Keep The Display OnN/A
This article will show you how to be able to keep using laptop or MacBookarticle; laptop
You can now close your laptop lidlaptop


Table 2
Key Words
Audio
RAM
Lan Cable
Article
monitor
Laptop
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Highly dependable on your version (you might want to update your account settings).
Book1
BCDEFGH
2TextKey Word AvailableKey Words
3Adjust audio settings according through lancableAudio, lancableAudio
4external monitor with a closedlaptopmonitor, LaptopRAM
5How Do I Keep The Display OnLan cable
6This article will show you how to be able to keep using laptop or MacBookArticle, LaptopArticle
7You can now close your laptop lidLaptopmonitor
8Laptop
9lancable
10
Sheet1
Cell Formulas
RangeFormula
C3:C7C3=LET( Keys,KeyWords[Key Words], rKeys,ROW(Keys), rHeader,ROW(KeyWords[[#Headers],[Key Words]]), Txt,B3:B7, BYROW(Txt,LAMBDA(t,TEXTJOIN(", ",TRUE,IFERROR(INDEX(Keys,AGGREGATE(15,6,(rKeys-rHeader)/(SEARCH(Keys,t))^0,SEQUENCE(COUNTA(Keys)))),"")))))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,638
Messages
6,120,676
Members
448,977
Latest member
moonlight6

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