#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John
 
Posts: n/a
Default Locking a cell

I need to have some cells add and delete in one column. At the end of each
day i need to clear everything out, but have the total at the bottom of the
page appear at the top of the column. I have tried this, but when ever i hit
the clear macro, it puts a zero at the top. Any idea how to lock that cell
so it will not clear?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Otto Moehrbach
 
Posts: n/a
Default Locking a cell

John
You have a formula in that cell at the top. That formula sums whatever
is written in the formula. When you clear the cells that this formula sums,
you will get the sum of those cells, zero. The only way to "freeze" that
number is to remove the formula and replace it with the number that was
displayed in that cell before you cleared the cells.
To do this, select that cell (the one at the top that sums all the other
cells). Do this before you clear the cells. Click on Edit - Copy. With
that cell still selected click on Edit - Paste Special. Click on Values.
Click OK. The formula is now gone and the number is still there. HTH
Otto
"John" wrote in message
...
I need to have some cells add and delete in one column. At the end of each
day i need to clear everything out, but have the total at the bottom of
the
page appear at the top of the column. I have tried this, but when ever i
hit
the clear macro, it puts a zero at the top. Any idea how to lock that
cell
so it will not clear?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Copy the value of a cell to any given cell Memphis Excel Discussion (Misc queries) 4 October 21st 05 08:29 PM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Cell locking and program freezing sbmjm Excel Discussion (Misc queries) 0 February 22nd 05 07:49 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 12:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"