<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Darkoshi</title>
  <link>https://darkoshi.dreamwidth.org/</link>
  <description>Darkoshi - Dreamwidth Studios</description>
  <lastBuildDate>Sun, 12 Apr 2020 19:34:20 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>darkoshi</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/736075/301081</url>
    <title>Darkoshi</title>
    <link>https://darkoshi.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://darkoshi.dreamwidth.org/741041.html</guid>
  <pubDate>Sun, 12 Apr 2020 19:34:20 GMT</pubDate>
  <title>Spreadsheet formula copy/paste/edit</title>
  <link>https://darkoshi.dreamwidth.org/741041.html</link>
  <description>This is based on LibreOffice Calc but probably works the same in Excel.&lt;br /&gt;&lt;br /&gt;Say I have a column where several cells have formulas in them like:&lt;br /&gt;=AVERAGE(C10:C18)&lt;br /&gt;&lt;br /&gt;In the next column, I want to have the same formulas but using MIN instead of AVERAGE.&lt;br /&gt;&lt;br /&gt;When I copy and paste the cells from the first column to the second, it changes the formulas like:&lt;br /&gt;=AVERAGE(D10:D18)&lt;br /&gt;&lt;br /&gt;To update the formulas in the 2nd column, select those cells and select from the menu, Edit - Find &amp; Replace.&lt;br /&gt;On the Find&amp;Replace window, make sure these options are selected:&lt;br /&gt;Current Selection Only&lt;br /&gt;Search in: Formulas&lt;br /&gt;&lt;br /&gt;Enter &quot;AVERAGE&quot; in the &quot;Find:&quot; field, and &quot;MIN&quot; in the &quot;Replace:&quot; field.&lt;br /&gt;Click the Replace All button.&lt;br /&gt;&lt;br /&gt;Then repeat that process to change all &quot;D&quot; to &quot;C&quot;.&lt;br /&gt;&lt;br /&gt;Alternately, this method should also work for keeping the original cell references when copying the formulas:&lt;br /&gt;&lt;a href=&quot;https://www.groovypost.com/news/microsoft-releases-windows-10-20h1-preview-build-18970/&quot;&gt;https://www.groovypost.com/news/microsoft-releases-windows-10-20h1-preview-build-18970/&lt;/a&gt;&lt;br /&gt;First use Find&amp;Replace to change all equal signs to a hashtag or other unique character.&lt;br /&gt;Then copy/paste the cells to another column, and use Find&amp;Replace to change the hashtag back to the equal sign again.&lt;br /&gt;(This method could also be used for copying the formulas out of the spreadsheet into a text file, for easier editing.)&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=darkoshi&amp;ditemid=741041&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://darkoshi.dreamwidth.org/741041.html</comments>
  <category>spreadsheets</category>
  <category>software</category>
  <category>notes to self</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
