Kriteriji

Contents

# Pokreni

Specify the validation rules for the selected cell(s).

To access this command...

#### From the menu bar:

Menu Data - Validity - Criteria tab.

#### From the tabbed interface:

On the Data menu of the Data tab, choose Validity - Criteria tab.

For example, you can define criteria such as: "Numbers between 1 and 10" or "Texts that are no more than 20 characters".

## Dozvoli

Click a validation option for the selected cell(s).

Sljedeci operatori su dostupni:

Uslov | Efekat
--- | ---
Sve vrijednosti | No limitation.
Whole numbers | Only whole numbers corresponding to the condition.
Decimalno | All numbers corresponding to the condition.
Datum | All numbers corresponding to the condition. The entered values are formatted accordingly the next time the dialog is called up.
Vrijeme | All numbers corresponding to the condition. The entered values are formatted accordingly the next time the dialog is called up.
Oblast ćelije | 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.
Lista | 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. Only up to 255 characters are saved, when using Excel format.
Dužina teksta | Entries whose length corresponds to the condition.
Custom | Only allow values that result in the formula entered in the Formula box to return TRUE, when the formula is calculated with the entered value. The formula can be any expression that evaluates to a boolean value of TRUE or FALSE, or returns a numerical value, where a nonzero value is interpreted as TRUE and 0 is interpreted as FALSE. Formulas can use relative referencing. For example, if cells A1:A4 were selected, the cursor is in cell A1 and ISODD(A1) is entered into the Formula box, then only odd numbers could be entered into cells A1 through A4.

## Dozvoli prazne čelije

In conjunction with Tools - Detective - Mark invalid Data, this defines that blank cells are shown as invalid data (disabled) or not (enabled).

## Pokaži listu izbora

Shows a list of all valid strings or values to select from. The list can also be opened by selecting the cell and pressing Option+Down ArrowAlt+Down Arrow.

### Poredati polja uzlazno

Sorts the selection list in ascending order and filters duplicates from the list. If not checked, the order from the data source is taken.

## Izvor

Enter the cell range that contains the valid values or text.

## Unosi

Enter the entries that will be valid values or text strings.

## Podaci

Select 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.

## Vrijednost

Enter the value for the data validation option that you selected in the Allow box.

## Minimum

Enter the minimum value for the data validation option that you selected in the Allow box.

## Maksimum

Enter the maximum value for the data validation option that you selected in the Allow box.

Related Topics

Validity