Công thức mảng ô đơn trong Excel

In this lesson, we will get acquainted with a single-cell array formula and analyze a good example of its use in Excel. If you are still quite unfamiliar with array formulas, we recommend that you first turn to the lesson, which describes the basic principles of working with arrays in Excel.

Applying a Single Cell Array Formula

If you read the lesson about multi-cell array formulas, then the figure below shows a table already familiar to you. This time our task is to calculate the total cost of all goods.

Of course, we can do the classic way and simply sum the values ​​from the range of cells D2:D6. As a result, you will get the desired result:

Công thức mảng ô đơn trong Excel

But there are situations when doing intermediate calculations (in our case, this is the range D2:D6) does not make any sense, is inconvenient or impossible at all. In this case, a single-cell array formula comes to the rescue, which will allow you to calculate the result with just one formula. To enter such an array formula in Excel, follow these steps:

  1. Select the cell where you want the result to appear:Công thức mảng ô đơn trong Excel
  2. Nhập công thức sau:Công thức mảng ô đơn trong Excel
  3. Since this is an array formula, the input must be completed by pressing the combination Ctrl + Shift + Enter. As a result, we will get a result identical to the one calculated earlier.Công thức mảng ô đơn trong Excel

How does this array formula work?

  1. This formula first multiplies the corresponding values ​​of the two ranges:Công thức mảng ô đơn trong Excel
  2. And based on the received data, it creates a new vertical array that exists only in the computer’s RAM:Công thức mảng ô đơn trong Excel
  3. Sau đó, hàm TÓM TẮT sums the values ​​of this array and returns the result.Công thức mảng ô đơn trong Excel

Công thức mảng – This is one of the most complex, and at the same time useful, tools in Microsoft Excel. Single-cell array formulas allow you to perform calculations that cannot be done in any other way. In the following lessons, we will look at several such examples.

So, in this lesson, you got acquainted with single-cell array formulas and analyzed an example of solving a simple problem. If you want to learn even more about arrays in Excel, read the following articles:

  • Giới thiệu về công thức mảng trong Excel
  • Công thức mảng nhiều ô trong Excel
  • Mảng hằng số trong Excel
  • Chỉnh sửa công thức mảng trong Excel
  • Áp dụng công thức mảng trong Excel
  • Các phương pháp chỉnh sửa công thức mảng trong Excel

Bình luận