If Or Search multiple cells to look for a specific word

beraned1218

New Member
Joined
Oct 22, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am trying to check 2 different cells to see if either one has a word and respond with TRUE if either condition is met.
I am using the formula: =IF(SEARCH("bearing",B2,1),"true",IF(SEARCH("bearing",C2,1),"true","false"))

To check first cell B2 and see if the word "bearing" is in that cell.
If it is not there then check cell c2 to see the word "bearing" is there

As you can see in my shared spreadsheet only if the word "bearing" is present in both cells will I get a return of "true"
I want to know if it is in one or the other or both cells?
 

Attachments

  • Screenshot 2024-10-22 122346.png
    Screenshot 2024-10-22 122346.png
    47.3 KB · Views: 3

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
=OR(ISNUMBER(SEARCH("bearing",B2)),ISNUMBER(SEARCH("bearing",C2)))
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

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