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