Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Clear and Copy vs Delete
I have a table of people and their activities. I have no trouble adding new
people but have a problem on deletion. If I delete a row there is the problem of #REF! in formulas and also the tables below are moved. I think clearing contents and copying and moving up the information below is the answer. I have trouble with the code. Can someone help me? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Clear and Copy vs Delete
Neither way is any good. Consider the simplest case:
A1 contains 1 A3 contains: =A1 If you select the first row and delete it, the formula in A3 moves up to A2 and shows: #REF! That is because the precedent cell not long exits. You must: 1. first fix the formulas 2. then delete the row -- Gary''s Student - gsnu200821 "Barry Lennox" wrote: I have a table of people and their activities. I have no trouble adding new people but have a problem on deletion. If I delete a row there is the problem of #REF! in formulas and also the tables below are moved. I think clearing contents and copying and moving up the information below is the answer. I have trouble with the code. Can someone help me? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Clear and Copy vs Delete
Thanks.
I am trying to avoid deleting row as tables lower in the sheet move up and the reference to cells in these will not be correct for my other codes. I really need the code to go down one row, select from there to the last row and the last column containg data, copy it and paste into the cell above. "Gary''s Student" wrote: Neither way is any good. Consider the simplest case: A1 contains 1 A3 contains: =A1 If you select the first row and delete it, the formula in A3 moves up to A2 and shows: #REF! That is because the precedent cell not long exits. You must: 1. first fix the formulas 2. then delete the row -- Gary''s Student - gsnu200821 "Barry Lennox" wrote: I have a table of people and their activities. I have no trouble adding new people but have a problem on deletion. If I delete a row there is the problem of #REF! in formulas and also the tables below are moved. I think clearing contents and copying and moving up the information below is the answer. I have trouble with the code. Can someone help me? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to copy an Excel worksheet with formulas and clear contents. | Excel Discussion (Misc queries) | |||
How do I put a delete button on excel that will clear the fields? | Excel Worksheet Functions | |||
How do I only delete/clear the visible cells in a filtered list? | Excel Worksheet Functions | |||
Clear Clipboard after Copy | Excel Discussion (Misc queries) | |||
How clear the cut/copy blinking boxes after macro | Excel Worksheet Functions |