Can I use Isnumber(search()) to extract from a string, from lookup table?

DerekWooley

New Member
Joined
May 1, 2018
Messages
34
Hello, I am trying to extract part numbers from a columnfull of strings. The part numbers are in different places in each row. I have alist of part numbers so I can wondering if I can use Isnumber(search(Lookup or indexmatch function)) to extract the part #sfor each row. I can’t put the part number next to the string and reference itbecause the part numbers in the strings vary day to day.

I want the Isnumber(Search()) formula to search and returnthe value if it exists in the part # list.

Below is an example of the strings and Part # list.

[TABLE="width: 411"]
<tbody>[TR]
[TD="width: 459, bgcolor: transparent"]
Column A
[/TD]
[TD="width: 89, bgcolor: transparent"]
Column B
[/TD]
[/TR]
[TR]
[TD="width: 459, bgcolor: transparent"]
String
[/TD]
[TD="width: 89, bgcolor: transparent"]
Part #
[/TD]
[/TR]
[TR]
[TD="width: 459, bgcolor: transparent"]
1A18A010 159822 930-SC 0 0 0 40 170 01/17/2019 300.0000
[/TD]
[TD="width: 89, bgcolor: transparent"]
[/TD]
[/TR]
[TR]
[TD="width: 459, bgcolor: transparent"]
1A18B006 160018 500 109X 01/17/2019 500.0000
[/TD]
[TD="width: 89, bgcolor: transparent"]
[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 60"]
<tbody>[TR]
[TD="width: 80, bgcolor: transparent"] Part # List
[/TD]
[/TR]
[TR]
[TD="width: 80, bgcolor: transparent"] 107S
[/TD]
[/TR]
[TR]
[TD="width: 80, bgcolor: transparent"] 109X
[/TD]
[/TR]
[TR]
[TD="width: 80, bgcolor: transparent"] 930-sc
[/TD]
[/TR]
[TR]
[TD="width: 80, bgcolor: transparent"] 291C
[/TD]
[/TR]
</tbody>[/TABLE]


Thank you for any help.

 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Something like this should work:

=INDEX($A$7:$A$10,MATCH(1,INDEX(--(ISNUMBER(SEARCH($A$7:$A$10,A2))),0),0))
 
Upvote 0

Forum statistics

Threads
1,226,729
Messages
6,192,696
Members
453,747
Latest member
tylerhyatt04

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