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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,222,790
Messages
6,168,259
Members
452,174
Latest member
bhorsley89

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