How to delete cell values withour deleting cell formulae

P

perfection

I wish to use a previous years excel sheet but i need to blank out all
entered and caluclated values present. If i do a complete delete i
will lose all the formulae that have vbeen inserted into certain
formulae. How can i delete all values withour the formulae getting
deleted
 
J

Jon Peltier

Do you want to hide the calculated values? Suppose cell B1 is based on A1.
Delete the contents of A1, and change the formula in B1 from

=<whatever>

to

=IF(LEN(A1)=0,"",<whatever>)

You might consider some kind of unique formatting (e.g. light blue shading)
in A1 and other user-input cells so the user knows where to enter inputs.

- Jon
 
P

perfection

I wish to use a previous years excel sheet but i need to blank out all
entered and caluclated values present. If i do a complete delete i
will lose all the formulae that have vbeen inserted into certain
formulae. How can i delete all values withour the formulae getting
deleted

David
You did understand what i need to do but this merely locates cells
that have formulae and highlights them. how do delete en masse w/out
distubing the formulae cells
 
D

David Biddulph

You seem to have replied to your own message. If you intended to reply to
my message, I'll repeat the content here:
"One option is Edit/ Goto/ Special/ Constants, then delete."

Did you try what I suggested? It doesn't highlight the cells that have
*formulae*, it highlights the cells that have constant *values*, then if you
hit delete it will delete those values, and leave the formulae in place,
which is what you asked for. Perhaps you need to re-read the suggestion and
try again?
 
G

Gord Dibben

David wrote "One option is Edit/ Goto/ Special/ Constants, then delete."

Note the word "constants" not formulas.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top