Partial Match Text/Number Strings

jpicket2

New Member
Joined
Jul 15, 2015
Messages
3
I have 9 columns of data (columns A-I). Column B has a long string of model numbers clustered together (Cells C-I concatenate). Cells in columns C-I have individual model numbers. I am looking for a macro (or function) which can check for a partial match with column B in each cell of a given row for columns C-I and then return the part name (Column A) if there is a match. For example, model #11316 would return Armature- 120V, Brush Set, and Washer Set since it occurs in cells B5, B6, and B7.

Is this even possible since there is no identifiable pattern to my data? Thank you very much for any advice. Excel spreadsheet is attached.

PartString Model NumbersModel #Model #Model #Model #Model #Model #Model #
Chuck A1122211236 11222 11236
Cord11240112471138711388540540432507 11240 11247 11387 11388 RH540 RH540 RH432
Brush Set112411126411265112481131811321 11241 11248 11318 11264 11265 11321
Armature - 120V112451131611317 11245 11316 11317
Brush Set1124511223113111131611317 11245 11223 11311 11316 11317
Armature - 120V11245112231131111316 11245 11223 11311 11316

<colgroup><col><col><col span="7"></colgroup><tbody>
</tbody>
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,215,472
Messages
6,125,004
Members
449,203
Latest member
Daymo66

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