1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textscalcguidecalc_seriesxml" indexer="include" status="PUBLISH">
27<title xml-lang="en-US" id="tit">Automatically Calculating Series</title>
28<filename>/text/scalc/guide/calc_series.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3150769">
33<bookmark_value>series; calculating</bookmark_value>
34<bookmark_value>calculating; series</bookmark_value>
35<bookmark_value>linear series</bookmark_value>
36<bookmark_value>growth series</bookmark_value>
37<bookmark_value>date series</bookmark_value>
38<bookmark_value>powers of 2 calculations</bookmark_value>
39<bookmark_value>cells; filling automatically</bookmark_value>
40<bookmark_value>automatic cell filling</bookmark_value>
41<bookmark_value>AutoFill function</bookmark_value>
42<bookmark_value>filling;cells, automatically</bookmark_value>
43</bookmark><comment>mw made "powers of 2;..." a one level entry and changed "AutoFill" entry</comment><comment>MW changed "auto filling cells"</comment>
44<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>
45</variable></paragraph>
46<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>
47<paragraph xml-lang="en-US" id="par_idN106D3" role="heading" level="2" l10n="NEW">Using AutoFill</paragraph>
48<paragraph xml-lang="en-US" id="par_idN106D7" role="paragraph" l10n="NEW">AutoFill automatically generates a data series based on a defined pattern.</paragraph>
49<list type="ordered">
50<listitem>
51<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>
52</listitem>
53<listitem>
54<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>
55</listitem>
56<listitem>
57<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>
58<paragraph xml-lang="en-US" id="par_id3145801" role="listitem" l10n="CHG" oldref="17">The cells are filled with ascending numbers.</paragraph>
59</listitem>
60</list>
61<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>
62<paragraph xml-lang="en-US" id="par_id9720145" role="paragraph" l10n="NEW">Hold down <switchinline select="sys"><caseinline select="MAC">Command
63</caseinline><defaultinline>Ctrl </defaultinline></switchinline>if you do not want to fill the cells with different values.</paragraph>
64<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>
65<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>
66<paragraph xml-lang="en-US" id="par_idN10713" role="heading" level="2" l10n="NEW">Using a Defined Series</paragraph>
67<list type="ordered">
68<listitem>
69<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>
70</listitem>
71<listitem>
72<paragraph xml-lang="en-US" id="par_id3154754" role="listitem" l10n="CHG" oldref="19">Choose <item type="menuitem">Edit - Fill - Series</item>.</paragraph>
73</listitem>
74<listitem>
75<paragraph xml-lang="en-US" id="par_idN10716" role="listitem" l10n="NEW">Select the parameters for the series.</paragraph>
76<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>
77<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>
78<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>
79</listitem>
80</list>
81<section id="relatedtopics">
82<embed href="text/scalc/guide/sorted_list.xhp#sorted_list"/>
83<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>
84</section>
85</body>
86</helpdocument>
87