Finding specific words in a coumn within a text string

Louis1983

New Member
Joined
Sep 20, 2017
Messages
8
Hi Please can someone help me.
I have a whole list of serial numbers (H001 to H4569) which I want to find within a multiple text strings.

Example: H2365 ATTEND TO NOT STARTING 384146 REQ, but the serial numbers are either in the beginning, middle or end of the text string.

But the formula also has to return the serial number in the next column

[TABLE="width: 445"]
<tbody>[TR]
[TD]Description[/TD]
[TD]Serial Number[/TD]
[/TR]
[TR]
[TD]H2365 ATTEND TO NOT STARTING 384146 REQ[/TD]
[TD]H2365[/TD]
[/TR]
[TR]
[TD]H1456 ATTEND TO NOT STARTING 384146 REQ[/TD]
[TD]H1456[/TD]
[/TR]
[TR]
[TD]ATTEND TO NOT STARTING H1999 384146 REQ[/TD]
[TD]H1999[/TD]
[/TR]
[TR]
[TD]H2365 ATTEND TO NOT STARTING 384146 REQ H4123[/TD]
[TD]H4123[/TD]
[/TR]
</tbody><colgroup><col><col></colgroup>[/TABLE]

Thanks
Louis
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Try...

=LOOKUP(9.99999999999999E+307,SEARCH(" "&SerialList&" "," "&$A2&" "),SerialList)

where SerialList stands for the range which houses the serial numbers of interest.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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