Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Erasing contents and leaving the formula
What is the way to leave the formula (sum, etc.) intact after erasing the
contents inside? Where I do set this? Thanks in advance. |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Erasing contents and leaving the formula
Hi,
An example of what you are trying to do would help but if I understand correctly you might try copying the cell and then 'paste special' 'paste values'. The will replace the formula (=a1+a2) with the result of that formula. Mike "Octavio" wrote: What is the way to leave the formula (sum, etc.) intact after erasing the contents inside? Where I do set this? Thanks in advance. |
#3
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Erasing contents and leaving the formula
Thanks for your repply.
What I mean is, this is an example: I have a time sheet for one week with the timing spent on different projects each day of that week in rows and columns with the "total" converging on the lower right hand corner of the page. Then I want to reuse the same form for the following week, so I erase all the numbers for the previous week, but I want to keep the sum formulas so I would not have to recreate these again. Right now I erase the formulas when I erase the numbers, so I assume that there is a setting somewhere that will allow me to erase the numbers without erasing the formulas. Please advise if there is one. "Mike H" wrote in message ... Hi, An example of what you are trying to do would help but if I understand correctly you might try copying the cell and then 'paste special' 'paste values'. The will replace the formula (=a1+a2) with the result of that formula. Mike "Octavio" wrote: What is the way to leave the formula (sum, etc.) intact after erasing the contents inside? Where I do set this? Thanks in advance. |
#4
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Erasing contents and leaving the formula
Another angle .. maybe you mean selecting just the cells with constants and
clearing these, leaving formula cells alone ? If so, you might want to try pressing F5 Special Check "Constants" OK This will select all non-formula** cells in the sheet at one go. You could then clear with the Delete key. **unfortunately this might include some row/col labels, etc besides precedent cells. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Octavio" wrote in message ... What is the way to leave the formula (sum, etc.) intact after erasing the contents inside? Where I do set this? Thanks in advance. |
#5
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Erasing contents and leaving the formula
How are you erasing the numbers/formulas now?
There's no quick way to tell Excel to only deal with the numbers entered by the end user. See Max's reply below for more on that. If you are selecting by hand, simply do not select the cells with the formulas in them before hitting the [Del] key. But there is a 'work around' using the idea that Max did come up with. Where you have text/labels that you don't want erased, change those to formulas and then use his Edit | Goto | Special [Constants] method. Example: You have a cell that you typed EMPLOYEE NAME into and of course you don't want that erased. Change that to ="EMPLOYEE NAME" and it becomes a formula instead of a constant and would not be selected using Max's suggestion. If you're doing this copy/cleanup with a VBA macro, then it can be altered to just clear out the specific areas you need cleared out, leaving formulas behind. Start down that road by posting the code here, if it exists. "Octavio" wrote: Thanks for your repply. What I mean is, this is an example: I have a time sheet for one week with the timing spent on different projects each day of that week in rows and columns with the "total" converging on the lower right hand corner of the page. Then I want to reuse the same form for the following week, so I erase all the numbers for the previous week, but I want to keep the sum formulas so I would not have to recreate these again. Right now I erase the formulas when I erase the numbers, so I assume that there is a setting somewhere that will allow me to erase the numbers without erasing the formulas. Please advise if there is one. "Mike H" wrote in message ... Hi, An example of what you are trying to do would help but if I understand correctly you might try copying the cell and then 'paste special' 'paste values'. The will replace the formula (=a1+a2) with the result of that formula. Mike "Octavio" wrote: What is the way to leave the formula (sum, etc.) intact after erasing the contents inside? Where I do set this? Thanks in advance. |
#6
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Erasing contents and leaving the formula
Octavio wrote:
What is the way to leave the formula (sum, etc.) intact after erasing the contents inside? Where I do set this? Thanks in advance. Instead of filling in your blank form copy it to another worksheet and then fill it in leaving your original intact to use the next time. A similar process would be to do a Save As on the original thus creating a new workbook and then use it. gls858 |
#7
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Erasing contents and leaving the formula
I don't understand this Jerry.
You have a cell that you typed EMPLOYEE NAME into and of course you don't want that erased. Change that to ="EMPLOYEE NAME" and it becomes a formula instead of a constant and would not be selected using Max's suggestion. When F5SpecialConstants just uncheck "Text" and EMPLOYEE NAME won't be selected. Gord On Wed, 8 Aug 2007 05:28:04 -0700, JLatham <HelpFrom @ Jlathamsite.com.(removethis) wrote: How are you erasing the numbers/formulas now? There's no quick way to tell Excel to only deal with the numbers entered by the end user. See Max's reply below for more on that. If you are selecting by hand, simply do not select the cells with the formulas in them before hitting the [Del] key. But there is a 'work around' using the idea that Max did come up with. Where you have text/labels that you don't want erased, change those to formulas and then use his Edit | Goto | Special [Constants] method. Example: You have a cell that you typed EMPLOYEE NAME into and of course you don't want that erased. Change that to ="EMPLOYEE NAME" and it becomes a formula instead of a constant and would not be selected using Max's suggestion. If you're doing this copy/cleanup with a VBA macro, then it can be altered to just clear out the specific areas you need cleared out, leaving formulas behind. Start down that road by posting the code here, if it exists. "Octavio" wrote: Thanks for your repply. What I mean is, this is an example: I have a time sheet for one week with the timing spent on different projects each day of that week in rows and columns with the "total" converging on the lower right hand corner of the page. Then I want to reuse the same form for the following week, so I erase all the numbers for the previous week, but I want to keep the sum formulas so I would not have to recreate these again. Right now I erase the formulas when I erase the numbers, so I assume that there is a setting somewhere that will allow me to erase the numbers without erasing the formulas. Please advise if there is one. "Mike H" wrote in message ... Hi, An example of what you are trying to do would help but if I understand correctly you might try copying the cell and then 'paste special' 'paste values'. The will replace the formula (=a1+a2) with the result of that formula. Mike "Octavio" wrote: What is the way to leave the formula (sum, etc.) intact after erasing the contents inside? Where I do set this? Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Erasing a Formula? | Excel Discussion (Misc queries) | |||
how do I replace #n/a in a formula with 0, without erasing my for. | Excel Discussion (Misc queries) | |||
Erasing a excel file | Excel Discussion (Misc queries) | |||
How do I make the 0 hidden with erasing the formula in a block? | Excel Discussion (Misc queries) | |||
How do I make the 0 hidden with erasing the formula in a block? | Excel Discussion (Misc queries) |