# Multiple IF-INDEX-MATCH formula

#### manpritspa

##### New Member
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))))

Manprit

### Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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))

Replies
3
Views
81
Replies
5
Views
526
Replies
1
Views
145
Replies
0
Views
123
Replies
1
Views
122

1,214,436
Messages
6,119,513
Members
448,903
Latest member
StephMJ

### 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.

### Which adblocker are you using?

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

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