No-one ever seems to get anywhere with this so I think I must be missing something obvious.
I need get a reference for a specific column and the current row (AAx). I've currently used INDIRECT() but I know thats quite computationally inefficient and I need about 10,000 instances of this formula - each with 15-20 references:
I need get a reference for a specific column and the current row (AAx). I've currently used INDIRECT() but I know thats quite computationally inefficient and I need about 10,000 instances of this formula - each with 15-20 references:
=IF(ISNUMBER(SEARCH("NB", INDIRECT("AA" & ROW()) )),0,
IF(ISNUMBER(SEARCH("FB", INDIRECT("AA" & ROW()) )),350,
IF(OR(INDIRECT("P" & ROW())=5,
INDIRECT("P" & ROW())=6,
INDIRECT("P" & ROW())=7), 0.5,
IF(INDIRECT("P" & ROW())=4, 0.4,
IF(INDIRECT("P" & ROW())=3, 0.3,
IF(INDIRECT("P" & ROW())=2, 0.25,
IF(ISNUMBER(SEARCH("PM1", INDIRECT("O" & ROW()) )), 0.12,
IF(ISNUMBER(SEARCH("FMG", INDIRECT("O" & ROW()) )), 0.12,
IF(ISNUMBER(SEARCH("FMH", INDIRECT("O" & ROW()) )), 0.12,
IF(ISNUMBER(SEARCH("TAA", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("TAB", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("TAC", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("TBC", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1A", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1B", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1C", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1D", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1E", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1F", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("LF1", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("LW", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("LC", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("LT", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("L4A", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("ZIP", INDIRECT("O" & ROW()) )), 0,
IF(ISNUMBER(SEARCH(“BC”, INDIRECT("J" & ROW()) )), 350,
""
))))))))))))))))))))))))))
I'm basically looking for a replacement for INDIRECT()
Thanks in advance
IF(ISNUMBER(SEARCH("FB", INDIRECT("AA" & ROW()) )),350,
IF(OR(INDIRECT("P" & ROW())=5,
INDIRECT("P" & ROW())=6,
INDIRECT("P" & ROW())=7), 0.5,
IF(INDIRECT("P" & ROW())=4, 0.4,
IF(INDIRECT("P" & ROW())=3, 0.3,
IF(INDIRECT("P" & ROW())=2, 0.25,
IF(ISNUMBER(SEARCH("PM1", INDIRECT("O" & ROW()) )), 0.12,
IF(ISNUMBER(SEARCH("FMG", INDIRECT("O" & ROW()) )), 0.12,
IF(ISNUMBER(SEARCH("FMH", INDIRECT("O" & ROW()) )), 0.12,
IF(ISNUMBER(SEARCH("TAA", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("TAB", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("TAC", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("TBC", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1A", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1B", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1C", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1D", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1E", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("1F", INDIRECT("O" & ROW()) )), 0.06,
IF(ISNUMBER(SEARCH("LF1", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("LW", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("LC", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("LT", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("L4A", INDIRECT("O" & ROW()) )),350,
IF(ISNUMBER(SEARCH("ZIP", INDIRECT("O" & ROW()) )), 0,
IF(ISNUMBER(SEARCH(“BC”, INDIRECT("J" & ROW()) )), 350,
""
))))))))))))))))))))))))))
I'm basically looking for a replacement for INDIRECT()
Thanks in advance