Bài 162: Cách sử dụng hàm INDIRECT trong Excel

hoangdung593

New member
#Excel #Function #Indirect #Formula #googlesheets ## Cách sử dụng chức năng gián tiếp trong Excel

Hàm gián tiếp trong Excel cho phép bạn tham chiếu một ô hoặc phạm vi ô bằng tên của nó, thay vì theo địa chỉ ô của nó.Điều này có thể hữu ích để tạo các công thức động mà dữ liệu tham chiếu được lưu trữ trong các phạm vi được đặt tên hoặc để tạo các công thức dễ đọc và hiểu hơn.

Cú pháp của hàm gián tiếp như sau:

`` `
= Gián tiếp (tham khảo)
`` `

Trong đó `tham chiếu` là chuỗi văn bản chứa tên của ô hoặc phạm vi của ô mà bạn muốn tham chiếu.

Ví dụ: công thức sau sẽ trả về giá trị của ô trong cột A, hàng 1:

`` `
= Gián tiếp ("A1")
`` `

Bạn cũng có thể sử dụng chức năng gián tiếp để tham chiếu một loạt các ô.Để làm điều này, chỉ cần đặt phạm vi của các ô trong ngoặc xoăn.Ví dụ, công thức sau sẽ trả về các giá trị của các ô trong phạm vi A1: A5:

`` `
= Gián tiếp ("A1: A5")
`` `

Hàm gián tiếp có thể được sử dụng trong bất kỳ ô nào trong bảng tính và nó có thể được sử dụng cùng với các chức năng khác để tạo ra các công thức mạnh mẽ và động.

Dưới đây là một số ví dụ về cách bạn có thể sử dụng chức năng gián tiếp trong Excel:

* Để tạo một công thức tham chiếu giá trị của một ô trong một bảng tính khác, bạn có thể sử dụng cú pháp sau:

`` `
= Gián tiếp ("worksheetName! CellReference")
`` `

Ví dụ: công thức sau sẽ trả về giá trị của ô trong ô A1 của bảng tính "Sheet2":

`` `
= Gián tiếp ("Sheet2! A1")
`` `

* Để tạo một công thức tham chiếu giá trị của một ô trong một phạm vi được đặt tên, bạn có thể sử dụng cú pháp sau:

`` `
= Gián tiếp ("Được đặt tên làRange")
`` `

Ví dụ: công thức sau đây sẽ trả về giá trị của ô trong phạm vi được đặt tên là "MyData".

`` `
= Gián tiếp ("mydata")
`` `

* Để tạo một công thức tham chiếu giá trị của một ô trong phạm vi động, bạn có thể sử dụng cú pháp sau:

`` `
= Gián tiếp (bù (tham chiếu, hàng, cột)))
`` `

Trong đó `tham chiếu` là ô hoặc phạm vi ô mà bạn muốn sử dụng làm điểm bắt đầu cho dải động,` hàng` là số lượng hàng để bù phạm vi và `cột` là số cột để bùphạm vi bởi.

Ví dụ: công thức sau đây sẽ trả về các giá trị của các ô trong phạm vi A1: A10, bắt đầu bằng ô trong hàng 2 và cột 3:

`` `
= Gián tiếp (Offset ("A1: A10", 2,3)))
`` `

Hàm gián tiếp là một công cụ mạnh mẽ có thể được sử dụng để tạo ra các công thức động và linh hoạt trong Excel.Bằng cách hiểu cách sử dụng chức năng gián tiếp, bạn có thể tăng đáng kể năng suất và sức mạnh của bảng tính của bạn.

## Tài nguyên bổ sung

* [Trợ giúp Microsoft Excel: Hàm gián tiếp] (https://support.microsoft.com/en-us/office/indirect-form
* [Exceljet: Hàm gián tiếp] (https://www.exceljet.net/excel-fctions/indirect-function)
* [Hướng dẫn: Hàm gián tiếp] (https://www.tutorialspoint.com/excel/excel_indirect_function.htm)
=======================================
#Excel #Function #Indirect #Formula #googlesheets ## How to use the Indirect function in Excel

The Indirect function in Excel allows you to reference a cell or range of cells by its name, rather than by its cell address. This can be useful for creating dynamic formulas that reference data that is stored in named ranges, or for creating formulas that are easier to read and understand.

The syntax of the Indirect function is as follows:

```
=INDIRECT(reference)
```

Where `reference` is the text string that contains the name of the cell or range of cells that you want to reference.

For example, the following formula would return the value of the cell in column A, row 1:

```
=INDIRECT("A1")
```

You can also use the Indirect function to reference a range of cells. To do this, simply enclose the range of cells in curly brackets. For example, the following formula would return the values of the cells in the range A1:A5:

```
=INDIRECT("A1:A5")
```

The Indirect function can be used in any cell in a worksheet, and it can be used in conjunction with other functions to create powerful and dynamic formulas.

Here are some examples of how you can use the Indirect function in Excel:

* To create a formula that references the value of a cell in a different worksheet, you can use the following syntax:

```
=INDIRECT("WorksheetName!CellReference")
```

For example, the following formula would return the value of the cell in cell A1 of the worksheet "Sheet2":

```
=INDIRECT("Sheet2!A1")
```

* To create a formula that references the value of a cell in a named range, you can use the following syntax:

```
=INDIRECT("NamedRange")
```

For example, the following formula would return the value of the cell in the named range "MyData".

```
=INDIRECT("MyData")
```

* To create a formula that references the value of a cell in a dynamic range, you can use the following syntax:

```
=INDIRECT(OFFSET(Reference,Rows,Columns))
```

Where `Reference` is the cell or range of cells that you want to use as the starting point for the dynamic range, `Rows` is the number of rows to offset the range by, and `Columns` is the number of columns to offset the range by.

For example, the following formula would return the values of the cells in the range A1:A10, starting with the cell in row 2 and column 3:

```
=INDIRECT(OFFSET("A1:A10",2,3))
```

The Indirect function is a powerful tool that can be used to create dynamic and flexible formulas in Excel. By understanding how to use the Indirect function, you can greatly increase your productivity and the power of your spreadsheets.

## Additional Resources

* [Microsoft Excel Help: Indirect Function](https://support.microsoft.com/en-us/office/indirect-function-f83a3449-8f53-4837-a537-b72095053e31)
* [ExcelJet: The Indirect Function](https://www.exceljet.net/excel-functions/indirect-function)
* [TutorialsPoint: Indirect Function](https://www.tutorialspoint.com/excel/excel_indirect_function.htm)
 
Làm thế nào tôi có thể sử dụng chức năng gián tiếp để tham chiếu một ô trong một sổ làm việc khác?
 
Join ToolsKiemTrieuDoGroup
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock