Formula to find words from a list in cell

Stuepef

Board Regular
Joined
Oct 23, 2017
Messages
128
Office Version
  1. 2021
Platform
  1. Windows
I have a list of words in a range and I would like to create a formula to see if those words are within a cell value. Rather than the formula saying TRUE or FALSE, I would like the formula to provide the actual word that it found OR a numeric value for where that words position is in the list (i.e. if the formula found the 3rd word in the list, then the formula would provide a 3)

Here is the data:

Untitled.png
 
Glad we could help & thanks for the feedback.
 
Upvote 0

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
As you have 365 another option is
Fluff.xlsm
DEF
1List
2Orange
3Purple
4Green
5Blue
6Maroon
7Yellow
8Light Green
9Beige
10Navy Blue
11
12Cell
13Orange Turbo CarOrange
14Orange Turbo CarOrange
15Orange Turbo CarOrange
16Orange Turbo CarOrange
17Purple Green LamboPurple, Green
18Purple LamboPurple
19Purple LamboPurple
20Beige SeatsBeige
21Beige SeatsBeige
22Beige SeatsBeige
Sheet5
Cell Formulas
RangeFormula
F13:F22F13=TEXTJOIN(", ",,XLOOKUP(TEXTSPLIT(D13," "),$D$2:$D$10,$D$2:$D$10,""))

In this example let’s say when two values are returned such as “purple green” you want to return instead “data quality issue” how would you do this?
 
Upvote 0

Forum statistics

Threads
1,215,151
Messages
6,123,321
Members
449,094
Latest member
Chestertim

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