For each unique string, need to find matching strings using substrings without putting string automatically

Charanko

New Member
Joined
Jul 8, 2022
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
Quite a complicated question for Excel, I think, but okay...

There are 10 thousand lines. For each unique string, need to find matching strings using substrings.
That is: 1) yellow apple, ..., 9999) golden apple - input values. 1)Yellow apple and 9999)golden apple are output values that need to be placed in another column.

And what is most important is that I do not enter one desired substring, but the program itself searches for many lines that match the substring.

example...
Book1
ABC
1inputoutput
2
3
4red applered apple
5apple yellow
6golden apple
7apple green
8apple yellow
9
10
11
12
13golden apple
14
15
16
17
18apple green
Sheet1
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
What is actual data?
Apple (main word) combine with color (adjective) may different from actual data.
 
Upvote 0
What is actual data?
Apple (main word) combine with color (adjective) may different f

Is different. Yes. But it doesn't matter if it's an apple or wine, because the search goes by substrings. I know that you can't do it through functions - only through code. But the question is - via VBA? Maybe there are some add-ons for him to simplify working with him? ..
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,605
Members
449,089
Latest member
Motoracer88

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