Helbideak eta Erreferentziak, Absolutuak eta Erlatiboak

Cell references

An individual cell is fully identified by the sheet it belongs, the column identifier (letter) located along the top of the columns and a row identifier (number) found along the left-hand side of the spreadsheet. On spreadsheets read from left to right, the complete reference for the upper left cell of the sheet is Sheet.A1.

Cell ranges

You can reference a set of cells by referencing them in ranges. Ranges can be a block of cells, entire set of columns and entire set of rows. The range A1:B2 is the first four cells in the upper left corner of the sheet. Range A:E contains all the cells of column A, B, C, D and E. Range 2:5 contains all the cells of row 2, 3, 4 and 5.

The reference to a cell of another document contains the fully qualified name of the other document between single quotes ('), then a hash #, then the name of the sheet of the other document, followed by a period and the name or reference of the cell.

For example, .

note

The path and document name URI must always be enclosed in single quotes. If the name contains single quotes (') they must be escaped using two single quotes (''). Only a sheet name may not be quoted if it does not contain a space or a character that would be an operator or the name would be pure numeric (for example, '123' must be quoted).


Erreferentzia-eragileak

Eragile hauek egiazkoa edo faltsua den adierazten dute.

Heinak du lehentasun handiena, ondoren ebakidurak, eta azkenik bildurak.

Eragilea

Izena

Adibidea

:

Barrutia

A1:C108, A:D or 3:13

!

Ebakidura

SUM(A1:B6!B5:C12)

Multzoko gelaxka guztien batura kalkulatzen du; adibide honetan, emaitzak B5 eta B6 gelaxken batura ematen du.

~

Kateatzea edo bildura

Takes two references and returns a reference list, which is a concatenation of the left reference followed by the right reference. Double entries are referenced twice.

=COUNT(A1:B2~B2:C3) counts values of A1:B2 and B2:C3. Note that the cell B2 is counted twice.

=INDEX(A1:B2~C1:D2;2;1;2) selects cell C2, that is, the first cell of the second row, first column, of the second range (C1:D2) of the range list.


note

A reference list is not allowed inside an array expression.


Erreferentzia erlatiboa

A1 erreferentziak A zutabeko 1 errenkadako gelaxka adierazten du. Elkarren ondoan dauden gelaxkez osatutako area bat adierazteko, sartu arearen goiko ezkerraldeko gelaxkaren koordenatuak, ondoren jarri bi puntu eta, azkenik, beheko eskuinaldeko gelaxkaren koordenatuak. Adibidez, goiko ezkerraldeko izkinako lau gelaxkek osatutako karratua adierazteko A1:B2 jartzen da.

Area horrela adieraziz, erreferentzia erlatiboa egiten zaio A1:B2 areari. Hor 'erlatiboa' esaten denean adierazi nahi da area hori automatikoki egokituko dela formulak kopiatzean.

Erreferentzia absolutua

Erreferentzia absolutua erreferentzia erlatiboen kontrakoa da. Erreferentzia absolutuan dolar-ikurra jartzen da letra eta zenbaki bakoitzaren aurrean. Adibidez: $A$1:$B$2.

tip

LibreOffice can convert the current reference, in which the cursor is positioned in the input line, from relative to absolute and vice versa by pressing F4. If you start with a relative address such as A1, the first time you press this key combination, both row and column are set to absolute references ($A$1). The second time, only the row (A$1), and the third time, only the column ($A1). If you press the key combination once more, both column and row references are switched back to relative (A1)


LibreOffice Calc-ek formuletako erreferentziak erakusten ditu. Adibidez, gelaxka bateko =SUM(A1:C5;D15:D24) formulan klik egiten baduzu, formula horrek erreferentzia egiten dien bi barrutiak kolorez nabarmenduko dira. Adibidez, "A1:C5" formula-osagaia urdinez agertuko da formulan eta gelaxka-barrutia bera ertz urdinarekin. Hurrengo formula-osagaia "D15:D24" gorriz markatuta ager liteke modu berean.

Noiz erabili erreferentzia erlatiboak eta noiz absolutuak

Zein da erreferentzia erlatiboen berezitasuna? Demagun A1:B2 barrutiko gelaxken batuketa kalkulatu nahi duzula E1 gelaxkan. E1 gelaxkan sartu behar duzun formula: =SUM(A1:B2). Gero zutabe berri bat txertatu nahi baduzu A zutabearen aurrean, orduan batu beharreko elementuak B1:C2 izango lirateke eta formula F1 gelaxkan egongo litzateke, eta ez E1 gelaxkan. Zutabe berria txertatutakoan, orriko formula guztiak aztertu eta zuzendu beharko zenituzke, eta beharbada beste orri batzuetakoak ere bai.

Zorionez, LibreOffice arduratzen da hori konpontzeaz. A zutabe berri bat txertatutakoan, =SUM(A1:B2) formula automatikoki bihurtuko da =SUM(B1:C2). Errenkada-zenbakiak ere automatikoki doituko dira 1 errenkada berri bat txertatzen denean. Area erreferentziatua lekuz aldatzen den guztietan, LibreOffice Calc-ek erreferentzia absolutuak zein erlatiboak egokitu egiten ditu. Baina kontuz ibili formulak kopiatzean. Izan ere, halakoetan erreferentzia erlatiboak bakarrik egokitzen dira, eta absolutuak mantendu egiten dira.

Erreferentzia absolutuak erabiltzen dira kalkuluak gelaxka jakin bati erreferentzia egiten dionean. Zehazki gelaxka horri erreferentzia egin behar dion formula bat erlatiboki kopiatzen baduzu hurrengo errenkadan, erreferentziak ere beheko gelaxka hartuko du, baldin eta gelaxka-koordenatuak absolutu gisa definitu ez badituzu.

Errenkadak eta zutabeak aldatzeaz gain txertatu egiten direnean, edo formula bat beste leku batean kopiatzen denean ere alda daitezke erreferentziak. Adibidez, demagun =SUM(A1:A9) formula sartzen duzula 10. errenkadan. Eskuineko zutabearen (B zutabearen) batura kalkulatu nahi baduzu, kopiatu formula eskuineko gelaxkan. B zutabeko formularen kopia automatikoki egokituko da eta =SUM(B1:B9) bihurtuko.

Emaguzu laguntza!