IF ISNUMBER SEARCH combination

samcam

New Member
Joined
Jul 10, 2019
Messages
2
I'm using the current formula:
=IF(ISNUMBER(SEARCH("Nature",A2)), "Y", "")
to show whether a word (shown in cell B1) features in a set of meta tags (shown in cell A2).

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Nature[/TD]
[TD]Ocean[/TD]
[TD]Sun[/TD]
[TD]People[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Nature;Ocean;Outdoors;Water;Sky[/TD]
[TD]Y[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]People;Sea;Waves;Sun[/TD]
[TD][/TD]
[TD][/TD]
[TD]Y[/TD]
[TD]Y[/TD]
[/TR]
</tbody>[/TABLE]


I would like to use a full formula rather than having to type in the word so it's easier to copy the formula through. Currently it's not letting me do it and I have to type the word in.
I understand I possibly have to remove the semi-colons for it to work so happy to split into separate cells, but if anyone has any help that would be great!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Maybe?

=IF(ISNUMBER(SEARCH(";"&B$1&";",";"&$A2&";")), "Y", "")
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,973
Members
452,540
Latest member
haasro02

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