Hi,
I was wondering if it would possible to convert Formulas to the most final cell reference using VBA Macro.
For eg.
Let's say the formula in Cell H2 is as follows
Now let's say the evaluation of this index match function directs us to Cell D3 (ie the Value in Cell F2 was same as that in Cell C3).
So would it be possible to convert this formula to
As its final evaluation was the value of D3.
To get to this I've tried using Evaluate(ActiveCell.Formula).Address
However it returns me with an error.
Thanks.
I was wondering if it would possible to convert Formulas to the most final cell reference using VBA Macro.
For eg.
Let's say the formula in Cell H2 is as follows
Code:
=IFERROR(INDEX($D$2:$D$7,MATCH($F2,$C$2:$C$7,0)),"")
Now let's say the evaluation of this index match function directs us to Cell D3 (ie the Value in Cell F2 was same as that in Cell C3).
So would it be possible to convert this formula to
Code:
=D3
As its final evaluation was the value of D3.
To get to this I've tried using Evaluate(ActiveCell.Formula).Address
However it returns me with an error.
Thanks.