If searching same value in multiple indepepndent cells, if any value true, then "X"

jordiejones

New Member
Joined
May 5, 2010
Messages
31
This is the original formula that searches one cell for the value and it works:
Excel Formula:
=IFERROR(IF(SEARCH("*MEDI-CAL*",'Phone Referral'!A6,1),"X1",””),"F")
Here's what I've tried with no avail:
Excel Formula:
=IFERROR(IF(SEARCH("*MEDI-CAL*",'Phone Referral'!A6,1),"X",IF(SEARCH("*MEDI-CAL*",'Phone Referral'!D10,1),"X","")),"F")
&
Excel Formula:
=IFERROR(IF(OR(SEARCH("*MEDI-CAL*",'Phone Referral'!A6,1),SEARCH("*MEDI-CAL*",'Phone Referral'!D10,1)),"X1",””),"F")
any help would be greatly appreciated
*can't use IFS
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,238
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
try this

=IFERROR(IFERROR(IF(SEARCH("*MEDI-CAL*",'Phone Referral'!A6,1),"X"),IF(SEARCH("*MEDI-CAL*",'Phone Referral'!D10,1),"X")),"F")
 

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,238
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
you're welcome
 

Watch MrExcel Video

Forum statistics

Threads
1,122,496
Messages
5,596,502
Members
414,073
Latest member
Contilly

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
Top