Cell Formulas | ||
---|---|---|
Range | Formula | |
D1:D6 | D1 | =LOOKUP(2,1/(sheet2!$B$1:$B$6=$B1)/(sheet2!$C$1:$C$6=$C1),(sheet2!$D$1:$D$6)) |
E1:E6 | E1 | =LOOKUP(2,1/(sheet2!$B$1:$B$6=$B1)/(sheet2!$C$1:$C$6=$C1),(sheet2!$E$1:$E$6)) |
F1:F6 | F1 | =LOOKUP(2,1/(sheet2!$B$1:$B$6=$B1)/(sheet2!$C$1:$C$6=$C1),(sheet2!$F$1:$F$6)) |
G1:G6 | G1 | =LOOKUP(2,1/(sheet2!$B$1:$B$6=$B1)/(sheet2!$C$1:$C$6=$C1),(sheet2!$G$1:$G$6)) |
er sorry, missed one of the sheet refrencestry this
Excel Formula:=INDEX(Sheet2!D$1:D$6,MATCH(1,($C1=INDIRECT("'"&$A1&"'!"&"$B$1:$B$6"))*($D1=INDIRECT("'"&$A1&"'!"&"$C$1:$C$6")),0))
=INDEX(INDIRECT("'"&$A1&"'!"&"$d$1:$d$6"),MATCH(1,($C1=INDIRECT("'"&$A1&"'!"&"$B$1:$B$6"))*($D1=INDIRECT("'"&$A1&"'!"&"$C$1:$C$6")),0))
Did you try the formula I suggested in post#4? It should do exactly what you asked for.Can't I do a VLOOKUP based on values in column C & D to both match and then reference the other sheet based on the sheet name in a1? like a vlookup based on 2 values, but referencing sheet name in column A
How aboutExcel Formula:=INDEX(INDIRECT("'"&A2&"'!D2:G20"),MATCH(C2&"|"&D2,INDIRECT("'"&A2&"'!B2:B20")&"|"&INDIRECT("'"&A2&"'!C2:C20"),0),{1,2,3,4})