MarkAtlanta
Board Regular
- Joined
- Sep 26, 2003
- Messages
- 66
In the middle of a big formula, I have a reference to a cell (among other complicated formula thingies). (Well actually I have 2 references to the same cell). That other cell contains a number. With a macro, how do I dynamically convert the formula's cell reference to a number? In my actual formula (not the example below) I am looking up a % in another tab, which is then multiplied by other cells. Then I want to do away with the other tab (because it is huge and I don't need it any more). So what I want is a macro that some way transforms something like:
=(if(b1=8,a1*(b1+b7),0)) into =(if(b1=8,7*(b1+b7),0)) where 7 was the value in a1.
thanks!
=(if(b1=8,a1*(b1+b7),0)) into =(if(b1=8,7*(b1+b7),0)) where 7 was the value in a1.
thanks!