1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3cdf0e10cSrcweir
402dbb15cSAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
602dbb15cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
702dbb15cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
802dbb15cSAndrew Rist * distributed with this work for additional information
902dbb15cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
1002dbb15cSAndrew Rist * to you under the Apache License, Version 2.0 (the
1102dbb15cSAndrew Rist * "License"); you may not use this file except in compliance
1202dbb15cSAndrew Rist * with the License.  You may obtain a copy of the License at
1302dbb15cSAndrew Rist *
1402dbb15cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1502dbb15cSAndrew Rist *
1602dbb15cSAndrew Rist * Unless required by applicable law or agreed to in writing,
1702dbb15cSAndrew Rist * software distributed under the License is distributed on an
1802dbb15cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1902dbb15cSAndrew Rist * KIND, either express or implied.  See the License for the
2002dbb15cSAndrew Rist * specific language governing permissions and limitations
2102dbb15cSAndrew Rist * under the License.
2202dbb15cSAndrew Rist *
2302dbb15cSAndrew Rist ***********************************************************-->
2402dbb15cSAndrew Rist
2502dbb15cSAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir<helpdocument version="1.0">
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir<topic id="textscalc0112120100xml" indexer="include" status="PUBLISH">
30cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Criteria</title>
31cdf0e10cSrcweir<filename>/text/scalc/01/12120100.xhp</filename>
32cdf0e10cSrcweir</topic>
33cdf0e10cSrcweir<history>
34cdf0e10cSrcweir<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
35cdf0e10cSrcweir<lastedited date="2007-04-10T15:02:52">UFI: sc.features: List and range validity in spreadsheet cells.
36cdf0e10cSrcweirYJ: checked</lastedited>
37cdf0e10cSrcweir</history>
38cdf0e10cSrcweir</meta>
39cdf0e10cSrcweir<body>
40cdf0e10cSrcweir<section id="werte">
41cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id1464278"><bookmark_value>selection lists;validity</bookmark_value>
42cdf0e10cSrcweir</bookmark><comment>UFI added index entry for new list feature. Guide needed. MW changed index entry</comment>
43cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:TabPage:TP_VALIDATION_VALUES" id="bm_id3145673" localize="false"/>
44cdf0e10cSrcweir<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>
45cdf0e10cSrcweir<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>
46cdf0e10cSrcweir</section>
47cdf0e10cSrcweir<section id="howtoget">
48cdf0e10cSrcweir  <embed href="text/scalc/00/00000412.xhp#datengueltigwerte"/>
49cdf0e10cSrcweir</section>
50cdf0e10cSrcweir<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>
51cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:ListBox:TP_VALIDATION_VALUES:LB_ALLOW" id="bm_id3148663" localize="false"/>
52cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153896" xml-lang="en-US" level="2" l10n="U" oldref="5">Allow</paragraph>
53cdf0e10cSrcweir<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>
54cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="17">The following conditions are available:</paragraph>
55cdf0e10cSrcweir<table id="tbl_id3150870">
56cdf0e10cSrcweir<tablerow>
57cdf0e10cSrcweir<tablecell colspan="" rowspan="">
58cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="18">Condition</paragraph>
59cdf0e10cSrcweir</tablecell>
60cdf0e10cSrcweir<tablecell colspan="" rowspan="">
61cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3155854" xml-lang="en-US" l10n="U" oldref="19">Effect</paragraph>
62cdf0e10cSrcweir</tablecell>
63cdf0e10cSrcweir</tablerow>
64cdf0e10cSrcweir<tablerow>
65cdf0e10cSrcweir<tablecell colspan="" rowspan="">
66cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3153092" xml-lang="en-US" l10n="CHG" oldref="20">All values</paragraph>
67cdf0e10cSrcweir</tablecell>
68cdf0e10cSrcweir<tablecell colspan="" rowspan="">
69cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="21">No limitation.</paragraph>
70cdf0e10cSrcweir</tablecell>
71cdf0e10cSrcweir</tablerow>
72cdf0e10cSrcweir<tablerow>
73cdf0e10cSrcweir<tablecell colspan="" rowspan="">
74cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3147434" xml-lang="en-US" l10n="U" oldref="22">Whole number</paragraph>
75cdf0e10cSrcweir</tablecell>
76cdf0e10cSrcweir<tablecell colspan="" rowspan="">
77cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="23">Only whole numbers corresponding to the condition.</paragraph>
78cdf0e10cSrcweir</tablecell>
79cdf0e10cSrcweir</tablerow>
80cdf0e10cSrcweir<tablerow>
81cdf0e10cSrcweir<tablecell colspan="" rowspan="">
82cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3145802" xml-lang="en-US" l10n="U" oldref="24">Decimal</paragraph>
83cdf0e10cSrcweir</tablecell>
84cdf0e10cSrcweir<tablecell colspan="" rowspan="">
85cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3153160" xml-lang="en-US" l10n="U" oldref="25">All numbers corresponding to the condition.</paragraph>
86cdf0e10cSrcweir</tablecell>
87cdf0e10cSrcweir</tablerow>
88cdf0e10cSrcweir<tablerow>
89cdf0e10cSrcweir<tablecell colspan="" rowspan="">
90cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3149377" xml-lang="en-US" l10n="U" oldref="26">Date</paragraph>
91cdf0e10cSrcweir</tablecell>
92cdf0e10cSrcweir<tablecell colspan="" rowspan="">
93cdf0e10cSrcweir<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>
94cdf0e10cSrcweir</tablecell>
95cdf0e10cSrcweir</tablerow>
96cdf0e10cSrcweir<tablerow>
97cdf0e10cSrcweir<tablecell colspan="" rowspan="">
98cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="28">Time</paragraph>
99cdf0e10cSrcweir</tablecell>
100cdf0e10cSrcweir<tablecell colspan="" rowspan="">
101cdf0e10cSrcweir<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>
102cdf0e10cSrcweir</tablecell>
103cdf0e10cSrcweir</tablerow>
104cdf0e10cSrcweir<tablerow>
105cdf0e10cSrcweir<tablecell colspan="" rowspan="">
106cdf0e10cSrcweir<paragraph role="tablecontent" id="par_idN106A0" xml-lang="en-US" l10n="NEW">Cell range</paragraph>
107cdf0e10cSrcweir</tablecell>
108cdf0e10cSrcweir<tablecell colspan="" rowspan="">
109cdf0e10cSrcweir<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>
110cdf0e10cSrcweir</tablecell>
111cdf0e10cSrcweir</tablerow>
112cdf0e10cSrcweir<tablerow>
113cdf0e10cSrcweir<tablecell colspan="" rowspan="">
114cdf0e10cSrcweir<paragraph role="tablecontent" id="par_idN106AB" xml-lang="en-US" l10n="NEW">List</paragraph>
115cdf0e10cSrcweir</tablecell>
116cdf0e10cSrcweir<tablecell colspan="" rowspan="">
117cdf0e10cSrcweir<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>
118cdf0e10cSrcweir</tablecell>
119cdf0e10cSrcweir</tablerow>
120cdf0e10cSrcweir<tablerow>
121cdf0e10cSrcweir<tablecell colspan="" rowspan="">
122cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3154756" xml-lang="en-US" l10n="U" oldref="30">Text length</paragraph>
123cdf0e10cSrcweir</tablecell>
124cdf0e10cSrcweir<tablecell colspan="" rowspan="">
125cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="31">Entries whose length corresponds to the condition.</paragraph>
126cdf0e10cSrcweir</tablecell>
127cdf0e10cSrcweir</tablerow>
128cdf0e10cSrcweir</table>
129cdf0e10cSrcweir
130cdf0e10cSrcweir<!-- removed HID SC:TRISTATEBOX:TP_VALIDATION_VALUES:TSB_ALLOW_BLANKS -->
131cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:TP_VALIDATION_VALUES:TSB_ALLOW_BLANKS" id="bm_id263985" localize="false"/>
132*581051bfSTsutomu Uchino<paragraph role="heading" id="hd_id3154704" xml-lang="en-US" level="2" l10n="CHG" oldref="7">Allow empty cells</paragraph>
133*581051bfSTsutomu Uchino<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 empty cells are shown as invalid data (disabled) or not (enabled).</ahelp></paragraph>
134cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:TP_VALIDATION_VALUES:CB_SHOWLIST" id="bm_id5339518" localize="false"/>
135cdf0e10cSrcweir<paragraph role="heading" id="par_idN10709" xml-lang="en-US" level="2" l10n="NEW">Show selection list</paragraph>
136cdf0e10cSrcweir<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>
137cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:CheckBox:TP_VALIDATION_VALUES:CB_SORTLIST" id="bm_id6317331" localize="false"/>
138cdf0e10cSrcweir<paragraph role="heading" id="par_idN10724" xml-lang="en-US" level="3" l10n="NEW">Sort entries ascending</paragraph>
139cdf0e10cSrcweir<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>
140cdf0e10cSrcweir<paragraph role="heading" id="par_idN1073F" xml-lang="en-US" level="2" l10n="NEW">Source</paragraph>
141cdf0e10cSrcweir<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>
142cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:MultiLineEdit:TP_VALIDATION_VALUES:EDT_LIST" id="bm_id5921506" localize="false"/>
143cdf0e10cSrcweir<paragraph role="heading" id="par_idN1075A" xml-lang="en-US" level="2" l10n="NEW">Entries</paragraph>
144cdf0e10cSrcweir<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>
145cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:ListBox:TP_VALIDATION_VALUES:LB_VALUE" id="bm_id3147344" localize="false"/>
146cdf0e10cSrcweir<paragraph role="heading" id="hd_id3163807" xml-lang="en-US" level="2" l10n="U" oldref="9">Data</paragraph>
147cdf0e10cSrcweir<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>
148cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153782" xml-lang="en-US" level="2" l10n="U" oldref="11">Value</paragraph>
149cdf0e10cSrcweir<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>
150cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:Edit:TP_VALIDATION_VALUES:EDT_MIN" id="bm_id3149528" localize="false"/>
151cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149814" xml-lang="en-US" level="2" l10n="U" oldref="13">Minimum</paragraph>
152cdf0e10cSrcweir<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>
153cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/sc:Edit:TP_VALIDATION_VALUES:EDT_MAX" id="bm_id3150206" localize="false"/>
154cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149035" xml-lang="en-US" level="2" l10n="U" oldref="15">Maximum</paragraph>
155cdf0e10cSrcweir<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>
156cdf0e10cSrcweir</body>
157cdf0e10cSrcweir</helpdocument>
158