1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir<!-- 5*cdf0e10cSrcweir *********************************************************************** 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 12*cdf0e10cSrcweir * 13*cdf0e10cSrcweir * This file is part of OpenOffice.org. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 17*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 18*cdf0e10cSrcweir * 19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 24*cdf0e10cSrcweir * 25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 26*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 28*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 29*cdf0e10cSrcweir * 30*cdf0e10cSrcweir ************************************************************************ 31*cdf0e10cSrcweir --> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir<helpdocument version="1.0"> 34*cdf0e10cSrcweir<meta> 35*cdf0e10cSrcweir<topic id="textscalc0112120100xml" indexer="include" status="PUBLISH"> 36*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Criteria</title> 37*cdf0e10cSrcweir<filename>/text/scalc/01/12120100.xhp</filename> 38*cdf0e10cSrcweir</topic> 39*cdf0e10cSrcweir<history> 40*cdf0e10cSrcweir<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> 41*cdf0e10cSrcweir<lastedited date="2007-04-10T15:02:52">UFI: sc.features: List and range validity in spreadsheet cells. 42*cdf0e10cSrcweirYJ: checked</lastedited> 43*cdf0e10cSrcweir</history> 44*cdf0e10cSrcweir</meta> 45*cdf0e10cSrcweir<body> 46*cdf0e10cSrcweir<section id="werte"> 47*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id1464278"><bookmark_value>selection lists;validity</bookmark_value> 48*cdf0e10cSrcweir</bookmark><comment>UFI added index entry for new list feature. Guide needed. MW changed index entry</comment> 49*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:TabPage:TP_VALIDATION_VALUES" id="bm_id3145673" localize="false"/> 50*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153032" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/12120100.xhp" name="Criteria">Criteria</link></paragraph> 51*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156327" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid="SC:TABPAGE:TP_VALIDATION_VALUES">Specify the validation rules for the selected cell(s).</ahelp></paragraph> 52*cdf0e10cSrcweir</section> 53*cdf0e10cSrcweir<section id="howtoget"> 54*cdf0e10cSrcweir <embed href="text/scalc/00/00000412.xhp#datengueltigwerte"/> 55*cdf0e10cSrcweir</section> 56*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155923" xml-lang="en-US" l10n="U" oldref="4">For example, you can define criteria such as: "Numbers between 1 and 10" or "Texts that are no more than 20 characters".</paragraph> 57*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:ListBox:TP_VALIDATION_VALUES:LB_ALLOW" id="bm_id3148663" localize="false"/> 58*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153896" xml-lang="en-US" level="2" l10n="U" oldref="5">Allow</paragraph> 59*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="6"><ahelp hid="SC:LISTBOX:TP_VALIDATION_VALUES:LB_ALLOW">Click a validation option for the selected cell(s).</ahelp></paragraph> 60*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="17">The following conditions are available:</paragraph> 61*cdf0e10cSrcweir<table id="tbl_id3150870"> 62*cdf0e10cSrcweir<tablerow> 63*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 64*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="18">Condition</paragraph> 65*cdf0e10cSrcweir</tablecell> 66*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 67*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="19">Effect</paragraph> 68*cdf0e10cSrcweir</tablecell> 69*cdf0e10cSrcweir</tablerow> 70*cdf0e10cSrcweir<tablerow> 71*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 72*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3153092" xml-lang="en-US" l10n="CHG" oldref="20">All values</paragraph> 73*cdf0e10cSrcweir</tablecell> 74*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 75*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="21">No limitation.</paragraph> 76*cdf0e10cSrcweir</tablecell> 77*cdf0e10cSrcweir</tablerow> 78*cdf0e10cSrcweir<tablerow> 79*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 80*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="22">Whole number</paragraph> 81*cdf0e10cSrcweir</tablecell> 82*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 83*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="23">Only whole numbers corresponding to the condition.</paragraph> 84*cdf0e10cSrcweir</tablecell> 85*cdf0e10cSrcweir</tablerow> 86*cdf0e10cSrcweir<tablerow> 87*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 88*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3145802" xml-lang="en-US" l10n="U" oldref="24">Decimal</paragraph> 89*cdf0e10cSrcweir</tablecell> 90*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 91*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3153160" xml-lang="en-US" l10n="U" oldref="25">All numbers corresponding to the condition.</paragraph> 92*cdf0e10cSrcweir</tablecell> 93*cdf0e10cSrcweir</tablerow> 94*cdf0e10cSrcweir<tablerow> 95*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 96*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3149377" xml-lang="en-US" l10n="U" oldref="26">Date</paragraph> 97*cdf0e10cSrcweir</tablecell> 98*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 99*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3150718" xml-lang="en-US" l10n="U" oldref="27">All numbers corresponding to the condition. The entered values are formatted accordingly the next time the dialog is called up.</paragraph> 100*cdf0e10cSrcweir</tablecell> 101*cdf0e10cSrcweir</tablerow> 102*cdf0e10cSrcweir<tablerow> 103*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 104*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="28">Time</paragraph> 105*cdf0e10cSrcweir</tablecell> 106*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 107*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155066" xml-lang="en-US" l10n="U" oldref="29">All numbers corresponding to the condition. The entered values are formatted accordingly the next time the dialog is called up.</paragraph> 108*cdf0e10cSrcweir</tablecell> 109*cdf0e10cSrcweir</tablerow> 110*cdf0e10cSrcweir<tablerow> 111*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 112*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_idN106A0" xml-lang="en-US" l10n="NEW">Cell range</paragraph> 113*cdf0e10cSrcweir</tablecell> 114*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 115*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_idN106A5" xml-lang="en-US" l10n="NEW">Allow only values that are given in a cell range. The cell range can be specified explicitly, or as a named database range, or as a named range. The range may consist of one column or one row of cells. If you specify a range of columns and rows, only the first column is used.</paragraph> 116*cdf0e10cSrcweir</tablecell> 117*cdf0e10cSrcweir</tablerow> 118*cdf0e10cSrcweir<tablerow> 119*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 120*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_idN106AB" xml-lang="en-US" l10n="NEW">List</paragraph> 121*cdf0e10cSrcweir</tablecell> 122*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 123*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_idN106B0" xml-lang="en-US" l10n="NEW">Allow only values or strings specified in a list. Strings and values can be mixed. Numbers evaluate to their value, so if you enter the number 1 in the list, the entry 100% is also valid.</paragraph> 124*cdf0e10cSrcweir</tablecell> 125*cdf0e10cSrcweir</tablerow> 126*cdf0e10cSrcweir<tablerow> 127*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 128*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3154756" xml-lang="en-US" l10n="U" oldref="30">Text length</paragraph> 129*cdf0e10cSrcweir</tablecell> 130*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 131*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="31">Entries whose length corresponds to the condition.</paragraph> 132*cdf0e10cSrcweir</tablecell> 133*cdf0e10cSrcweir</tablerow> 134*cdf0e10cSrcweir</table> 135*cdf0e10cSrcweir 136*cdf0e10cSrcweir<!-- removed HID SC:TRISTATEBOX:TP_VALIDATION_VALUES:TSB_ALLOW_BLANKS --> 137*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:TP_VALIDATION_VALUES:TSB_ALLOW_BLANKS" id="bm_id263985" localize="false"/> 138*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154704" xml-lang="en-US" level="2" l10n="CHG" oldref="7">Allow blank cells</paragraph> 139*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153967" xml-lang="en-US" l10n="CHG" oldref="8"><ahelp hid="SC:TRISTATEBOX:TP_VALIDATION_VALUES:TSB_ALLOW_BLANKS">In conjunction with <emph>Tools - Detective - Mark invalid Data</emph>, this defines that blank cells are shown as invalid data (disabled) or not (enabled).</ahelp></paragraph> 140*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:TP_VALIDATION_VALUES:CB_SHOWLIST" id="bm_id5339518" localize="false"/> 141*cdf0e10cSrcweir<paragraph role="heading" id="par_idN10709" xml-lang="en-US" level="2" l10n="NEW">Show selection list</paragraph> 142*cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN1070D" xml-lang="en-US" l10n="NEW"><ahelp hid="sc:CheckBox:TP_VALIDATION_VALUES:CB_SHOWLIST">Shows a list of all valid strings or values to select from. The list can also be opened by selecting the cell and pressing Ctrl+D (Mac: Command+D).</ahelp></paragraph> 143*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:TP_VALIDATION_VALUES:CB_SORTLIST" id="bm_id6317331" localize="false"/> 144*cdf0e10cSrcweir<paragraph role="heading" id="par_idN10724" xml-lang="en-US" level="3" l10n="NEW">Sort entries ascending</paragraph> 145*cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10728" xml-lang="en-US" l10n="NEW"><ahelp hid="sc:CheckBox:TP_VALIDATION_VALUES:CB_SORTLIST">Sorts the selection list in ascending order and filters duplicates from the list. If not checked, the order from the data source is taken.</ahelp></paragraph> 146*cdf0e10cSrcweir<paragraph role="heading" id="par_idN1073F" xml-lang="en-US" level="2" l10n="NEW">Source</paragraph> 147*cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10743" xml-lang="en-US" l10n="NEW"><ahelp hid="sc:Edit:TP_VALIDATION_VALUES:EDT_MIN">Enter the cell range that contains the valid values or text.</ahelp></paragraph> 148*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:MultiLineEdit:TP_VALIDATION_VALUES:EDT_LIST" id="bm_id5921506" localize="false"/> 149*cdf0e10cSrcweir<paragraph role="heading" id="par_idN1075A" xml-lang="en-US" level="2" l10n="NEW">Entries</paragraph> 150*cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN1075E" xml-lang="en-US" l10n="NEW"><ahelp hid="sc:MultiLineEdit:TP_VALIDATION_VALUES:EDT_LIST">Enter the entries that will be valid values or text strings.</ahelp></paragraph> 151*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:ListBox:TP_VALIDATION_VALUES:LB_VALUE" id="bm_id3147344" localize="false"/> 152*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3163807" xml-lang="en-US" level="2" l10n="U" oldref="9">Data</paragraph> 153*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3144502" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="SC:LISTBOX:TP_VALIDATION_VALUES:LB_VALUE">Select the comparative operator that you want to use.</ahelp> The available operators depend on what you selected in the <emph>Allow </emph>box. If you select "between" or "not between", the <emph>Minimum</emph> and <emph>Maximum</emph> input boxes appear. Otherwise, only the <emph>Minimum</emph>, the <emph>Maximum, or the Value</emph> input boxes appear.</paragraph> 154*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153782" xml-lang="en-US" level="2" l10n="U" oldref="11">Value</paragraph> 155*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153266" xml-lang="en-US" l10n="CHG" oldref="12">Enter the value for the data validation option that you selected in the <emph>Allow </emph>box.</paragraph> 156*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:Edit:TP_VALIDATION_VALUES:EDT_MIN" id="bm_id3149528" localize="false"/> 157*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149814" xml-lang="en-US" level="2" l10n="U" oldref="13">Minimum</paragraph> 158*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153199" xml-lang="en-US" l10n="U" oldref="14"><ahelp hid="SC:EDIT:TP_VALIDATION_VALUES:EDT_MIN">Enter the minimum value for the data validation option that you selected in the <emph>Allow </emph>box.</ahelp></paragraph> 159*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:Edit:TP_VALIDATION_VALUES:EDT_MAX" id="bm_id3150206" localize="false"/> 160*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149035" xml-lang="en-US" level="2" l10n="U" oldref="15">Maximum</paragraph> 161*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150089" xml-lang="en-US" l10n="U" oldref="16"><ahelp hid="SC:EDIT:TP_VALIDATION_VALUES:EDT_MAX">Enter the maximum value for the data validation option that you selected in the <emph>Allow </emph>box.</ahelp></paragraph> 162*cdf0e10cSrcweir</body> 163*cdf0e10cSrcweir</helpdocument> 164