OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[Solved] #REF! when using Paste Special or Paste in Calc

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
Bob Hawkins
General User
General User


Joined: 10 Sep 2008
Posts: 28

PostPosted: Tue Oct 14, 2008 10:14 am    Post subject: [Solved] #REF! when using Paste Special or Paste in Calc Reply with quote

I have maintained a weekly budget spreadsheet of income and expenditure in MS Works for many years. I recently saved my MS Works .xlr file as .ods because I wish to gradually migrate to OpenOffice. The four main columns in the spreadsheet are:
Column A Item (Electric, for example)
Column B Previous Amount (Format = Number)
Column C Weekly Rate (Format = Number)
Column D Income (Format = Number)
Column E Expenditure (Format = Number)
Column F New Amount (Formula =B7+C7+D7-E7, for example)
Each week in MS Works, I would select the whole of column E, Ctrl C, highlight B7 (the cell of the first row), choose Paste Special, and the whole of column B and column E would be updated.
I find that, when I try to do the same thing in Calc, whether I use Paste Special or Paste, the result is #REF! displayed in the cells and =#REF!7+#REF!7+#REF!7-A7 (for example) in the Input line.

I see now that Paste all, which includes Formulas, was selected by default in the Paste Special dialog box. Once I uncheck all but the Numbers box, the issue is resolved.
Also, I note that, as a result of highlighting the Input line details to copy and paste into this post, I cannot unhighlight it; I have to close the file.
I should be most grateful if someone could advise me about what I am doing incorrectly.
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Tue Oct 14, 2008 11:40 am    Post subject: Reply with quote

Well, when you paste values only you will lose the formulas and thus you lose the relation between the raw input values and the calculated results.

The #REF! error in spreadsheets can be triggered like this:
Put a reference =A1 in B2. This relative reference refers to the cell one row above and one column to the right. Copy B2 to B1 and A2 and see what happens.

So you pasted relative references from one sheet to a position in another sheet where the references refer to a place out of sheet-bounds.
_________________
Rest in peace, oooforum.org
Get help on http://forum.openoffice.org
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group