IF condition FALSE then INDEX MATCH Array

rinconpaul

New Member
Joined
Jul 11, 2015
Messages
21
I want to combine two formulas in an IF statement? I have this formula: IF (Data!CX43="False"), then proceed with this array formula: {=IFERROR(INDEX(Table!$C$2:$C$1000,MATCH(1,(Data!CT45=Table!$B$2:$B$1000)*(Data!CN45=Table!$A$2:$A$1000),0)),0)} otherwise return "0".

I've googled the "google' out of this query, to no avail. Seems like it can't be done?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Assuming that we have here the logical FALSE, not just text... Control+shift+enter:

=IF(Data!CX43=FALSE,
IFERROR(INDEX(Table!$C$2:$C$1000,MATCH(1,(Data!CT45=Table!$B$2:$B$1000)*(Data!CN45=Table!$A$2:$A$1000),0)),0)
,0)
 
Upvote 0
Aladin, that works! I had the exact same formula as you in the many tries I had, but the secret was? I had FALSE as "FALSE". Those quotation marks were the culprits! Well done to you and thanks for taking the time to reply.
 
Upvote 0
Aladin, that works! I had the exact same formula as you in the many tries I had, but the secret was? I had FALSE as "FALSE". Those quotation marks were the culprits! Well done to you and thanks for taking the time to reply.

You are welcome. Double quoting makes it text. Put otherwise, it loses its logical value identity.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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