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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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