Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

EXCEL 2010 Quirk Copy Paste


Likes # 0

Using Excel 2010, I noticed what I can only call a 'Quirk'

Try this:Enter

Cell a1 enter 5

Cell a2 enter 6

Cell a3 enter 7

Cell a4 enter calculation =sum(a1:c1) and you will get 18, which is correct.

Now copy the contents of cell a4 to cell a5 and you get 31, as the formula has changed to =sum(b1:d1).

The same applies if you do =a1+a2+a3.

Is there a way to stop this apart from using absolutes?.

Terry

Like this post

Likes # 0

Shouldn't cell A4 be sum(a1:a3)? Sum (a1:c1) if there is nothing in columns b and c should result in 5.

Like this post

Likes # 0

Absolutes are for this sort of thing.

Like this post

Likes # 0

What you can do is;

Instead of copying the cell itself, select the cell you want to copy, and select and copy the contents of the formula bar. You can then paste this to a different cell and the contents wont have changes, becasue what you have actually copied is a line of text, not a cell.

Regards,

Simsy

Like this post

Likes # 0

The only way I found it was developing a small accounting program, I decided to leave a cell space between the data entered and the calculation to make it clearer,so I cut and pasted the calculations to the right by one cell, and noticed the diference.

I have now sorted the problem by inserting a blank row between the data and the calculation, however it would be very easy to make an error this way without realising what had happened.

Terry

Like this post

Reply to this topic

close
What is Markdown?

Markdown lets you add more formatting to your post. Simply type in your post and it will display as written.

If you wish to add bold or italic characters, add a hyperlink to another website, a heading or a horizontal line, simply use the relevent icons above the text input field.

A preview of your post will appear in the grey box below. If you make a change and you're not happy, simply press the back arrow icon to undo.






Send to a friend

Email this article to a friend or colleague:


PLEASE NOTE: Your name is used only to let the recipient know who sent the story. Both your name and the recipient's name and address will not be used for any other purpose.

* *