LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-08-2012, 04:12 AM   #1
cin_
Member
 
Registered: Dec 2010
Posts: 266

Rep: Reputation: 23
Formula Locking In LibreOffice Calc


I have a LibreOffice question.

In Calc I have three columns. The first and second columns are values and the third is the difference between the first two.

There are many rows so to fill the third column with formulas I place the formula $A1-$B1 into the first cell, and dragged down filling the subsequent rows.

So far so good.

But then I want to be able to move the entire second row up and down, aligning different row values to see their differences.

When I highlight and move the second column, the formulas move with it.

What was $A1-$B1 is now $A1-$B2. Usually a great bit functionality but in this instance it's frustrating. I wanted it to remain A1-B1.

The solution is easy, $A$1-$B$1, the problem with that is, like I said, there are many rows and going through each formula and adding that second $ is too time consuming, and dragging the $A$1-$B$1 places $A$1-$B$1 into each row.

[ EDIT ] While waiting for a response, I decided to work my way through the third column. Actually even when doubling up on the $A$1-$B$1 and then moving the contents of the second column the values for the third column change. How can I avoid this?

Is there a way to apply the formula locks over a selection of formulas?

Last edited by cin_; 11-08-2012 at 04:23 AM. Reason: gramm`err
 
Old 11-12-2012, 08:21 AM   #2
elucches
Member
 
Registered: Jan 2011
Posts: 91

Rep: Reputation: 8
Hi,
Did you ask in LibreOffice or OpenOffice forums? I guess you'll find an answer there.
Best regards,
Esteban
 
Old 11-19-2012, 06:12 AM   #3
cin_
Member
 
Registered: Dec 2010
Posts: 266

Original Poster
Rep: Reputation: 23
Figured

elucches, thanks for the suggestion. I did just that and was introduced to the solution.

Code:
=INDIRECT("A" & ROW() ) - INDIRECT("B" & ROW())

Last edited by cin_; 11-19-2012 at 06:12 AM. Reason: gramm`err
 
  


Reply

Tags
libreoffice


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Open Office Calc Formula to Computer Time Duration tailinlinux Linux - Newbie 7 06-28-2012 03:47 AM
LXer: LibreOffice Math/Formula Editor Examples LXer Syndicated Linux News 0 02-08-2012 01:00 AM
Help Please - Open Office CALC Formula's SangrelX Linux - Software 1 06-23-2009 10:42 PM
elapsed time formula for open office calc philosophe Linux - Software 1 03-30-2005 06:32 AM
OpenOffice Calc formula question Bigun Linux - Software 2 08-16-2004 04:07 PM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration