Pulling data out of cells using search

st3ffl3sx13

New Member
Joined
Mar 13, 2012
Messages
15
Hello,

I have a large database of information that was pulled from a program I use at work. It took all the program and specific device information and put it all in column 'D'. All the cells down column D are linked to a device name as I have a list of all the device names the program uses. What I need is to be able to search the column and in the corresponding column have the name of the device that is found in that cell. So an examples:
If I was looking for all the columns with the device name 'CV-10' in it:
In D10: <TABLE style="WIDTH: 275pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=367><COLGROUP><COL style="WIDTH: 275pt; mso-width-source: userset; mso-width-alt: 13421" width=367><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 275pt; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20 width=367>B40147.9^CV-10 AVB MAN PL RAM 00073
In E10: It would display 'CV-10'.

I have 13000 lines of code containing names of over 25 devices so I need something that can assist me with my man hours that it would take me to do this manually.

Any assistance if this is feasible would be greatly appreciated.

Thanks,
-AS
</TD></TR></TBODY></TABLE>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
<br />
Book1
ABCDE
1DevicesDataDevice
2CV-09B40147.9^CV-10 AVB MAN PL RAM 00073CV-10
3CV-10B40147.9^BC-10 AVB MAN PL RAM 00073BC-10
4CB-10B40147.9^CC-68 AVB MAN PL RAM 00074CC-68
5BC-10B40147.9^ZZ-99 AVB MAN PL RAM 00075No Match
6CC-50B40147.9^CC-60 AVB MAN PL RAM 00076CC-60
7CC-51
8CC-52
9CC-53
10CC-54
11CC-55
12CC-56
13CC-57
14CC-58
15CC-59
16CC-60
17CC-61
18CC-62
19CC-63
20CC-64
21CC-65
22CC-66
23CC-67
24CC-68
25CC-69
26CC-70
27No Match
Sheet1
<br /><br /><table cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Array Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">E2</th><td style="text-align:left">{=INDEX(<font color="Blue">$A$1:$A$27,MIN(<font color="Red">IF(<font color="Green">ISNUMBER(<font color="Purple">MATCH(<font color="Teal">"*"&$A$1:$A$27&"*",D2,0</font>)</font>),ROW(<font color="Purple">$A$1:$A$27</font>),27</font>)</font>)</font>)}</td></tr></tbody></table><b>Entered with Ctrl+Shift+Enter.</b> If entered correctly, Excel will surround with curly braces {}.</td></tr></table>
Copy the formula in E2 down column E
 
Upvote 0

Forum statistics

Threads
1,214,621
Messages
6,120,563
Members
448,972
Latest member
Shantanu2024

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