I'm trying to search partial text in a range of cells and get back a corresponding cell to where the match was found.

MrPickles79

New Member
Joined
Aug 23, 2023
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
I'm trying to search partial text in a range of cells and get back a corresponding cell to where the match was found.. I can get formula to work for exact matches but in my range I have cells with partial text or multiple text options and that is were I get stuck. =CELL("contents",INDEX(J:J,MATCH(B2,T:T,0))),,
SubtextCounted DateUOMSKUDescUPCS
need to search for a partial match
18368​
44978​
CTQUICK-STOR-LETTER/LEGAL SIZE["10077511007894"]
720918059005​
19526​
45092​
EABINDER PENCIL POUCH BLK/CLEAR["50024591670249"]
what cell in column C corresponds to match from column G
19526​
44972​
EABINDER PENCIL POUCH BLK/CLEAR["024591670244"]
31307​
45050​
PKBIC ROUNDSTIC BP MED BLUE 60["00070330166998", "0300002212"]
40663​
45113​
CTLIN 2826 CASE PAPER["723382282610"]
40684​
44991​
CTLIN 5900N CASE PAPER["50720918059000", "720918059005"]
40686​
45152​
CTLIN 5887N CASE PAPER["50720918058874", "720918058879"]
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
THis will find all of the 'subtext' column that have A3 anywhere in UPCS.

MrExcelPlayground20.xlsx
ABCDEFG
1SubtextCounted DateUOMSKUDescUPCS
2need to search for a partial match1836844978CTQUICK-STOR-LETTER/LEGAL SIZE["10077511007894"]
37209180590051952645092EABINDER PENCIL POUCH BLK/CLEAR["50024591670249"]
4what cell in column C corresponds to match from column G1952644972EABINDER PENCIL POUCH BLK/CLEAR["024591670244"]
5406843130745050PKBIC ROUNDSTIC BP MED BLUE 60["00070330166998", "0300002212"]
64066345113CTLIN 2826 CASE PAPER["723382282610"]
74068444991CTLIN 5900N CASE PAPER["50720918059000", "720918059005"]
84068645152CTLIN 5887N CASE PAPER["50720918058874", "720918058879"]
Sheet7
Cell Formulas
RangeFormula
A5A5=FILTER($C$2:$C$8,ISNUMBER(SEARCH(A3,$G$2:$G$8)))
 
Upvote 0
That worked, thank you for the help (I have been trying to find something for almost a week now to work). :)
 
Upvote 0

Forum statistics

Threads
1,215,204
Messages
6,123,630
Members
449,109
Latest member
Sebas8956

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