Адресҳо ва Ҳаволаҳо, Мутлақ ва Нисбӣ

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


Операторҳои ҳавола

Ин Операторҳо диапазони чашмакҳоро якҷоя месозанд.

Range has the highest precedence, then intersection, and then finally union.

Оператор

Ном

Example

:

Диапазон

A1:C108, A:D or 3:13

!

Бурриш

SUM(A1:B6!B5:C12)

Суммаи ҳама чашмакҳои дар бурришбударо ҳисоб мекунад.

~

Concatenation or union

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.


Адресмонии Нисбӣ

Чашмак дар сутуни A, сатри 1 ҳамчун A1 адрес дорад. Шум метавонед чашмакҳои пайдарпай ҷойгиршударо дар намуди қитъа нависта метавонед. Барои мисол қитъаи чоркунҷаи A1:B2.

Бо ин васила шумо адреси нисбии A1:B2 сохтед. Нисбӣ маънои онро дорад, ки формула ҳангоми нусхагузорӣ тағир меёбад.

Адреси Мутлақ

Absolute referencing is the opposite of relative addressing. A dollar sign is placed before each letter and number in an absolute reference, for example, $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 shows the references to a formula. If, for example, you click the formula =SUM(A1:C5;D15:D24) in a cell, the two referenced areas in the sheet will be highlighted in color. For example, the formula component "A1:C5" may be in blue and the cell range in question bordered in the same shade of blue. The next formula component "D15:D24" can be marked in red in the same way.

Адресҳои Мутлақ ва Нисбӣ кай истифода карда Шаванд

Фарқияти адреси нисбӣ чист? Пиндоред, ки дар чашмаки E1 шумо ҳосили ҷамъи A1:B2ро ҳисоб кардан мехоҳед. Формулаи E1 ин аст: =SUM(A1:B2). Агар баъдтар шумо хоҳед, ки сутуни навро пеш аз A илова намоед, элементҳои шумо ҷамъкарда акнун дар B1:C2 ва формула дар F1 мебошад, на дар E1. Пас аз иловакунии сутуни нав, шуморо лозим меояд, ки формулаҳоро санҷида, онҳоро ислоҳ намоед.

Хушбахтона, LibreOffice ин амалро иҷро менамояд. Пас аз иловакунии сутуни A, формулаи =SUM(A1:B2) автоматӣ ба =SUM(B1:C2) табдил дода мешавад. Рақами сатрҳо низ муттаносибан тағир меёбанд, агар сатри нави 1 илова шавад. Адресҳои мутлақ ва нисбӣ дар LibreOffice Calc ҳамеша танзим карда мешаванд, агар кӯчиш ба амал ояд. Вале ҳангоми нусхагузорӣ ҳушёр бошед, зеро адресҳои мутлақ танзим карда намешаванд.

Адреси мутлақ барои ҳавола ба чашмаки муайян дар ҷадвал истифода мешавад. Агар ҳавола нисбӣ бошад ва шумо формуларо як чашмак поён нусхагузорӣ кунед, онгоҳ ҳавола низ ба як чашмак поён меравад.

Бар замми иловакунии сатр ва сутун ҳаволаҳо низ бо нусхагузории формула ба чашмаки дигар ҳаволаҳо танзим карда мешаванд. Пиндоред, ки формулаи =SUM(A1:A9) дар сатри 10 дохил кардаед. Агар хоҳед, ки ҳосили ҷамъи сутуни дар паҳлӯбударо иҷро намоед, формулаи мазкурро ба он чашмак нусхагузорӣ кунед. Нусхаи формула дар чашмаки B автоматӣ ба =SUM(B1:B9) танзим карда мешавад.

Please support us!