Hello all,
I've been looking for a way to get my excel workbook somewhat fool-proof (impossible, probably).
It is an workbook ranging 5 sheets in which 1000 lines of code need to be rearranged and adapted to come up with something my program will understand.
In the pursuit of making it fool proof, I found the INDIRECT formula to help protect against cut/copy/paste errors and I want to incorporate it in all my formulas, but doing it manually will require me to go over 14 columns with 1000 rows.
I made an exert in a new workbook, see attachment.
In cell L3, I started with replacing the cell reference with A3 into (INDIRECT("'Structure'!A3")),
M3 from =IF(G3="NLP",B3,("'"&B3&"'")) into =IF((INDIRECT("'Structure'!G3"))="NLP",(INDIRECT("'Structure'!B3")),("'"&(INDIRECT("'Structure'!B3"))&"'"))
ETc etc, completely for the range L3:W1003.
But after completing the first line, autocomplete couldn't help me because the reference is between quotation marks, so it doesn't continue a count.
Macro recording didn't get what I was doing, so couln't complete it either. Using Macro's already online all tried putting INDIRECT function in front of the formula, but also that results in a REF! error.
Basically, I'm a little lost and spent my entire day on just this issue...
Hopefully you can help me out, give me a solutions, an alternative or w/e.
Bookmarks