I'm running into an issue with using slope indirect when referencing addresses:
This formula works fine:
=SLOPE(INDIRECT(E39&":"&F39),INDIRECT(E40&":"&F40))
where:
E39 = '[Credit Tranche Analysis.xlsm]HY'!$C$1004
F39 = $C:$1004
E40 = '[Credit Tranche Analysis.xlsm]HY'!$I$1004
F40 = $I$1256
However when I substitute in the formulas for the respective cell values, E39, F39, E40 and F40, I end up with an N/A error. Specifically, substituting in F39 and F40 cause the formula to break.
Formulas in those cells are:
E39 = CELL("address",OFFSET(INDEX(HY!$A$3:$AQ$1400,MATCH(Sheet6!$B$2,HY!$A$3:$A$1400,0),MATCH(Sheet6!$B4,HY!$A$3:$AQ$3,0)),-252,0))
F39 = ADDRESS(ROW(INDEX(HY!$A$3:$AQ$1400,MATCH(Sheet6!$B$2,HY!$A$3:$A$1400,0),MATCH(Sheet6!$B4,HY!$A$3:$AQ$3,0))),COLUMN(INDEX(HY!$A$3:$AQ$1400,MATCH(Sheet6!$B$2,HY!$A$3:$A$1400,0),MATCH(Sheet6!$B4,HY!$A$3:$AQ$3,0))))
Bookmarks