--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"Lofred" <Lof...@discussions.microsoft.com> wrote in message
news:D3DE79C2-C41E-46C7...@microsoft.com...
Remember that generally a cell can contain EITHER a formula OR a value, not
both at the same time. But with some VB magic, you can capture the value
that a formula generates and put it somewhere else and then do other things,
such as 'resetting' the values that the formula uses to generate the value.
For example, perhaps you have a simple formula like:
=SUM(A2:B2)
so it gives you the total of A2+B2 when anyone types a value into either A2
or B2. You could trigger off of that to save the answer the formula comes up
with and then erase the entries in A2 and B2.
Not possible - formulae necessarily return the results of their calculations. You could, of course, delete the data the formula
refers to.
--
Cheers
macropod
[Microsoft MVP - Word]
"Lofred" <Lof...@discussions.microsoft.com> wrote in message news:D3DE79C2-C41E-46C7...@microsoft.com...
1. Select a range of cells.
2. Click EDIT > Cut
3. Click EDIT > Paste special
4. Disable the NUMBER CELLS checkbox.
5. Click PASTE
The value in the cell now turns to zero with the formula intact.
A sample formula in cell A3 would be; =IF(A1=1,A2,A3)
where A1=1 A2=5 resulting in A3=5
The value 5 would stay in A3 unless you deleted the formula in A3 and
reentered it.
A nested IF statement would be a work-a-round but it would make the formulas
more complex. I was hoping Excel had a similar process but I have not found
it.
Lofred
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"Lofred" <Lof...@discussions.microsoft.com> wrote in message
news:01DD5890-92C9-414C...@microsoft.com...
--
Regards
Roger Govier
"Lofred" <Lof...@discussions.microsoft.com> wrote in message
news:01DD5890-92C9-414C...@microsoft.com...
> __________ Information from ESET Smart Security, version of virus
> signature database 4736 (20100101) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
__________ Information from ESET Smart Security, version of virus signature database 4736 (20100101) __________
The message was checked by ESET Smart Security.
"Don Guillett" wrote:
> .
>