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="textscalc0104060101xml" indexer="include"> 27<title xml-lang="en-US" id="tit">Database Functions</title> 28<filename>/text/scalc/01/04060101.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3148946"> 33<bookmark_value>Function Wizard; databases</bookmark_value> 34<bookmark_value>functions; database functions</bookmark_value> 35<bookmark_value>databases; functions in $[officename] Calc</bookmark_value> 36</bookmark> 37<paragraph xml-lang="en-US" id="hd_id3148946" role="heading" level="1" l10n="U" oldref="1">Database Functions</paragraph> 38<paragraph xml-lang="en-US" id="par_id3145173" role="paragraph" l10n="U" oldref="2"><variable id="datenbanktext">This section deals with functions used with data organized as one row of data for one record.</variable></paragraph> 39<paragraph xml-lang="en-US" id="par_id3154016" role="note" l10n="U" oldref="186">The Database category may be confused with a database integrated in $[officename]. However, there is no connection between a database in $[officename] and the Database category in $[officename] Calc.</paragraph> 40<paragraph xml-lang="en-US" id="hd_id3150329" role="heading" level="3" l10n="U" 41oldref="190">Example Data:</paragraph> 42<paragraph xml-lang="en-US" id="par_id3153713" role="paragraph" l10n="U" oldref="191">The following data will be used in some of the function description examples:</paragraph> 43<paragraph xml-lang="en-US" id="par_id3155766" role="paragraph" l10n="U" oldref="3">The range A1:E10 lists the children invited to Joe's birthday party. The following information is given for each entry: column A shows the name, B the grade, then age in years, distance to school in meters and weight in kilograms.</paragraph> 44<table id="tbl_id3159264"> 45<tablerow> 46<tablecell> 47</tablecell> 48<tablecell> 49<paragraph xml-lang="en-US" id="par_id3145232" role="tablehead" l10n="U" oldref="4">A</paragraph> 50</tablecell> 51<tablecell> 52<paragraph xml-lang="en-US" id="par_id3146316" role="tablehead" l10n="U" oldref="5">B</paragraph> 53</tablecell> 54<tablecell> 55<paragraph xml-lang="en-US" id="par_id3150297" role="tablehead" l10n="U" oldref="6">C</paragraph> 56</tablecell> 57<tablecell> 58<paragraph xml-lang="en-US" id="par_id3150344" role="tablehead" l10n="U" oldref="7">D</paragraph> 59</tablecell> 60<tablecell> 61<paragraph xml-lang="en-US" id="par_id3150785" role="tablehead" l10n="U" oldref="8">E</paragraph> 62</tablecell> 63</tablerow> 64<tablerow> 65<tablecell> 66<paragraph xml-lang="en-US" id="par_id3150090" role="tablecontent" l10n="U" oldref="9">1</paragraph> 67</tablecell> 68<tablecell> 69<paragraph xml-lang="en-US" id="par_id3152992" role="tablecontent" l10n="U" oldref="10"> 70<item type="input">Name</item> 71</paragraph> 72</tablecell> 73<tablecell> 74<paragraph xml-lang="en-US" id="par_id3155532" role="tablecontent" l10n="U" oldref="11"> 75<item type="input">Grade</item> 76</paragraph> 77</tablecell> 78<tablecell> 79<paragraph xml-lang="en-US" id="par_id3156448" role="tablecontent" l10n="U" oldref="12"> 80<item type="input">Age</item> 81</paragraph> 82</tablecell> 83<tablecell> 84<paragraph xml-lang="en-US" id="par_id3154486" role="tablecontent" l10n="U" oldref="13"> 85<item type="input">Distance to School</item> 86</paragraph> 87</tablecell> 88<tablecell> 89<paragraph xml-lang="en-US" id="par_id3152899" role="tablecontent" l10n="U" oldref="14"> 90<item type="input">Weight</item> 91</paragraph> 92</tablecell> 93</tablerow> 94<tablerow> 95<tablecell> 96<paragraph xml-lang="en-US" id="par_id3153816" role="tablecontent" l10n="U" oldref="15">2</paragraph> 97</tablecell> 98<tablecell> 99<paragraph xml-lang="en-US" id="par_id3151240" role="tablecontent" l10n="U" oldref="16"> 100<item type="input">Andy</item> 101</paragraph> 102</tablecell> 103<tablecell> 104<paragraph xml-lang="en-US" id="par_id3156016" role="tablecontent" l10n="U" oldref="17"> 105<item type="input">3</item> 106</paragraph> 107</tablecell> 108<tablecell> 109<paragraph xml-lang="en-US" id="par_id3145073" role="tablecontent" l10n="U" oldref="18"> 110<item type="input">9</item> 111</paragraph> 112</tablecell> 113<tablecell> 114<paragraph xml-lang="en-US" id="par_id3154956" role="tablecontent" l10n="U" oldref="19"> 115<item type="input">150</item> 116</paragraph> 117</tablecell> 118<tablecell> 119<paragraph xml-lang="en-US" id="par_id3153976" role="tablecontent" l10n="U" oldref="20"> 120<item type="input">40</item> 121</paragraph> 122</tablecell> 123</tablerow> 124<tablerow> 125<tablecell> 126<paragraph xml-lang="en-US" id="par_id3150894" role="tablecontent" l10n="U" oldref="21">3</paragraph> 127</tablecell> 128<tablecell> 129<paragraph xml-lang="en-US" id="par_id3152870" role="tablecontent" l10n="U" oldref="22"> 130<item type="input">Betty</item> 131</paragraph> 132</tablecell> 133<tablecell> 134<paragraph xml-lang="en-US" id="par_id3149692" role="tablecontent" l10n="U" oldref="23"> 135<item type="input">4</item> 136</paragraph> 137</tablecell> 138<tablecell> 139<paragraph xml-lang="en-US" id="par_id3154652" role="tablecontent" l10n="U" oldref="24"> 140<item type="input">10</item> 141</paragraph> 142</tablecell> 143<tablecell> 144<paragraph xml-lang="en-US" id="par_id3149381" role="tablecontent" l10n="U" oldref="25"> 145<item type="input">1000</item> 146</paragraph> 147</tablecell> 148<tablecell> 149<paragraph xml-lang="en-US" id="par_id3153812" role="tablecontent" l10n="U" oldref="26"> 150<item type="input">42</item> 151</paragraph> 152</tablecell> 153</tablerow> 154<tablerow> 155<tablecell> 156<paragraph xml-lang="en-US" id="par_id3146965" role="tablecontent" l10n="U" oldref="27">4</paragraph> 157</tablecell> 158<tablecell> 159<paragraph xml-lang="en-US" id="par_id3155596" role="tablecontent" l10n="U" oldref="28"> 160<item type="input">Charles</item> 161</paragraph> 162</tablecell> 163<tablecell> 164<paragraph xml-lang="en-US" id="par_id3147244" role="tablecontent" l10n="U" oldref="29"> 165<item type="input">3</item> 166</paragraph> 167</tablecell> 168<tablecell> 169<paragraph xml-lang="en-US" id="par_id3149871" role="tablecontent" l10n="U" oldref="30"> 170<item type="input">10</item> 171</paragraph> 172</tablecell> 173<tablecell> 174<paragraph xml-lang="en-US" id="par_id3155752" role="tablecontent" l10n="U" oldref="31"> 175<item type="input">300</item> 176</paragraph> 177</tablecell> 178<tablecell> 179<paragraph xml-lang="en-US" id="par_id3149052" role="tablecontent" l10n="U" oldref="32"> 180<item type="input">51</item> 181</paragraph> 182</tablecell> 183</tablerow> 184<tablerow> 185<tablecell> 186<paragraph xml-lang="en-US" id="par_id3146097" role="tablecontent" l10n="U" oldref="33">5</paragraph> 187</tablecell> 188<tablecell> 189<paragraph xml-lang="en-US" id="par_id3147296" role="tablecontent" l10n="U" oldref="34"> 190<item type="input">Daniel</item> 191</paragraph> 192</tablecell> 193<tablecell> 194<paragraph xml-lang="en-US" id="par_id3150393" role="tablecontent" l10n="U" oldref="35"> 195<item type="input">5</item> 196</paragraph> 197</tablecell> 198<tablecell> 199<paragraph xml-lang="en-US" id="par_id3145236" role="tablecontent" l10n="U" oldref="36"> 200<item type="input">11</item> 201</paragraph> 202</tablecell> 203<tablecell> 204<paragraph xml-lang="en-US" id="par_id3150534" role="tablecontent" l10n="U" oldref="37"> 205<item type="input">1200</item> 206</paragraph> 207</tablecell> 208<tablecell> 209<paragraph xml-lang="en-US" id="par_id3150375" role="tablecontent" l10n="U" oldref="38"> 210<item type="input">48</item> 211</paragraph> 212</tablecell> 213</tablerow> 214<tablerow> 215<tablecell> 216<paragraph xml-lang="en-US" id="par_id3159121" role="tablecontent" l10n="U" oldref="39">6</paragraph> 217</tablecell> 218<tablecell> 219<paragraph xml-lang="en-US" id="par_id3150456" role="tablecontent" l10n="U" oldref="40"> 220<item type="input">Eva</item> 221</paragraph> 222</tablecell> 223<tablecell> 224<paragraph xml-lang="en-US" id="par_id3146886" role="tablecontent" l10n="U" oldref="41"> 225<item type="input">2</item> 226</paragraph> 227</tablecell> 228<tablecell> 229<paragraph xml-lang="en-US" id="par_id3149945" role="tablecontent" l10n="U" oldref="42"> 230<item type="input">8</item> 231</paragraph> 232</tablecell> 233<tablecell> 234<paragraph xml-lang="en-US" id="par_id3157904" role="tablecontent" l10n="U" oldref="43"> 235<item type="input">650</item> 236</paragraph> 237</tablecell> 238<tablecell> 239<paragraph xml-lang="en-US" id="par_id3149352" role="tablecontent" l10n="U" oldref="44"> 240<item type="input">33</item> 241</paragraph> 242</tablecell> 243</tablerow> 244<tablerow> 245<tablecell> 246<paragraph xml-lang="en-US" id="par_id3150028" role="tablecontent" l10n="U" oldref="45">7</paragraph> 247</tablecell> 248<tablecell> 249<paragraph xml-lang="en-US" id="par_id3145826" role="tablecontent" l10n="U" oldref="46"> 250<item type="input">F</item> 251<item type="input">rank</item> 252</paragraph> 253</tablecell> 254<tablecell> 255<paragraph xml-lang="en-US" id="par_id3150743" role="tablecontent" l10n="U" oldref="47"> 256<item type="input">2</item> 257</paragraph> 258</tablecell> 259<tablecell> 260<paragraph xml-lang="en-US" id="par_id3154844" role="tablecontent" l10n="U" oldref="48"> 261<item type="input">7</item> 262</paragraph> 263</tablecell> 264<tablecell> 265<paragraph xml-lang="en-US" id="par_id3148435" role="tablecontent" l10n="U" oldref="49"> 266<item type="input">3</item> 267<item type="input">00</item> 268</paragraph> 269</tablecell> 270<tablecell> 271<paragraph xml-lang="en-US" id="par_id3148882" role="tablecontent" l10n="U" oldref="50"> 272<item type="input">4</item> 273<item type="input">2</item> 274</paragraph> 275</tablecell> 276</tablerow> 277<tablerow> 278<tablecell> 279<paragraph xml-lang="en-US" id="par_id3150140" role="tablecontent" l10n="U" oldref="51">8</paragraph> 280</tablecell> 281<tablecell> 282<paragraph xml-lang="en-US" id="par_id3146137" role="tablecontent" l10n="U" oldref="52"> 283<item type="input">Greta</item> 284</paragraph> 285</tablecell> 286<tablecell> 287<paragraph xml-lang="en-US" id="par_id3148739" role="tablecontent" l10n="U" oldref="53"> 288<item type="input">1</item> 289</paragraph> 290</tablecell> 291<tablecell> 292<paragraph xml-lang="en-US" id="par_id3148583" role="tablecontent" l10n="U" oldref="54"> 293<item type="input">7</item> 294</paragraph> 295</tablecell> 296<tablecell> 297<paragraph xml-lang="en-US" id="par_id3154556" role="tablecontent" l10n="U" oldref="55"> 298<item type="input">200</item> 299</paragraph> 300</tablecell> 301<tablecell> 302<paragraph xml-lang="en-US" id="par_id3155255" role="tablecontent" l10n="U" oldref="56"> 303<item type="input">36</item> 304</paragraph> 305</tablecell> 306</tablerow> 307<tablerow> 308<tablecell> 309<paragraph xml-lang="en-US" id="par_id3145141" role="tablecontent" l10n="U" oldref="57">9</paragraph> 310</tablecell> 311<tablecell> 312<paragraph xml-lang="en-US" id="par_id3153078" role="tablecontent" l10n="U" oldref="58"> 313<item type="input">Harry</item> 314</paragraph> 315</tablecell> 316<tablecell> 317<paragraph xml-lang="en-US" id="par_id3149955" role="tablecontent" l10n="U" oldref="59"> 318<item type="input">3</item> 319</paragraph> 320</tablecell> 321<tablecell> 322<paragraph xml-lang="en-US" id="par_id3150005" role="tablecontent" l10n="U" oldref="60"> 323<item type="input">9</item> 324</paragraph> 325</tablecell> 326<tablecell> 327<paragraph xml-lang="en-US" id="par_id3155951" role="tablecontent" l10n="U" oldref="61"> 328<item type="input">1200</item> 329</paragraph> 330</tablecell> 331<tablecell> 332<paragraph xml-lang="en-US" id="par_id3145169" role="tablecontent" l10n="U" oldref="62"> 333<item type="input">44</item> 334</paragraph> 335</tablecell> 336</tablerow> 337<tablerow> 338<tablecell> 339<paragraph xml-lang="en-US" id="par_id3153571" role="tablecontent" l10n="U" oldref="63">10</paragraph> 340</tablecell> 341<tablecell> 342<paragraph xml-lang="en-US" id="par_id3148761" role="tablecontent" l10n="U" oldref="64"> 343<item type="input">Irene</item> 344</paragraph> 345</tablecell> 346<tablecell> 347<paragraph xml-lang="en-US" id="par_id3149877" role="tablecontent" l10n="U" oldref="65"> 348<item type="input">2</item> 349</paragraph> 350</tablecell> 351<tablecell> 352<paragraph xml-lang="en-US" id="par_id3154327" role="tablecontent" l10n="U" oldref="66"> 353<item type="input">8</item> 354</paragraph> 355</tablecell> 356<tablecell> 357<paragraph xml-lang="en-US" id="par_id3155435" role="tablecontent" l10n="U" oldref="67"> 358<item type="input">1000</item> 359</paragraph> 360</tablecell> 361<tablecell> 362<paragraph xml-lang="en-US" id="par_id3145353" role="tablecontent" l10n="U" oldref="68"> 363<item type="input">42</item> 364</paragraph> 365</tablecell> 366</tablerow> 367<tablerow> 368<tablecell> 369<paragraph xml-lang="en-US" id="par_id3150662" role="tablecontent" l10n="U" oldref="69">11</paragraph> 370</tablecell> 371<tablecell> 372</tablecell> 373<tablecell> 374</tablecell> 375<tablecell> 376</tablecell> 377<tablecell> 378</tablecell> 379<tablecell> 380</tablecell> 381</tablerow> 382<tablerow> 383<tablecell> 384<paragraph xml-lang="en-US" id="par_id3150568" role="tablecontent" l10n="U" oldref="70">12</paragraph> 385</tablecell> 386<tablecell> 387</tablecell> 388<tablecell> 389</tablecell> 390<tablecell> 391</tablecell> 392<tablecell> 393</tablecell> 394<tablecell> 395</tablecell> 396</tablerow> 397<tablerow> 398<tablecell> 399<paragraph xml-lang="en-US" id="par_id3149393" role="tablecontent" l10n="U" oldref="71">13</paragraph> 400</tablecell> 401<tablecell> 402<paragraph xml-lang="en-US" id="par_id3153544" role="tablecontent" l10n="U" oldref="72"> 403<item type="input">Name</item> 404</paragraph> 405</tablecell> 406<tablecell> 407<paragraph xml-lang="en-US" id="par_id3158414" role="tablecontent" l10n="U" oldref="73"> 408<item type="input">Grade</item> 409</paragraph> 410</tablecell> 411<tablecell> 412<paragraph xml-lang="en-US" id="par_id3152820" role="tablecontent" l10n="U" oldref="74"> 413<item type="input">Age</item> 414</paragraph> 415</tablecell> 416<tablecell> 417<paragraph xml-lang="en-US" id="par_id3154866" role="tablecontent" l10n="U" oldref="75"> 418<item type="input">Distance to School</item> 419</paragraph> 420</tablecell> 421<tablecell> 422<paragraph xml-lang="en-US" id="par_id3150471" role="tablecontent" l10n="U" oldref="76"> 423<item type="input">Weight</item> 424</paragraph> 425</tablecell> 426</tablerow> 427<tablerow> 428<tablecell> 429<paragraph xml-lang="en-US" id="par_id3153920" role="tablecontent" l10n="U" oldref="77">14</paragraph> 430</tablecell> 431<tablecell> 432</tablecell> 433<tablecell> 434</tablecell> 435<tablecell> 436</tablecell> 437<tablecell> 438<paragraph xml-lang="en-US" id="par_id3148429" role="tablecontent" l10n="U" oldref="78"> 439<item type="input">>600</item> 440</paragraph> 441</tablecell> 442<tablecell> 443</tablecell> 444</tablerow> 445<tablerow> 446<tablecell> 447<paragraph xml-lang="en-US" id="par_id3152588" role="tablecontent" l10n="U" oldref="79">15</paragraph> 448</tablecell> 449<tablecell> 450</tablecell> 451<tablecell> 452</tablecell> 453<tablecell> 454</tablecell> 455<tablecell> 456</tablecell> 457<tablecell> 458</tablecell> 459</tablerow> 460<tablerow> 461<tablecell> 462<paragraph xml-lang="en-US" id="par_id3083286" role="tablecontent" l10n="U" oldref="80">16</paragraph> 463</tablecell> 464<tablecell> 465<paragraph xml-lang="en-US" id="par_id3163823" role="tablecontent" l10n="U" oldref="81"> 466<item type="input">DCOUNT</item> 467</paragraph> 468</tablecell> 469<tablecell> 470<paragraph xml-lang="en-US" id="par_id3145083" role="tablecontent" l10n="U" oldref="82"> 471<item type="input">5</item> 472</paragraph> 473</tablecell> 474<tablecell> 475</tablecell> 476<tablecell> 477</tablecell> 478<tablecell> 479</tablecell> 480</tablerow> 481</table> 482<paragraph xml-lang="en-US" id="par_id3149282" role="paragraph" l10n="U" oldref="83">The formula in cell B16 is =DCOUNT(A1:E10;0;A13:E14)</paragraph> 483<paragraph xml-lang="en-US" id="hd_id3150962" role="heading" level="3" l10n="U" 484oldref="192">Database Function Parameters:</paragraph> 485<paragraph xml-lang="en-US" id="par_id3155837" role="paragraph" l10n="U" oldref="84">The following items are the parameter definitions for all database functions:</paragraph> 486<paragraph xml-lang="en-US" id="par_id3149453" role="paragraph" l10n="U" oldref="85"> 487<emph>Database</emph> is the cell range defining the database.</paragraph> 488<paragraph xml-lang="en-US" id="par_id3151272" role="paragraph" l10n="U" oldref="86"> 489<emph>DatabaseField</emph> specifies the column where the function operates on after the search criteria of the first parameter is applied and the data rows are selected. It is not related to the search criteria itself. Use the number 0 to specify the whole data range. <variable id="quotes">To reference a column by means of the column header name, place quotation marks around the header name.</variable></paragraph> 490<paragraph xml-lang="en-US" id="par_id3147083" role="paragraph" l10n="U" oldref="87"> 491<emph>SearchCriteria</emph> is the cell range containing search criteria. If you write several criteria in one row they are connected by AND. If you write the criteria in different rows they are connected by OR. Empty cells in the search criteria range will be ignored.</paragraph> 492<paragraph xml-lang="en-US" id="par_id3151188" role="paragraph" l10n="U" oldref="188">Choose <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060500.xhp" name="Spreadsheet - Calculate">%PRODUCTNAME Calc - Calculate</link> to define how $[officename] Calc acts when searching for identical entries.</paragraph> 493<paragraph xml-lang="en-US" id="par_id3882869" role="paragraph" l10n="NEW">See also the Wiki page about <link href="https://wiki.openoffice.org/wiki/Documentation/How_Tos/Conditional_Counting_and_Summation">Conditional Counting and Summation</link>.</paragraph> 494<sort order="asc"> 495<section id="Section1"> 496<bookmark xml-lang="en-US" branch="index" id="bm_id3150882"> 497<bookmark_value>DCOUNT function</bookmark_value> 498<bookmark_value>counting rows;with numeric values</bookmark_value> 499</bookmark><comment>mw added "counting rows;"</comment> 500<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBANZAHL" id="bm_id3152926" localize="false"/> 501<paragraph xml-lang="en-US" id="hd_id3150882" role="heading" level="2" l10n="U" 502oldref="88">DCOUNT</paragraph> 503<paragraph xml-lang="en-US" id="par_id3156133" role="paragraph" l10n="U" oldref="89"><ahelp hid="HID_FUNC_DBANZAHL">DCOUNT counts the number of rows (records) in a database that match the specified search criteria and contain numerical values.</ahelp></paragraph> 504<embed href="text/shared/00/00000001.xhp#regulaer"/> 505<paragraph xml-lang="en-US" id="hd_id3156099" role="heading" level="3" l10n="U" 506oldref="90">Syntax</paragraph> 507<paragraph xml-lang="en-US" id="par_id3153218" role="code" l10n="U" oldref="91">DCOUNT(Database; DatabaseField; SearchCriteria)</paragraph> 508<paragraph xml-lang="en-US" id="par_id3153273" role="paragraph" l10n="U" oldref="187">For the DatabaseField parameter you can enter a cell to specify the column, or enter the number 0 for the entire database. The parameter cannot be empty. <embedvar href="text/scalc/01/04060101.xhp#quotes"/> 509</paragraph> 510<paragraph xml-lang="en-US" id="hd_id3154743" role="heading" level="3" l10n="U" 511oldref="92">Example</paragraph> 512<paragraph xml-lang="en-US" id="par_id3153623" role="paragraph" l10n="U" oldref="93">In the example above (scroll up, please), we want to know how many children have to travel more than 600 meters to school. The result is to be stored in cell B16. Set the cursor in cell B16. Enter the formula <item type="input">=DCOUNT(A1:E10;0;A13:E14)</item> in B16. The <emph>Function Wizard</emph> helps you to input ranges.</paragraph> 513<paragraph xml-lang="en-US" id="par_id3149142" role="paragraph" l10n="U" oldref="94"> 514<emph>Database</emph> is the range of data to be evaluated, including its headers: in this case A1:E10. <emph>DatabaseField</emph> specifies the column for the search criteria: in this case, the whole database. <emph>SearchCriteria</emph> is the range where you can enter the search parameters: in this case, A13:E14.</paragraph> 515<paragraph xml-lang="en-US" id="par_id3145652" role="paragraph" l10n="U" oldref="95">To learn how many children in second grade are over 7 years of age, delete the entry >600 in cell D14 and enter <item type="input">2</item> in cell B14 under Grade, and enter <item type="input">>7</item> in cell C14 to the right. The result is 2. Two children are in second grade and over 7 years of age. As both criteria are in the same row, they are connected by AND.</paragraph> 516</section> 517<section id="Section2"> 518<bookmark xml-lang="en-US" branch="index" id="bm_id3156123"> 519<bookmark_value>DCOUNTA function</bookmark_value> 520<bookmark_value>records;counting in Calc databases</bookmark_value> 521<bookmark_value>counting rows;with numeric or alphanumeric values</bookmark_value> 522</bookmark><comment>mw added "records;" and "counting rows;"</comment> 523<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBANZAHL2" id="bm_id3154055" localize="false"/> 524<paragraph xml-lang="en-US" id="hd_id3156123" role="heading" level="2" l10n="U" 525oldref="97">DCOUNTA</paragraph> 526<paragraph xml-lang="en-US" id="par_id3156110" role="paragraph" l10n="U" oldref="98"><ahelp hid="HID_FUNC_DBANZAHL2">DCOUNTA counts the number of rows (records) in a database that match the specified search conditions, and contain numeric or alphanumeric values.</ahelp></paragraph> 527<embed href="text/shared/00/00000001.xhp#regulaer"/> 528<paragraph xml-lang="en-US" id="hd_id3143228" role="heading" level="3" l10n="U" 529oldref="99">Syntax</paragraph> 530<paragraph xml-lang="en-US" id="par_id3146893" role="code" l10n="U" oldref="100">DCOUNTA(Database; DatabaseField; SearchCriteria)</paragraph> 531<embed href="text/scalc/01/04060101.xhp#quotes"/> 532<paragraph xml-lang="en-US" id="hd_id3149751" role="heading" level="3" l10n="U" 533oldref="101">Example</paragraph> 534<paragraph xml-lang="en-US" id="par_id3153982" role="paragraph" l10n="CHG" oldref="102">In the example above (scroll up, please), you can search for the number of children whose name starts with an E or a subsequent letter. Edit the formula in B16 to read <item type="input">=DCOUNTA(A1:E10;"Name";A13:E14)</item>. Delete the old search criteria and enter <item type="input">>=E</item> under Name in field A14. The result is 5. If you now delete all number values for Greta in row 8, the result changes to 4. Row 8 is no longer included in the count because it does not contain any values. The name Greta is text, not a value. Note that the DatabaseField parameter must point to a column that can contain values.<comment>see i25407</comment></paragraph> 535</section> 536<section id="Section3"> 537<bookmark xml-lang="en-US" branch="index" id="bm_id3147256"> 538<bookmark_value>DGET function</bookmark_value> 539<bookmark_value>cell contents;searching in Calc databases</bookmark_value> 540<bookmark_value>searching;cell contents in Calc databases</bookmark_value> 541</bookmark><comment>mw added "cell contents;" and "searching;"</comment> 542<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBAUSZUG" id="bm_id3149198" localize="false"/> 543<paragraph xml-lang="en-US" id="hd_id3147256" role="heading" level="2" l10n="U" 544oldref="104">DGET</paragraph> 545<paragraph xml-lang="en-US" id="par_id3152801" role="paragraph" l10n="U" oldref="105"><ahelp hid="HID_FUNC_DBAUSZUG">DGET returns the contents of the referenced cell in a database which matches the specified search criteria.</ahelp> In case of an error, the function returns either #VALUE! for no row found, or Err502 for more than one cell found.</paragraph> 546<embed href="text/shared/00/00000001.xhp#regulaer"/> 547<paragraph xml-lang="en-US" id="hd_id3159344" role="heading" level="3" l10n="U" 548oldref="106">Syntax</paragraph> 549<paragraph xml-lang="en-US" id="par_id3154696" role="code" l10n="U" oldref="107">DGET(Database; DatabaseField; SearchCriteria)</paragraph> 550<embed href="text/scalc/01/04060101.xhp#quotes"/> 551<paragraph xml-lang="en-US" id="hd_id3153909" role="heading" level="3" l10n="U" 552oldref="108">Example</paragraph> 553<paragraph xml-lang="en-US" id="par_id3155388" role="paragraph" l10n="U" oldref="109">In the above example (scroll up, please), we want to determine what grade a child is in, whose name was entered in cell A14. The formula is entered in cell B16 and differs slightly from the earlier examples because only one column (one database field) can be entered for <emph>DatabaseField</emph>. Enter the following formula:</paragraph> 554<paragraph xml-lang="en-US" id="par_id3153096" role="paragraph" l10n="U" oldref="110"> 555<item type="input">=DGET(A1:E10;"Grade";A13:E14)</item> 556</paragraph> 557<paragraph xml-lang="en-US" id="par_id3150524" role="paragraph" l10n="U" oldref="111">Enter the name <item type="input">Frank</item> in A14, and you see the result 2. Frank is in second grade. Enter <item type="input">"Age"</item> instead of "Grade" and you will get Frank's age.</paragraph> 558<paragraph xml-lang="en-US" id="par_id3148833" role="paragraph" l10n="U" oldref="112">Or enter the value <item type="input">11</item> in cell C14 only, and delete the other entries in this row. Edit the formula in B16 as follows:</paragraph> 559<paragraph xml-lang="en-US" id="par_id3149912" role="paragraph" l10n="U" oldref="113"> 560<item type="input">=DGET(A1:E10;"Name";A13:E14)</item> 561</paragraph> 562<paragraph xml-lang="en-US" id="par_id3148813" role="paragraph" l10n="U" oldref="114">Instead of the grade, the name is queried. The answer appears at once: Daniel is the only child aged 11.</paragraph> 563</section> 564<section id="Section4"> 565<bookmark xml-lang="en-US" branch="index" id="bm_id3149766"> 566<bookmark_value>DMAX function</bookmark_value> 567<bookmark_value>maximum values in Calc databases</bookmark_value> 568<bookmark_value>searching;maximum values in columns</bookmark_value> 569</bookmark><comment>mw added "maximum..." and "searching;"</comment> 570<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBMAX" id="bm_id3158401" localize="false"/> 571<paragraph xml-lang="en-US" id="hd_id3149766" role="heading" level="2" l10n="U" 572oldref="115">DMAX</paragraph> 573<paragraph xml-lang="en-US" id="par_id3154903" role="paragraph" l10n="U" oldref="116"><ahelp hid="HID_FUNC_DBMAX">DMAX returns the maximum content of a cell (field) in a database (all records) that matches the specified search conditions.</ahelp></paragraph> 574<embed href="text/shared/00/00000001.xhp#regulaer"/> 575<paragraph xml-lang="en-US" id="hd_id3150771" role="heading" level="3" l10n="U" 576oldref="117">Syntax</paragraph> 577<paragraph xml-lang="en-US" id="par_id3159157" role="code" l10n="U" oldref="118">DMAX(Database; DatabaseField; SearchCriteria)</paragraph> 578<embed href="text/scalc/01/04060101.xhp#quotes"/> 579<paragraph xml-lang="en-US" id="hd_id3145420" role="heading" level="3" l10n="U" 580oldref="119">Example</paragraph> 581<paragraph xml-lang="en-US" id="par_id3148442" role="paragraph" l10n="U" oldref="120">To find out how much the heaviest child in each grade weighed in the above example (scroll up, please), enter the following formula in B16:</paragraph> 582<paragraph xml-lang="en-US" id="par_id3148804" role="paragraph" l10n="U" oldref="121"> 583<item type="input">=DMAX(A1:E10;"Weight";A13:E14)</item> 584</paragraph> 585<paragraph xml-lang="en-US" id="par_id3150510" role="paragraph" l10n="U" oldref="122">Under Grade, enter <item type="input">1, 2, 3,</item> and so on, one after the other. After entering a grade number, the weight of the heaviest child in that grade appears.</paragraph> 586</section> 587<section id="Section5"> 588<bookmark xml-lang="en-US" branch="index" id="bm_id3159141"> 589<bookmark_value>DMIN function</bookmark_value> 590<bookmark_value>minimum values in Calc databases</bookmark_value> 591<bookmark_value>searching;minimum values in columns</bookmark_value> 592</bookmark><comment>mw added "minimum..." and "searching;"</comment> 593<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBMIN" id="bm_id3159152" localize="false"/> 594<paragraph xml-lang="en-US" id="hd_id3159141" role="heading" level="2" l10n="U" 595oldref="123">DMIN</paragraph> 596<paragraph xml-lang="en-US" id="par_id3154261" role="paragraph" l10n="U" oldref="124"><ahelp hid="HID_FUNC_DBMIN">DMIN returns the minimum content of a cell (field) in a database that matches the specified search criteria.</ahelp></paragraph> 597<embed href="text/shared/00/00000001.xhp#regulaer"/> 598<paragraph xml-lang="en-US" id="hd_id3147238" role="heading" level="3" l10n="U" 599oldref="125">Syntax</paragraph> 600<paragraph xml-lang="en-US" id="par_id3148479" role="code" l10n="U" oldref="126">DMIN(Database; DatabaseField; SearchCriteria)</paragraph> 601<embed href="text/scalc/01/04060101.xhp#quotes"/> 602<paragraph xml-lang="en-US" id="hd_id3151050" role="heading" level="3" l10n="U" 603oldref="127">Example</paragraph> 604<paragraph xml-lang="en-US" id="par_id3148925" role="paragraph" l10n="U" oldref="128">To find the shortest distance to school for the children in each grade in the above example (scroll up, please), enter the following formula in B16:</paragraph> 605<paragraph xml-lang="en-US" id="par_id3149161" role="paragraph" l10n="U" oldref="129"> 606<item type="input">=DMIN(A1:E10;"Distance to School";A13:E14)</item> 607</paragraph> 608<paragraph xml-lang="en-US" id="par_id3148917" role="paragraph" l10n="U" oldref="130">In row 14, under Grade, enter <item type="input">1, 2, 3,</item> and so on, one after the other. The shortest distance to school for each grade appears.</paragraph> 609</section> 610<section id="Section6"> 611<bookmark xml-lang="en-US" branch="index" id="bm_id3154274"> 612<bookmark_value>DAVERAGE function</bookmark_value> 613<bookmark_value>averages; in Calc databases</bookmark_value> 614<bookmark_value>calculating;averages in Calc databases</bookmark_value> 615</bookmark><comment>mw added "averages;..." and "calculating;"</comment> 616<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBMITTELWERT" id="bm_id3166435" localize="false"/> 617<paragraph xml-lang="en-US" id="hd_id3154274" role="heading" level="2" l10n="U" 618oldref="131">DAVERAGE</paragraph> 619<paragraph xml-lang="en-US" id="par_id3166453" role="paragraph" l10n="U" oldref="132"><ahelp hid="HID_FUNC_DBMITTELWERT">DAVERAGE returns the average of the values of all cells (fields) in all rows (database records) that match the specified search criteria.</ahelp></paragraph> 620<embed href="text/shared/00/00000001.xhp#regulaer"/> 621<paragraph xml-lang="en-US" id="hd_id3146955" role="heading" level="3" l10n="U" 622oldref="133">Syntax</paragraph> 623<paragraph xml-lang="en-US" id="par_id3150710" role="code" l10n="U" oldref="134">DAVERAGE(Database; DatabaseField; SearchCriteria)</paragraph> 624<embed href="text/scalc/01/04060101.xhp#quotes"/> 625<paragraph xml-lang="en-US" id="hd_id3152943" role="heading" level="3" l10n="U" 626oldref="135">Example</paragraph> 627<paragraph xml-lang="en-US" id="par_id3149104" role="paragraph" l10n="U" oldref="136">To find the average weight of all children of the same age in the above example (scroll up, please), enter the following formula in B16:</paragraph> 628<paragraph xml-lang="en-US" id="par_id3153688" role="paragraph" l10n="U" oldref="137"> 629<item type="input">=DAVERAGE(A1:E10;"Weight";A13:E14)</item> 630</paragraph> 631<paragraph xml-lang="en-US" id="par_id3155587" role="paragraph" l10n="U" oldref="138">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The average weight of all children of the same age appears.</paragraph> 632</section> 633<section id="Section7"> 634<bookmark xml-lang="en-US" branch="index" id="bm_id3159269"> 635<bookmark_value>DPRODUCT function</bookmark_value> 636<bookmark_value>multiplying;cell contents in Calc databases</bookmark_value> 637</bookmark><comment>mw added "multiplying..."</comment> 638<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBPRODUKT" id="bm_id3159281" localize="false"/> 639<paragraph xml-lang="en-US" id="hd_id3159269" role="heading" level="2" l10n="U" 640oldref="139">DPRODUCT</paragraph> 641<paragraph xml-lang="en-US" id="par_id3152879" role="paragraph" l10n="U" oldref="140"><ahelp hid="HID_FUNC_DBPRODUKT">DPRODUCT multiplies all cells of a data range where the cell contents match the search criteria.</ahelp></paragraph> 642<embed href="text/shared/00/00000001.xhp#regulaer"/> 643<paragraph xml-lang="en-US" id="hd_id3149966" role="heading" level="3" l10n="U" 644oldref="141">Syntax</paragraph> 645<paragraph xml-lang="en-US" id="par_id3154854" role="code" l10n="U" oldref="142">DPRODUCT(Database; DatabaseField; SearchCriteria)</paragraph> 646<embed href="text/scalc/01/04060101.xhp#quotes"/> 647<paragraph xml-lang="en-US" id="hd_id3149802" role="heading" level="3" l10n="U" 648oldref="143">Example</paragraph> 649<paragraph xml-lang="en-US" id="par_id3148986" role="paragraph" l10n="U" oldref="144">With the birthday party example above (scroll up, please), there is no meaningful application of this function.</paragraph> 650</section> 651<section id="Section8"> 652<bookmark xml-lang="en-US" branch="index" id="bm_id3148462"> 653<bookmark_value>DSTDEV function</bookmark_value> 654<bookmark_value>standard deviations in databases;based on a sample</bookmark_value> 655</bookmark><comment>mw added "standard deviations...;"</comment> 656<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBSTDABW" id="bm_id3145370" localize="false"/> 657<paragraph xml-lang="en-US" id="hd_id3148462" role="heading" level="2" l10n="U" 658oldref="145">DSTDEV</paragraph> 659<paragraph xml-lang="en-US" id="par_id3154605" role="paragraph" l10n="U" oldref="146"><ahelp hid="HID_FUNC_DBSTDABW">DSTDEV calculates the standard deviation of a population based on a sample, using the numbers in a database column that match the given conditions.</ahelp> The records are treated as a sample of data. That means that the children in the example represent a cross section of all children. Note that a representative result can not be obtained from a sample of less than one thousand.</paragraph> 660<embed href="text/shared/00/00000001.xhp#regulaer"/> 661<paragraph xml-lang="en-US" id="hd_id3149427" role="heading" level="3" l10n="U" 662oldref="147">Syntax</paragraph> 663<paragraph xml-lang="en-US" id="par_id3148661" role="code" l10n="U" oldref="148">DSTDEV(Database; DatabaseField; SearchCriteria)</paragraph> 664<embed href="text/scalc/01/04060101.xhp#quotes"/> 665<paragraph xml-lang="en-US" id="hd_id3153945" role="heading" level="3" l10n="U" 666oldref="149">Example</paragraph> 667<paragraph xml-lang="en-US" id="par_id3149934" role="paragraph" l10n="U" oldref="150">To find the standard deviation of the weight for all children of the same age in the example (scroll up, please), enter the following formula in B16:</paragraph> 668<paragraph xml-lang="en-US" id="par_id3150630" role="paragraph" l10n="U" oldref="151"> 669<item type="input">=DSTDEV(A1:E10;"Weight";A13:E14)</item> 670</paragraph> 671<paragraph xml-lang="en-US" id="par_id3153536" role="paragraph" l10n="U" oldref="152">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The result shown is the standard deviation of the weight of all children of this age.</paragraph> 672</section> 673<section id="Section9"> 674<bookmark xml-lang="en-US" branch="index" id="bm_id3150429"> 675<bookmark_value>DSTDEVP function</bookmark_value> 676<bookmark_value>standard deviations in databases;based on populations</bookmark_value> 677</bookmark><comment>mw added "standard deviations...;"</comment> 678<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBSTDABWN" id="bm_id3149523" localize="false"/> 679<paragraph xml-lang="en-US" id="hd_id3150429" role="heading" level="2" l10n="U" 680oldref="153">DSTDEVP</paragraph> 681<paragraph xml-lang="en-US" id="par_id3145598" role="paragraph" l10n="U" oldref="154"><ahelp hid="HID_FUNC_DBSTDABWN">DSTDEVP calculates the standard deviation of a population based on all cells of a data range which match the search criteria.</ahelp> The records from the example are treated as the whole population.</paragraph> 682<embed href="text/shared/00/00000001.xhp#regulaer"/> 683<paragraph xml-lang="en-US" id="hd_id3145307" role="heading" level="3" l10n="U" 684oldref="155">Syntax</paragraph> 685<paragraph xml-lang="en-US" id="par_id3149484" role="code" l10n="U" oldref="156">DSTDEVP(Database; DatabaseField; SearchCriteria)</paragraph> 686<embed href="text/scalc/01/04060101.xhp#quotes"/> 687<paragraph xml-lang="en-US" id="hd_id3153322" role="heading" level="3" l10n="U" 688oldref="157">Example</paragraph> 689<paragraph xml-lang="en-US" id="par_id3155431" role="paragraph" l10n="U" oldref="158">To find the standard deviation of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:</paragraph> 690<paragraph xml-lang="en-US" id="par_id3148411" role="paragraph" l10n="U" oldref="159"> 691<item type="input">=DSTDEVP(A1:E10;"Weight";A13:E14)</item> 692</paragraph> 693<paragraph xml-lang="en-US" id="par_id3143271" role="paragraph" l10n="U" oldref="160">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The result is the standard deviation of the weight for all same-aged children whose weight was checked.</paragraph> 694</section> 695<section id="Section10"> 696<bookmark xml-lang="en-US" branch="index" id="bm_id3154794"> 697<bookmark_value>DSUM function</bookmark_value> 698<bookmark_value>calculating;sums in Calc databases</bookmark_value> 699<bookmark_value>sums;cells in Calc databases</bookmark_value> 700</bookmark><comment>mw added "calculating;" and "sums;"</comment> 701<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBSUMME" id="bm_id3148687" localize="false"/> 702<paragraph xml-lang="en-US" id="hd_id3154794" role="heading" level="2" l10n="U" 703oldref="161">DSUM</paragraph> 704<paragraph xml-lang="en-US" id="par_id3149591" role="paragraph" l10n="U" oldref="162"><ahelp hid="HID_FUNC_DBSUMME">DSUM returns the total of all cells in a database field in all rows (records) that match the specified search criteria.</ahelp></paragraph> 705<embed href="text/shared/00/00000001.xhp#regulaer"/> 706<paragraph xml-lang="en-US" id="hd_id3146128" role="heading" level="3" l10n="U" 707oldref="163">Syntax</paragraph> 708<paragraph xml-lang="en-US" id="par_id3150989" role="code" l10n="U" oldref="164">DSUM(Database; DatabaseField; SearchCriteria)</paragraph> 709<embed href="text/scalc/01/04060101.xhp#quotes"/> 710<paragraph xml-lang="en-US" id="hd_id3159079" role="heading" level="3" l10n="U" 711oldref="165">Example</paragraph> 712<paragraph xml-lang="en-US" id="par_id3152766" role="paragraph" l10n="U" oldref="166">To find the length of the combined distance to school of all children at Joe's birthday party (scroll up, please) who are in second grade, enter the following formula in B16:</paragraph> 713<paragraph xml-lang="en-US" id="par_id3151312" role="paragraph" l10n="U" oldref="167"> 714<item type="input">=DSUM(A1:E10;"Distance to School";A13:E14)</item> 715</paragraph> 716<paragraph xml-lang="en-US" id="par_id3150596" role="paragraph" l10n="U" oldref="168">Enter <item type="input">2</item> in row 14 under Grade. The sum (1950) of the distances to school of all the children who are in second grade is displayed.</paragraph> 717</section> 718<section id="Section11"> 719<bookmark xml-lang="en-US" branch="index" id="bm_id3155614"> 720<bookmark_value>DVAR function</bookmark_value> 721<bookmark_value>variances;based on samples</bookmark_value> 722</bookmark><comment>mw added "variances;"</comment> 723<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBVARIANZ" id="bm_id3159391" localize="false"/> 724<paragraph xml-lang="en-US" id="hd_id3155614" role="heading" level="2" l10n="U" 725oldref="170">DVAR</paragraph> 726<paragraph xml-lang="en-US" id="par_id3154418" role="paragraph" l10n="U" oldref="171"><ahelp hid="HID_FUNC_DBVARIANZ">DVAR returns the variance of all cells of a database field in all records that match the specified search criteria.</ahelp> The records from the example are treated as a sample of data. A representative result cannot be obtained from a sample population of less than one thousand.</paragraph> 727<embed href="text/shared/00/00000001.xhp#regulaer"/> 728<paragraph xml-lang="en-US" id="hd_id3154825" role="heading" level="3" l10n="U" 729oldref="172">Syntax</paragraph> 730<paragraph xml-lang="en-US" id="par_id3156138" role="code" l10n="U" oldref="173">DVAR(Database; DatabaseField; SearchCriteria)</paragraph> 731<embed href="text/scalc/01/04060101.xhp#quotes"/> 732<paragraph xml-lang="en-US" id="hd_id3151257" role="heading" level="3" l10n="U" 733oldref="174">Example</paragraph> 734<paragraph xml-lang="en-US" id="par_id3153701" role="paragraph" l10n="U" oldref="175">To find the variance of the weight of all children of the same age of the above example (scroll up, please), enter the following formula in B16:</paragraph> 735<paragraph xml-lang="en-US" id="par_id3153676" role="paragraph" l10n="U" oldref="176"> 736<item type="input">=DVAR(A1:E10;"Weight";A13:E14)</item> 737</paragraph> 738<paragraph xml-lang="en-US" id="par_id3153798" role="paragraph" l10n="U" oldref="177">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. You will see as a result the variance of the weight values for all children of this age.</paragraph> 739</section> 740<section id="Section12"> 741<bookmark xml-lang="en-US" branch="index" id="bm_id3153880"> 742<bookmark_value>DVARP function</bookmark_value> 743<bookmark_value>variances;based on populations</bookmark_value> 744</bookmark><comment>mw added "variances;"</comment> 745<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DBVARIANZEN" id="bm_id3153891" localize="false"/> 746<paragraph xml-lang="en-US" id="hd_id3153880" role="heading" level="2" l10n="U" 747oldref="178">DVARP</paragraph> 748<paragraph xml-lang="en-US" id="par_id3155119" role="paragraph" l10n="U" oldref="179"><ahelp hid="HID_FUNC_DBVARIANZEN">DVARP calculates the variance of all cell values in a database field in all records that match the specified search criteria.</ahelp> The records are from the example are treated as an entire population.</paragraph> 749<embed href="text/shared/00/00000001.xhp#regulaer"/> 750<paragraph xml-lang="en-US" id="hd_id3145774" role="heading" level="3" l10n="U" 751oldref="180">Syntax</paragraph> 752<paragraph xml-lang="en-US" id="par_id3153776" role="code" l10n="U" oldref="181">DVARP(Database; DatabaseField; SearchCriteria)</paragraph> 753<embed href="text/scalc/01/04060101.xhp#quotes"/> 754<paragraph xml-lang="en-US" id="hd_id3151110" role="heading" level="3" l10n="U" 755oldref="182">Example</paragraph> 756<paragraph xml-lang="en-US" id="par_id3147099" role="paragraph" l10n="U" oldref="183">To find the variance of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:</paragraph> 757<paragraph xml-lang="en-US" id="par_id3147322" role="paragraph" l10n="U" oldref="184"> 758<item type="input">=DVARP(A1:E10;"Weight";A13:E14)</item> 759</paragraph> 760<paragraph xml-lang="en-US" id="par_id3146902" role="paragraph" l10n="U" oldref="185">In row 14, under Age, enter <item type="input">7, 8, 9,</item> and so on, one after the other. The variance of the weight values for all children of this age attending Joe's birthday party appears.</paragraph> 761</section> 762</sort> 763<section id="relatedtopics"> 764<embed href="text/scalc/01/04060100.xhp#drking"/> 765</section> 766</body> 767</helpdocument> 768