Combine two index match formulas into single formula

dejamls

New Member
Joined
Nov 22, 2015
Messages
17
Office Version
  1. 365
Platform
  1. Windows
Hi all

I have these two formulas which work but I need to combine into one formula. I tried a few things but unsuccessful and given up. I could create helper columns but rather use single formula.

=IF($A11="","",IFERROR(IF(INDEX(PDA!$B$2:$B$1048576,MATCH(TRUE,ISNUMBER(SEARCH("*"&"Code Red"&"*",PDA!$Q$2:$Q$1048576)*SEARCH($A11,PDA!$B$2:$B$1048576)),0))=TRUE,"N","Y"),""))

=IF($A11="","",IFERROR(IF(INDEX(RDA!$B$2:$B$1048576,MATCH(TRUE,ISNUMBER(SEARCH("*"&"Code Red"&"*",RDA!$U$2:$U$1048576)*SEARCH($A11,RDA!$B$2:$B$1048576)),0))=TRUE,"N","Y"),""))

I need to combine them. Can someone help combine them please into one formula.

🙏 😊
 
Thanks for that.
How about
Excel Formula:
=IF($A11="","",IF(OR(IFERROR(ISNUMBER(MATCH(TRUE,ISNUMBER(SEARCH("Code Red",PDA!$Q$2:$Q$1048576)*SEARCH($A11,PDA!$B$2:$B$1048576)),0)),""),IFERROR(ISNUMBER(MATCH(TRUE,ISNUMBER(SEARCH("Code Red",RDA!$U$2:$U$1048576)*SEARCH($A11,RDA!$B$2:$B$1048576)),0)),"")),"Y","N"))
 
Upvote 1
Solution

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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