I'm having troubles figuring out how to put Index Match inside of Vlookup. If I type out my formula as:
=IF(A24="","",VLOOKUP((VLOOKUP(A24,Items!$A:$C,3,FALSE)),'[MasterOrders.xlsx]06102018-145622-Ninja'!$A:$C,3,FALSE))
it works correctly. The problem I am at is the table_array. [MasterOrders.xlsx] always stays the same, but the 06102018-14622-Ninja changes based on the lookup_value.
If I put:
=INDEX($P$2:$P$7,MATCH((VLOOKUP(A24,Items!$A:$K,11,FALSE)),$S$2:$S$7,0)) into a cell it finds the correct value (06102018-14622-Ninja etc...) But I don't understand how to put the Index Match into the Vlookup. This is what I have and it comes up with #VALUE
=IF(A24="","",VLOOKUP((VLOOKUP(A24,Items!$A:$C,3,FALSE)),"[MasterOrders]""&(INDEX($P$2:$P$7,MATCH((VLOOKUP(A24,Items!$A:$K,11,FALSE)),$S$2:$S$7,0)))&!$A:$C",3,FALSE))
Greatly appreciate any help. Thank you in advance.
=IF(A24="","",VLOOKUP((VLOOKUP(A24,Items!$A:$C,3,FALSE)),'[MasterOrders.xlsx]06102018-145622-Ninja'!$A:$C,3,FALSE))
it works correctly. The problem I am at is the table_array. [MasterOrders.xlsx] always stays the same, but the 06102018-14622-Ninja changes based on the lookup_value.
If I put:
=INDEX($P$2:$P$7,MATCH((VLOOKUP(A24,Items!$A:$K,11,FALSE)),$S$2:$S$7,0)) into a cell it finds the correct value (06102018-14622-Ninja etc...) But I don't understand how to put the Index Match into the Vlookup. This is what I have and it comes up with #VALUE
=IF(A24="","",VLOOKUP((VLOOKUP(A24,Items!$A:$C,3,FALSE)),"[MasterOrders]""&(INDEX($P$2:$P$7,MATCH((VLOOKUP(A24,Items!$A:$K,11,FALSE)),$S$2:$S$7,0)))&!$A:$C",3,FALSE))
Greatly appreciate any help. Thank you in advance.