multiple index match

u65646

New Member
Joined
Oct 11, 2014
Messages
15
Hello

I'm trying to do an index match and it successfully works individually but when I try to add 4 index match one 1 line, I can't seem to get it to work.

Please find below the individual formulas that I want to incorporate on 1 line.

=IFERROR(INDEX('S&M 16th Apr'!$ET$14:$ET$213,MATCH('Cost of Sales (May 18)'!$F50,'S&M 16th Apr'!$G$14:$G$213,0)),"")

=IFERROR(INDEX('Secur Licence Rev'!$C$8:$C$107,MATCH('Cost of Sales (May 18)'!$F50,'Secur Licence Rev'!$K$8:$K$107,0)),"")

=IFERROR(INDEX('Cognos Milestone report'!$F$4:$F$2003,MATCH('Cost of Sales (May 18)'!$F50,'Cognos Milestone report'!$N$4:$N$2003,0)),"")

=IFERROR(INDEX('BPC FCST (NEW)'!$D$13:$D$5012,MATCH('Cost of Sales (May 18)'!$F50,'BPC FCST (NEW)'!$Q$13:$Q$5012,0)),"")

I'm stuck and don't want to use a vlookup to pick the answer as the format of the file can't be changed.


 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Are you saying you want these in one cell?

If so, how do you want them to relate to one another?
 
Last edited:
Upvote 0
Yes I need the formula of all the 4 index matches in one cell.

The index match is looking for a product line from each individual list (ie column ET, column C, Column F, column D)

the Index match would be based on an if statement as follows:

If E50="Secure - Licence", then IFERROR(INDEX('Secur Licence Rev'!$C$8:$C$107,MATCH('Cost of Sales (May 18)'!$F50,'Secur Licence Rev'!$K$8:$K$107,0)),"")

If E50 ="Secure - NROD", then
IFERROR(INDEX('Cognos Milestone report'!$F$4:$F$2003,MATCH('Cost of Sales (May 18)'!$F50,'Cognos Milestone report'!$N$4:$N$2003,0)),"")

if E50="Secure - Professional Services", then
IFERROR(INDEX('BPC FCST (NEW)'!$D$13:$D$5012,MATCH('Cost of Sales (May 18)'!$F50,'BPC FCST (NEW)'!$Q$13:$Q$5012,0)),"")

if E50 ="Secure S&M", thenIFERROR(INDEX('S&M 16th Apr'!$ET$14:$ET$213,MATCH('Cost of Sales (May 18)'!$F50,'S&M 16th Apr'!$G$14:$G$213,0)),"")
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,348
Members
452,638
Latest member
Oluwabukunmi

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