Hi,
I have the following array formula:
{=IFERROR(INDEX(MasterTable!$D$2:$GC$165,MATCH(1,IF($AA4=MasterTable!$C$2:$C$165,IF($AB4=MasterTable!$A$2:$A$165,1)),0),MATCH($X$3,MasterTable!$D$1:$GC$1,0)),"nothing found")}
I would like to refer to a value in say A1 instead of the above highlighted section. The value in A1 is GC165. I have tried the following:
{=IFERROR(INDEX(MasterTable!$D$2:INDIRECT(A1),MATCH(1,IF($AA4=MasterTable!$C$2:$C$165,IF($AB4=MasterTable!$A$2:$A$165,1)),0),MATCH($X$3,MasterTable!$D$1:$GC$1,0)),"nothing found")}
However, that does not work. Any ideas?
Thanks
I have the following array formula:
{=IFERROR(INDEX(MasterTable!$D$2:$GC$165,MATCH(1,IF($AA4=MasterTable!$C$2:$C$165,IF($AB4=MasterTable!$A$2:$A$165,1)),0),MATCH($X$3,MasterTable!$D$1:$GC$1,0)),"nothing found")}
I would like to refer to a value in say A1 instead of the above highlighted section. The value in A1 is GC165. I have tried the following:
{=IFERROR(INDEX(MasterTable!$D$2:INDIRECT(A1),MATCH(1,IF($AA4=MasterTable!$C$2:$C$165,IF($AB4=MasterTable!$A$2:$A$165,1)),0),MATCH($X$3,MasterTable!$D$1:$GC$1,0)),"nothing found")}
However, that does not work. Any ideas?
Thanks