Criteria/text/scalc/01/12120100.xhpSun Microsystems, Inc.UFI: sc.features: List and range validity in spreadsheet cells.
YJ: checkedselection lists;validityUFI added index entry for new list feature. Guide needed. MW changed index entryCriteriaSpecify the validation rules for the selected cell(s).For example, you can define criteria such as: "Numbers between 1 and 10" or "Texts that are no more than 20 characters".AllowClick a validation option for the selected cell(s).The following conditions are available:
ConditionEffectAll valuesNo limitation.Whole numberOnly whole numbers corresponding to the condition.DecimalAll numbers corresponding to the condition.DateAll numbers corresponding to the condition. The entered values are formatted accordingly the next time the dialog is called up.TimeAll numbers corresponding to the condition. The entered values are formatted accordingly the next time the dialog is called up.Cell rangeAllow 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.ListAllow 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.Text lengthEntries whose length corresponds to the condition.
Allow empty cellsIn conjunction with Tools - Detective - Mark invalid Data, this defines that empty cells are shown as invalid data (disabled) or not (enabled).Show selection listShows 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).Sort entries ascendingSorts the selection list in ascending order and filters duplicates from the list. If not checked, the order from the data source is taken.SourceEnter the cell range that contains the valid values or text.EntriesEnter the entries that will be valid values or text strings.DataSelect the comparative operator that you want to use. The available operators depend on what you selected in the Allow box. If you select "between" or "not between", the Minimum and Maximum input boxes appear. Otherwise, only the Minimum, the Maximum, or the Value input boxes appear.ValueEnter the value for the data validation option that you selected in the Allow box.MinimumEnter the minimum value for the data validation option that you selected in the Allow box.MaximumEnter the maximum value for the data validation option that you selected in the Allow box.