Sisukord
Register 🔎︎

# Andmebaasifunktsioonid

See alajaotus käsitleb ridade kaupa kirjeteks ühendatud andmete puhul kasutatavaid funktsioone.

Andmebaasi kategooriat võidakse ajada segi selle andmebaasiga, mis on integreeritud LibreOffice'iga. Tegelikult ei ole LibreOffice'i andmebaasi ja LibreOffice Calci andmebaasi kategooria vahel mingit seost.

### Näidisandmed:

Järgnevaid andmeid kasutatakse osade funktsioonide kirjeldamisel näidetena:

Vahemik A1:E10 sisaldab loendit lastest, kes on kutsutud Joe sünnipäevale. Iga kirje sisaldab järgnevat teavet: veerg A näitab nime, B klassi, siis tulevad vanus aastates, koolitee pikkus meetrites ja lapse kaal kilogrammides.

| A | B | C | D | E
1 | Nimi | Klass | Vanus | Koolitee pikkus | Kaal
2 | Andy | 3 | 9 | 150 | 40
3 | Betty | 4 | 10 | 1000 | 42
4 | Charles | 3 | 10 | 300 | 51
5 | Daniel | 5 | 11 | 1200 | 48
6 | Eva | 2 | 8 | 650 | 33
7 | Klass | 2 | 7 | 300 | 42
8 | Greta | 1 | 7 | 200 | 36
9 | Harry | 3 | 9 | 1200 | 44
10 | Irene | 2 | 8 | 1000 | 42
11 |  |  |  |  |
12 |  |  |  |  |
13 | Nimi | Klass | Vanus | Koolitee pikkus | Kaal
14 |  |  |  | >600 |
15 |  |  |  |  |
16 | DCOUNT | 5 |  |  |

Valem lahtris B16 on =DCOUNT(A1:E10;0;A13:E14)

### Andmebaasifunktsiooni argumendid:

Järgnevas loetelus on kõikide andmebaasifunktsioonide argumentide definitsioonid:

Andmebaas on lahtrite vahemik, mis määrab andmebaasi.

DatabaseField 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. For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

Otsingukriteeriumid on lahter, mis sisaldab otsingukriteeriumeid. Kui ühele reale kirjutada mitu kriteeriumit, ühendatakse need JA-tehtega. Kui kriteeriumid kirjutada eraldi ridadele, ühendatakse need VÕI-tehtega. Otsingukriteeriumite vahemikus sisalduvaid tühje lahtreid eiratakse.

Choose LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate to define how LibreOffice Calc acts when searching for identical entries.

See also the Wiki page about Conditional Counting and Summation.

## DAVERAGE

