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="textscalcguidematrixformulaxml" indexer="include" status="PUBLISH"> 27<title id="tit" xml-lang="en-US">Entering Matrix Formulas</title> 28<filename>/text/scalc/guide/matrixformula.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3153969"> 33<bookmark_value>matrices; entering matrix formulas</bookmark_value> 34<bookmark_value>formulas; matrix formulas</bookmark_value> 35<bookmark_value>inserting;matrix formulas</bookmark_value> 36</bookmark> 37<paragraph role="heading" id="hd_id3153969" xml-lang="en-US" level="1" l10n="U" oldref="13"><variable id="matrixformula"><link href="text/scalc/guide/matrixformula.xhp" name="Entering Matrix Formulas">Entering Matrix Formulas</link> 38</variable></paragraph> 39<paragraph role="paragraph" id="par_id3153144" xml-lang="en-US" l10n="U" oldref="14">The following is an example of how you can enter a matrix formula, without going into the details of matrix functions.</paragraph> 40<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="15">Assume you have entered 10 numbers in Columns A and B (A1:A10 and B1:B10), and would like to calculate the sum of each row in Column C.</paragraph> 41<list type="ordered"> 42<listitem> 43<paragraph role="listitem" id="par_id3154321" xml-lang="en-US" l10n="U" oldref="16">Using the mouse, select the range C1:C10, in which the results are to be displayed.</paragraph> 44</listitem> 45<listitem> 46<paragraph role="listitem" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="17">Press F2, or click in the input line of the Formula bar.</paragraph> 47</listitem> 48<listitem> 49<paragraph role="listitem" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="18">Enter an equal sign (=).</paragraph> 50</listitem> 51<listitem> 52<paragraph role="listitem" id="par_id3145252" xml-lang="en-US" l10n="U" oldref="19">Select the range A1:A10, which contains the first values for the sum formula.</paragraph> 53</listitem> 54<listitem> 55<paragraph role="listitem" id="par_id3144767" xml-lang="en-US" l10n="U" oldref="20">Press the (+) key from the numerical keypad.</paragraph> 56</listitem> 57<listitem> 58<paragraph role="listitem" id="par_id3154018" xml-lang="en-US" l10n="U" oldref="21">Select the numbers in the second column in cells B1:B10.</paragraph> 59</listitem> 60<listitem> 61<paragraph role="listitem" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="22">End the input with the matrix key combination: Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter.</paragraph> 62</listitem> 63</list> 64<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="23">The matrix area is automatically protected against modifications, such as deleting rows or columns. It is, however, possible to edit any formatting, such as the cell background.</paragraph> 65<section id="relatedtopics"> 66<embed href="text/scalc/guide/formulas.xhp#formulas"/> 67</section> 68</body> 69</helpdocument> 70