Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Exclamation Cut and Paste a column of a Table

Hi,

After cutting and pasting a column from a Table, the formulas that were referring to the mentioned column, stick to the now empty column.
For example I have a column named A, I cut it and paste it but the cells referring to A now refer to Column1 which is the default name excel assigns to the now empty column.

Thank you all.
  #2   Report Post  
Junior Member
 
Posts: 18
Default

Quote:
Originally Posted by AT--o View Post
Hi,

After cutting and pasting a column from a Table, the formulas that were referring to the mentioned column, stick to the now empty column.
For example I have a column named A, I cut it and paste it but the cells referring to A now refer to Column1 which is the default name excel assigns to the now empty column.

Thank you all.
Hello.


Have you used INDIRECT function at your formulas ?

If you have for exsample at cell C5 the following formula

=SUM(INDIRECT("A10:A100"))

it will always refer to range A10:A100, no matter which changes you
will make to the worksheet.



If you copy or cut the contents from that area to somewhwre else the
reference at cell C5 will remain pointing to a10:A100. This is the case even if
you remove the column A or remove some rows from your workbook.


I tested both direct and relative referrences to whole column A.
On both cases the formula at C5 changed its formula to point to new location correctly.

=SUM(A:A)

=SUM(A$:A$)


Don't use just column letters as names or other that kind of names which are
reserved for Excel's internal use. That might cause confuse or even erroneous
function of Excel.


***
  #3   Report Post  
Junior Member
 
Posts: 2
Lightbulb

Quote:
Originally Posted by Sepeteus Jedermann View Post
Hello.


Have you used INDIRECT function at your formulas ?

If you have for exsample at cell C5 the following formula

=SUM(INDIRECT("A10:A100"))

it will always refer to range A10:A100, no matter which changes you
will make to the worksheet.



If you copy or cut the contents from that area to somewhwre else the
reference at cell C5 will remain pointing to a10:A100. This is the case even if
you remove the column A or remove some rows from your workbook.


I tested both direct and relative referrences to whole column A.
On both cases the formula at C5 changed its formula to point to new location correctly.

=SUM(A:A)

=SUM(A$:A$)


Don't use just column letters as names or other that kind of names which are
reserved for Excel's internal use. That might cause confuse or even erroneous
function of Excel.


***
Hi, the formula is a simple if else referring to column PS.A, I think the problem might be that Im deleting the "Table name and this row" and just leaving [PS.A] which works OK until of course cutting. Im gonna give it a try.
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
Copy & paste table nc Excel Discussion (Misc queries) 4 June 30th 09 12:01 AM
Formula to look up a column and paste results in another column DM Excel Worksheet Functions 4 March 28th 06 07:36 PM
Paste from Word table so that 1 table cell = 1 Excel cell Dave G Excel Discussion (Misc queries) 4 June 17th 05 12:16 AM
Paste table Stephen Excel Worksheet Functions 2 January 21st 05 09:55 PM
Paste a sub-table from a larger table GrantM Excel Discussion (Misc queries) 1 December 21st 04 12:03 AM


All times are GMT +1. The time now is 10:13 AM.

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

About Us

"It's about Microsoft Excel"