Issue with Nested IF(ISNA(INDEX(MATCH Equation

djobiii

New Member
Joined
Aug 9, 2018
Messages
2
I have scoured the Internet and I fell like this equation is correct, but there is something not right. I have three Access Database Queries that cannot be merged and I am using:

IF(ISNA(INDEX(InstallQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,InstallQuery!B:B,0))),IF(ISNA(INDEX(CableQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,CableQuery!B:B,0))),INDEX(SiteSurveyQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,SiteSurveyQuery!B:B,0)),INDEX(CableQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,CableQuery!B:B,0))),INDEX(InstallQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,InstallQuery!B:B,0)))

to check all 3 sheets and return data to specific field. I have tested the logic, and I am at my wits end!! Please help me if you can!!!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi djobiii,

If the priority of your INDEX/MATCH query is as follows:
InstallQuery -> if NA -> CableQuery -> if NA -> SiteSurveyQuery

Then maybe try working with the following formula:
=IFERROR(INDEX(InstallQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,InstallQuery!B:B,0)),IFERROR(INDEX(CableQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,CableQuery!B:B,0)),INDEX(SiteSurveyQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,SiteSurveyQuery!B:B,0))))
 
Upvote 0
Hi djobiii,

If the priority of your INDEX/MATCH query is as follows:
InstallQuery -> if NA -> CableQuery -> if NA -> SiteSurveyQuery

Then maybe try working with the following formula:
=IFERROR(INDEX(InstallQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,InstallQuery!B:B,0)),IFERROR(INDEX(CableQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,CableQuery!B:B,0)),INDEX(SiteSurveyQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,SiteSurveyQuery!B:B,0))))

That is closer. It I returning Values from 2 of the sheets. InstallQuery and SiteSuveyQuery, but I am still getting #N/A for the CableQuery. My equation was only returning values from the InstallQuery.
Let me know what you think? Thank you!!
 
Upvote 0
Good progress!
Then you need to investigate this component separately:
=INDEX(CableQuery!F:F,MATCH('Install Report Week 8.5.18'!A2,CableQuery!B:B,0))

...or even simply check if MATCH is returning an error and you will have your answer:
=MATCH('Install Report Week 8.5.18'!A2,CableQuery!B:B,0)
 
Upvote 0

Forum statistics

Threads
1,223,445
Messages
6,172,176
Members
452,446
Latest member
walkman99

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