2 D look up Index Match across Multiple Sheets i.e. If not in S1, then S2, If not S2 then S3.

questforexcel

Board Regular
Joined
Jan 18, 2019
Messages
128
Office Version
  1. 2013
Platform
  1. Windows
Hi All,

I know how to use the Index and Match functions for pulling out data from a matrix. Could you please help and advise on how to combine multiple Index Match functions for one cell across multiple sheets of matrix. I searched online couldnt find any solution to this.

What I need my data to do is search for the combinations of the matrix in Sheet1, if not in Sheet1 then search for it in Sheet 2, if not in Sheet 2 then search for it in Sheet 3.

Below is the formula for the single index match function which works fine, but when i insert another index match function seperated by a "," from the 1st one, it just shows#NA. Could you please help. Thank you

=IFERROR(INDEX('FY 16 P&L'!$C$6:$O$61,MATCH(' MoM P&L FY16-FY18'!$B6,'FY 16 P&L'!$B$6:$B$61,0),MATCH(' MoM P&L FY16-FY18'!C$4,'FY 16 P&L'!$C$5:$N$5,0)),"")

ParticularsSep-15Oct-15Nov-15
Total Income
Sales


<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Repeat the iferror, changing the sheet ref on each to be the next sheet (note i haven't changed the ref's).

=IFERROR(INDEX('FY 16 P&L'!$C$6:$O$61,MATCH(' MoM P&L FY16-FY18'!$B6,'FY 16 P&L'!$B$6:$B$61,0),MATCH(' MoM P&L FY16-FY18'!C$4,'FY 16 P&L'!$C$5:$N$5,0)),IFERROR(INDEX('FY 16 P&L'!$C$6:$O$61,MATCH(' MoM P&L FY16-FY18'!$B6,'FY 16 P&L'!$B$6:$B$61,0),MATCH(' MoM P&L FY16-FY18'!C$4,'FY 16 P&L'!$C$5:$N$5,0)),IFERROR(INDEX('FY 16 P&L'!$C$6:$O$61,MATCH(' MoM P&L FY16-FY18'!$B6,'FY 16 P&L'!$B$6:$B$61,0),MATCH(' MoM P&L FY16-FY18'!C$4,'FY 16 P&L'!$C$5:$N$5,0)),IFERROR(INDEX('FY 16 P&L'!$C$6:$O$61,MATCH(' MoM P&L FY16-FY18'!$B6,'FY 16 P&L'!$B$6:$B$61,0),MATCH(' MoM P&L FY16-FY18'!C$4,'FY 16 P&L'!$C$5:$N$5,0)),""))))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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