title: Formula locking
body: <p>In LibreOffice 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 placed the formula <code>$A1-$B1</code> into the first cell and dragged down filling the subsequent rows.  </p>
  
  <p>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.</p>
  
  <p>What was <code>$A1-$B1</code> is now <code>$A1-$B2</code>.  Usually a great bit functionality but in this instance it's frustrating. I wanted it to remain <code>A1-B1</code>.  </p>
  
  <p>The solution is easy, <code>$A$1-$B$1</code>, the problem with that is, like I said, there are many rows and going through each formula and adding that second <code>$</code> is too time consuming, and dragging the <code>$A$1-$B$1</code> places <code>$A$1-$B$1</code> into each row.</p>
  
  <p>[ EDIT ]  While waiting for a response, I decided to work my way through the third column.  Actually even when doubling up on the <code>$A$1-$B$1</code> and then moving the contents of the second column the values for the third column change.</p>
  
  <p>How can I avoid this?</p>
  
  <p>Is there a way to apply the formula locks over a selection of formulas?</p>