Multiple IF-INDEX-MATCH formula

manpritspa

New Member
Joined
Dec 30, 2016
Messages
1
Hi all,

I have a workbook with 5 worksheets. One "Summary" sheet, and others are "K-08", "K-09", "Narrow" and "Master Date".
Summary sheet is where you plan production for three machines-K08, K-09 and Narrow. You need to give priority for each machine with Job name and expected quantity. Then sheets K-08, K-09 and Narrow will derive date from Summary sheet and Master sheet and calculate Expected Delivery date.

Summary Sheet Format is as follows

C D E F G

2 Job Name Quantity Machine Priority Delivery Date

3 Job A 2000 K-08 1 #Value!

4 Job B 5000 K-09 1 #Value!

5 Job C 250 Narrow 1 #Value!


Now at summary sheet, in cell G2, I want delivery date to be displayed where it matches machine, job name, and priority.

I am trying this but not working:

=IF(E3="K-08",(INDEX('K-08'!$R$3:$R$52,MATCH('Delivery Date Planner'!C3&'Delivery Date Planner'!F3,'K-08'!$D$3:$D$52&'K-08'!$C$3:$C$52,1)))),IF(E3="K-09",(INDEX('K-09'!$R$3:$R$52,MATCH('Delivery Date Planner'!C3&'Delivery Date Planner'!F3,'K-09'!$D$3:$D$52&'K-09'!$C$3:$C$52,1)))),IF(E3="Narrow",(INDEX(Narrow!$R$3:$R$52,MATCH('Delivery Date Planner'!C3&'Delivery Date Planner'!F3,Narrow!$D$3:$D$52&Narrow!$C$3:$C$52,1))))


Please help!


Manprit
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

BarryL

Well-known Member
Joined
Jan 20, 2014
Messages
1,436
Office Version
  1. 2019
Platform
  1. Windows
  2. MacOS
can you try

=INDEX(INDIRECT("'"&E3&"'!$R$3:$R$52"),MATCH('Delivery Date Planner'!C3&'Delivery Date Planner'!F3,'K-08'!$D$3:$D$52&INDIRECT("'"&E3&"'!$$C$3:$C$52"),1))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,422
Messages
5,837,149
Members
430,478
Latest member
masoodb1358

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
Top