<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
	
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
 
	
<meta>
      <topic id="textscalcguidecalc_seriesxml" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Automatically Calculating Series</title>
         <filename>/text/scalc/guide/calc_series.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3150769"><bookmark_value>series; calculating</bookmark_value>
      <bookmark_value>calculating; series</bookmark_value>
      <bookmark_value>linear series</bookmark_value>
      <bookmark_value>growth series</bookmark_value>
      <bookmark_value>date series</bookmark_value>
      <bookmark_value>powers of 2 calculations</bookmark_value>
      <bookmark_value>cells; filling automatically</bookmark_value>
      <bookmark_value>automatic cell filling</bookmark_value>
      <bookmark_value>AutoFill function</bookmark_value>
      <bookmark_value>filling;cells, automatically</bookmark_value>
</bookmark><comment>mw made "powers of 2;..." a one level entry and changed "AutoFill" entry</comment><comment>MW changed "auto filling cells"</comment>
<paragraph xml-lang="en-US" id="hd_id3150769" role="heading" level="1" l10n="U" oldref="6"><variable id="calc_series"><link href="text/scalc/guide/calc_series.xhp" name="Automatically Calculating Series">Automatically Filling in Data Based on Adjacent Cells</link>
</variable></paragraph>
      <paragraph xml-lang="en-US" id="par_idN106A8" role="paragraph" l10n="NEW">You can automatically fill cells with data with the AutoFill command or the Series command.</paragraph>
      <paragraph xml-lang="en-US" id="par_idN106D3" role="heading" level="2" l10n="NEW">Using AutoFill</paragraph>
      <paragraph xml-lang="en-US" id="par_idN106D7" role="paragraph" l10n="NEW">AutoFill automatically generates a data series based on a defined pattern.</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3154319" role="listitem" l10n="CHG" oldref="7">On a sheet, click in a cell, and type a number.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_idN106CB" role="listitem" l10n="NEW">Click in another cell and then click back in the cell where you typed the number.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3145272" role="listitem" l10n="CHG" oldref="16">Drag the fill handle in the bottom right corner of the cell across the cells that you want to fill, and release the mouse button.</paragraph>
            <paragraph xml-lang="en-US" id="par_id3145801" role="listitem" l10n="CHG" oldref="17">The cells are filled with ascending numbers.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="par_idN106EE" role="tip" l10n="NEW">To quickly create a list of consecutive days, enter <item type="literal">Monday</item> in a cell, and drag the fill handle.</paragraph>
      <paragraph xml-lang="en-US" id="par_id9720145" role="paragraph" l10n="NEW">Hold down <switchinline select="sys"><caseinline select="MAC">Command
</caseinline><defaultinline>Ctrl</defaultinline></switchinline> if you do not want to fill the cells with different values.</paragraph>
      <paragraph xml-lang="en-US" id="par_id3154490" role="note" l10n="CHG" oldref="18">If you select two or more adjacent cells that contain different numbers, and drag, the remaining cells are filled with the arithmetic pattern that is recognized in the numbers. The AutoFill function also recognizes customized lists that are defined under <item type="menuitem"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Calc - Sort Lists</item>.</paragraph>
      <paragraph xml-lang="en-US" id="par_idN10737" role="tip" l10n="NEW">You can double-click the fill handle to automatically fill all empty columns of the current data block. For example, first enter Jan into A1 and drag the fill handle down to A12 to get the twelve months in the first column. Now enter some values into B1 and C1. Select those two cells, and double-click the fill handle. This fills automatically the data block B1:C12.</paragraph>
      <paragraph xml-lang="en-US" id="par_idN10713" role="heading" level="2" l10n="NEW">Using a Defined Series</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3150749" role="listitem" l10n="CHG" oldref="9">Select the cell range in the sheet that you want to fill.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3154754" role="listitem" l10n="CHG" oldref="19">Choose <item type="menuitem">Edit - Fill - Series</item>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_idN10716" role="listitem" l10n="NEW">Select the parameters for the series. </paragraph>
            <paragraph xml-lang="en-US" id="par_idN10731" role="listitem" l10n="NEW">If you select a <emph>linear</emph> series, the increment that you enter is <emph>added</emph> to each consecutive number in the series to create the next value.</paragraph>
            <paragraph xml-lang="en-US" id="par_idN1073C" role="listitem" l10n="NEW">If you select a <emph>growth</emph> series, the increment that you enter is <emph>multiplied</emph> by each consecutive number to create the next value.</paragraph>
            <paragraph xml-lang="en-US" id="par_idN10747" role="listitem" l10n="NEW">If you select a <emph>date</emph> series, the increment that you enter is added to the time unit that you specify.</paragraph>
         </listitem>
      </list>
      <section id="relatedtopics">
         <embed href="text/scalc/guide/sorted_list.xhp#sorted_list"/>
         <paragraph xml-lang="en-US" id="par_id3159173" role="paragraph" l10n="U" oldref="20"><link href="text/shared/optionen/01060400.xhp" name="Sort lists">Sort lists</link></paragraph>
      </section>
   </body>
</helpdocument>