I have a large and complex workbook. For the most part, every row contains the same formula with relative references copy and pasted to the right. I.e. A3 = A$1 * A2, A4 = A$1 * A3, A5 = A$1 * A4, etc.
However, there are some cells where the formula will change. Sometimes intentionally, and sometimes in error.
I want a way to highlight any cell where the formula changes so I can check the workbook for errors or correct a change I no longer need. I.e., highlight A5 in this example: A3 = A$1 * A2, A4 = A$1 * A3, A5 = A4 * B7.
Short of writing my own routine to parse the starting formula (A3 = A$1 * A2) and computing the resulting formula (A4 = A$1 * A3) and comparing that to the actual formula in A4, is there a way to make Excel do this for me? I was thinking something along the lines of a VBA function that will take a cell reference and "copy/paste" the formula virtually into an adjacent cell without actually pasting it?
Suggestions appreciated.
Bookmarks