Find a string in a cell

Kiran1683

New Member
Joined
Apr 13, 2013
Messages
7
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]server1 Name Along with somedata
[/TD]
[TD][/TD]
[TD]server1
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Name along with otherdata server4
[/TD]
[TD][/TD]
[TD]server2
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Somthing server5 other values
[/TD]
[TD][/TD]
[TD]server3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD]server4
[/TD]
[/TR]
</tbody>[/TABLE]
Hello Team,
Here I have a typical question, where in a cell there is a sentance with many strings. i wan to search that cell, wetaher the cell contains any string compared to an array or column of strings. Ex: In A1 , a sting named server1 is there (irrespective of postion). I need to compare the cell with entire C:C and print the matched sting in B1 (i.e server1) and similar B2 (server4), B3 ("No Server").

Please help me.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,223,639
Messages
6,173,499
Members
452,517
Latest member
SoerenB

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