Look up part text from list and return value

gobblechops

New Member
Joined
Apr 27, 2017
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi,

Column A contains descriptions.

A table in columns E to F, contains... Part texts in column E, contains values to return in column F.

Column B requires the formula. E.g Formula required in Cell B1..... Look in column E (table) for any part text contained in the full text of cell A1, if finding a matching part text, return corresponding value in column F of (table).

Thanks!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
try this
Excel Formula:
=IF(COUNTIF(A1,"*"&E1&"*"),F1,"")
 
Upvote 0
Another option

Book2
ABCDEFG
1Full TextFormulaPartial TextValue to Return
2I am an Excel userMS ExcelExcelMS Excel
3I am a Word userMS WordWordMS Word
4#N/A#N/A
5#N/A#N/A
6#N/A#N/A
7#N/A#N/A
8#N/A#N/A
9#N/A#N/A
10#N/A#N/A
Sheet1
Cell Formulas
RangeFormula
B2:B3B2=IFERROR(INDEX($F$2:$F$100,AGGREGATE(15,6,(ROW($F$2:$F$100)-ROW($F$2)+1)/ISNUMBER(SEARCH($E$2:$E$100,A2)),1)),"")
 
Upvote 0
Solution
Yes Sufiyan97, that has worked! Top man. Thanks.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,518
Messages
6,125,293
Members
449,218
Latest member
Excel Master

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