DAVERAGE tagastab kõikide ridade (andmebaasi kirjete) hulgast määratud otsingukriteeriumitele vastavate lahtrite (väljade) väärtuste keskmise.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DAVERAGE(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, kui suur on ülaltoodud näite (keri ülespoole, palun) kõikide samaealiste laste keskmine kaal, sisestame lahtrisse B16 järgmise valemi:

=DAVERAGE(A1:E10;"Kaal";A13:E14)

Reale 14, Vanuse alla sisestame üksteise järel väärtused 7, 8, 9 jne. Vastuse väljale ilmub sama vanusega laste keskmine kaal.

## DCOUNT

DCOUNT loendab andmebaasi read (kirjed), mis vastavad määratud otsingukriteeriumitele ja sisaldavad arvulisi väärtusi.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DCOUNT(andmebaas; andmebaasi väli; otsingukriteeriumid)

If the DatabaseField argument is omitted, DCOUNT returns the count of all records that satisfy Criteria. For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Ülaltoodud näite (keri ülespoole, palun) põhjal me tahame teada, kui paljude laste koolitee on pikem kui 600 meetrit. Tulemuse kirjutame lahtrisse B16. Asetame kursori lahtrisse B16. Sisestame lahtrisse B16 valemi =DCOUNT(A1:E10;A1:E10;A13:E14). Dialoog Funktsiooninõustaja on abiks sisendvahemike määramisel.

Andmebaas on arvutatavate andmete vahemik koos päistega: käesoleva näite korral A1:E10. Andmebaasi väli määrab otsingukriteeriumite veeru: käesoleva näite korral terve andmebaasi. Otsingukriteeriumid on vahemik, kuhu saab sisestada otsinguparameetrid: käesoleva näite korral A13:E14.

Uurime näiteks, mitu last teises klassis on üle 7 aasta vanad, selleks kustutame kirje >600 lahtris D14 ja sisestame 2 lahtrisse B14, Klassi alla ning sisestame >7 lahtrisse C14 temast paremal. Vastus on 2. Kaks last on teises klassis ja üle 7 aasta vanad. Kuna mõlemad tingimused on ühes reas, on nad ühendatud loogilise JA-ga.

## DCOUNTA

DCOUNTA loendab andmebaasi read (kirjed), mis vastavad määratud otsingukriteeriumitele ja sisaldavad arvulisi või tähti ja numbreid sisaldavaid väärtusi.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DCOUNTA(andmebaas; andmebaasi väli; otsingukriteeriumid)

If the DatabaseField argument is omitted, DCOUNTA returns the count of all records that satisfy Criteria. For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Ülaltoodud näites saad otsida nende laste arvu, kelle nimi algab E-tähega või mõne sellele järgneva tähega. Muuda valemit lahtris B16 nii, et see oleks =DCOUNTA(A1:E10;"Nimi";A13:E14). Kustuta eelmised otsingukriteeriumid ja sisesta lahtrisse A14 nime alla >=E. Tulemus on 5. Kui kustutad nüüd reast 8 kõik Greta kohta käivad arvväärtused, on tulemuseks 4. Rida 8 ei võeta enam loendamisel arvesse, kuna see ei sisalda ühtki väärtust. Nimi "Greta" on tekst, mitte väärtus. Pane tähele, et andmebaasi välja atribuut peab viitama veerule, mis saab sisaldada väärtusi.

## DGET

DGET tagastab andmebaasi kuuluva viidatud lahtri, mis vastab määratud otsingukriteeriumitele, sisu. Vea korral tagastab funktsioon kas #VALUE!, kui ühtegi rida ei leitud, või Err502, kui leiti rohkem kui üks lahter.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DGET(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Uurime ülaltoodud näite (keri ülespoole, palun) põhjal, mis klassis käib laps, kelle nimi on lahtris A14. Valemi sisestame jällegi lahtrisse B16 ja see erineb veidike varasematest näidetest, kuna ainult üks veerg (üks andmebaasi väli) tohib olla määratud andmebaasi väljana. Sisestame järgneva valemi:

=DGET(A1:E10;"Klass";A13:E14)

Nüüd sisestame nime Frank lahtrisse A14 ja näeme, et tulemus on 2. Frank on teises klassis. Sisestame "Klass" asemele Vanus ja saame vastuseks Franki vanuse.

Sisestame väärtuse 11 ainult lahtrisse C14 ja kustutame reast kõik ülejäänu. Muudame valemit lahtris B16 järgnevalt:

=DGET(A1:E10;"Nimi";A13:E14)

Klassi asemel küsime nüüd nime. Vastuseks saamegi Daniel: Daniel on ainus laps vanusega 11 aastat.

## DMAX

DMAX tagastab selle andmebaasi (kõikide kirjete hulka) kuuluva ja määratud otsingutingimustele vastava lahtri (välja) sisu, mis on teistega võrreldes suurim.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DMAX(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, kui palju kaalub raskeim laps ülaltoodud näite (keri ülespoole, palun) igas klassis, sisestame lahtrisse B16 valemi:

=DMAX(A1:E10;"Kaal";A13:E14)

Nüüd sisestame väljale 'Klass' üksteise järel väärtused 1, 2, 3, jne. Pärast iga klassi numbri sisestamist ilmub vastuseväljale klassi raskeima lapse kaal.

## DMIN

DMIN tagastab selle andmebaasi (kõikide kirjete hulka) kuuluva ja määratud otsingutingimustele vastava lahtri (välja) sisu, mis on teistega võrreldes vähim.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DMIN(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, kui pikk on igas ülaltoodud näite (keri ülespoole, palun) klassis selle õpilaste lühim koolitee, sisestame lahtrisse B16 järgmise valemi:

=DMIN(A1:E10;"Koolitee pikkus";A13:E14)

Reale 14, Klassi alla, sisestame järgemööda väärtused 1, 2, 3, jne. Vastuse väljale ilmub iga klassi lühima koolitee pikkus.

## DPRODUCT

DPRODUCT korrutab omavahel kõik need andmevahemiku lahtrid, mille sisu vastab otsingukriteeriumitele.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DPRODUCT(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Ülaltoodud sünnipäevaliste näite (keri ülespoole, palun) jaoks ei ole sellel funktsioonil ühtegi mõistlikku rakendust.

## DSTDEV

DSTDEV arvutab valimil baseeruva populatsiooni, mis koosneb määratud tingimustele vastavatest andmebaasi veeru arvudest, standardhälbe. Kirjeid käsitletakse kui andmete valimit. "Meie" lapsed esindavad justkui läbilõiget kõikidest lastest (tõepärase resultaadi saamiseks peab valimi populatsiooni suurus olema üle tuhande).

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DSTDEV(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, kui suur on ülaltoodud näites kõikide samaealiste laste kaalu standardhälve, sisestame lahtrisse B16 järgmise valemi:

=DSTDEV(A1:E10;"Kaal";A13:E14)

Reale 14, Vanuse alla sisestame üksteise järel väärtused 7, 8, 9 jne. Vastuse väljale ilmub sama vanusega laste kaalude standardhälve.

## DSTDEVP

DSTDEVP arvutab populatsiooni, mis koosneb määratud tingimustele vastavatest andmevahemiku lahtritest, standardhälbe. Kirjeid meie näitest käsitletakse kui terviklikku populatsiooni.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DSTDEVP(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, kui suur on kõikide samaealiste ülaltoodud näites (keri ülespoole, palun) Joe sünnipäevale kustutud laste kaalu standardhälve, sisestame lahtrisse B16 järgmise valemi:

=DSTDEVP(A1:E10;"Kaal";A13:E14)

Reale 14, Vanuse alla, sisestame üksteise järel arvud 7, 8, 9 jne. Iga sisendi kohta näidatakse kõigi samaealiste laste, kelle kaalu me kontrollisime, kaalude standardhälvet.

## DSUM

DSUM tagastab andmebaasi välja kõikide ridade (kirjete) kõikide otsingukriteeriumitele vastavate lahtrite summa.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DSUM(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, kui pikk on Joe sünnipäevale (keri ülespoole, palun) kutsutud teise klassi laste summaarne koolitee, sisestame lahtrisse B16 järgmise valemi:

=DSUM(A1:E10;"Koolitee pikkus";A13:E14)

Reale 14, Klassi alla, sisestame 2. Vastuseks näidatakse kõikide teises klassis käivate laste kooliteede pikkuste summat (1950).

## DVAR

DVAR tagastab kõikide andmebaasi välja lahtrite dispersiooni kõikide kirjete hulgas, mis vastavad määratud otsingukriteeriumitele. Kirjeid meie näitest käsitletakse kui andmete valimit. Tõepärase resultaadi saamiseks peab valimi populatsiooni suurus olema üle tuhande.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DVAR(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, milline on ülaltoodud näite (keri ülespoole, palun) kõigi samaealiste laste kaalude dispersioon, sisestame lahtrisse B16 järgmise valemi:

=DVAR(A1:E10;"Kaal";A13:E14)

Reale 14, Vanuse alla, sisestame üksteise järel väärtused 7, 8, 9 jne. Vastusena näidatakse vastava vanusega laste kaalude dispersiooni.

## DVARP

DVARP arvutab kõikide andmebaasi välja lahtrite väärtuste dispersiooni kõikide kirjete hulgas, mis vastavad määratud otsingukriteeriumitele. Kirjeid meie näitest käsitletakse kui terviklikku populatsiooni.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every character with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in LibreOffice - PreferencesTools - Options - LibreOffice Calc - Calculate.

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".

#### Syntax

DVARP(andmebaas; andmebaasi väli; otsingukriteeriumid)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

#### Example

Et leida, milline on kõigi Joe sünnipäevale (keri ülespoole, palun) kutsutud samaealiste laste kaalude dispersioon, sisestame lahtrisse B16 järgmise valemi:

=DVARP(A1:E10;"Kaal";A13:E14)

Reale 14, Vanuse alla, sisestame üksteise järel väärtused 7, 8, 9 jne. Vastusena näidatakse Joe sünnipäevale kutsutud vastava vanusega laste kaalude dispersiooni.

Sarnased teemad

Functions by Category