Extracting text string from cell with no delimiters

MrRAMMounts

New Member
Joined
Oct 29, 2019
Messages
17
Office Version
  1. 365
Platform
  1. Windows
Hi

See sample data:

test data.xlsx
ABCDEFGHIJKL
1Product CodeOrderOrdered PartsIntended resultOrder
2ram-b-2011ram-b-202ram-189-101rap-2381ram-b-202ram-189-101rap-238
3ram-b-2022ram-gds-charge-v7rap-2382ram-gds-charge-v7rap-238
4ram-b-3473ram-224ram-b-201-cram-b-202ram-b-2013ram-224ram-b-201-cram-b-202ram-b-201
5ram-b-201-c4ram-b-202ram-b-3474ram-b-202ram-b-347
6ram-2245rap-238rap-b-201-aram-2245rap-238rap-b-201-aram-224
7ram-189-10166
8rap-365-10177
9ram-gds-charge-v7
10rap-238
11rap-b-201-a
Sheet1



I am looking to extract non-delimited values from a cell.

In my attached test data

Column A is the product code
Column D is the non-delimited product codes in customer orders
Column I through L+ is how I would like the data extraced and displayed.

Out system exports order data showing all ordered products in the same cell with no delimiter.

I am hoping to find a way to search in Column A for a value and if found in Column D it should add that value to a new adjacent cell, for each matched value.

Regards
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Extracting text string from cell with no delimiters
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
That is done now 👍
 
Upvote 0
With that date how about
Excel Formula:
="ra"&TEXTSPLIT(D2,"ra",,1)
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,124
Members
453,021
Latest member
Justyna P

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