R
Robert
Help requested please....
I want to automatically populate a cell with a value if
another cell is equal to zero. However, I do not want the
cell that is being populated to contain a formula because
the user is also able to over-ride the default number. If
they do this then the formula will be overwritten.
For example, if were going to use an IF statement in cell
A2 (assuming this is the cell I want populated) I would
use: =if(A1=0,100%,0). A1 can be any value and as long as
it is 0 then I want A2 to automatically = 100%. If A1 is
<>0 then I want the user to enter a value in A2. The value
in A1 can change based on various options the user want to
see.
How can I use a macro or validation to achieve this?
thank you very much.
Robert
I want to automatically populate a cell with a value if
another cell is equal to zero. However, I do not want the
cell that is being populated to contain a formula because
the user is also able to over-ride the default number. If
they do this then the formula will be overwritten.
For example, if were going to use an IF statement in cell
A2 (assuming this is the cell I want populated) I would
use: =if(A1=0,100%,0). A1 can be any value and as long as
it is 0 then I want A2 to automatically = 100%. If A1 is
<>0 then I want the user to enter a value in A2. The value
in A1 can change based on various options the user want to
see.
How can I use a macro or validation to achieve this?
thank you very much.
Robert