Check the text secreted by vertical bar with column C

Kishan

Well-known Member
Joined
Mar 15, 2011
Messages
1,648
Office Version
  1. 2010
Platform
  1. Windows
Using Excel 2000</SPAN></SPAN>

Hi,</SPAN></SPAN>

I want to check E5, F5 or G5 text secreted by vertical bar with column C data if find then place result as "OK" in the cells E6:G23</SPAN></SPAN>

Example...</SPAN></SPAN>


Book1
ABCDEFGHI
1
2
3
4
5P11 | X1 | 2X | 2
6XOKOK
7XOKOK
8XOKOK
92OKOK
101OKOK
11XOKOK
12XOKOK
131OKOK
141OKOK
151OKOK
16XOKOK
171OKOK
181OKOK
19XOKOK
201OKOK
211OKOK
222OKOK
231OKOK
24
25
SHEET11


Thank you in advance</SPAN></SPAN>

Regards,</SPAN>
Kishan</SPAN></SPAN>
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Put this formula in cell E6 and copy it across to cell G6, then select the range E6:G6 and copy it down to the bottom of your data...

=IF(ISNUMBER(FIND($C6,E$5)),"OK","")
 
Upvote 0
Place this formula in E6 and copy across and down: =IF(ISNUMBER(SEARCH($C6,E$5)),"OK","")
 
Last edited:
Upvote 0
Maybe

=IF(ISNUMBER(FIND($C7,E$6)),"OK","")
Thank you gaz_chops, got result as required only correcting the ranges</SPAN></SPAN>

Happy 2019! I wish you a beautiful, magical new year!</SPAN></SPAN>

Kind Regards</SPAN></SPAN>
Kishan :)</SPAN></SPAN>
 
Last edited:
Upvote 0
Put this formula in cell E6 and copy it across to cell G6, then select the range E6:G6 and copy it down to the bottom of your data...

=IF(ISNUMBER(FIND($C6,E$5)),"OK","")
Thank you Rick, got result as required perfect! </SPAN></SPAN>

Happy 2019! I wish you a beautiful, magical new year!</SPAN></SPAN>

Kind Regards</SPAN></SPAN>
Kishan</SPAN></SPAN> :)
 
Upvote 0
Place this formula in E6 and copy across and down: =IF(ISNUMBER(SEARCH($C6,E$5)),"OK","")
Thank you mumps, got result as required perfect! </SPAN></SPAN>

Happy 2019! I wish you a beautiful, magical new year!</SPAN></SPAN>

Kind Regards</SPAN></SPAN>
Kishan</SPAN></SPAN> :)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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