AY
This function returns an aggregate result of the calculations in the range. You can use different aggregate functions listed below. The Aggregate function enables you to omit hidden rows, errors, SUBTOTAL and other AGGREGATE function results in the calculation.
AGGREGATE function is applied to vertical ranges of data with activated AutoFilter. If AutoFilter is not activated, automatic recalculation of the function result does not work for newly hidden rows. It is not supposed to work with horizontal ranges, however it can be applied to them as well, but with limitations. In particular, the AGGREGATE function applied to a horizontal data range does not recognize hiding columns, however correctly omits errors and results of SUBTOTAL and other AGGREGATE functions embedded into the row. |
Sözdizimi
AGGREGATE(Fonksiyon; Seçenek; Ref1 [; Ref2 [; …]])
veya
AGGREGATE(Fonksiyon; Seçenek; Dizi [; k])
Fonksiyon – zorunlu bir ifadedir. Aşağıdaki tabloya göre 1 ile 19 arasında değer alabilen bir fonksiyon dizini veya bir hücreye başvuru.
İşlev dizini |
Uygulanan fonksiyon |
1 |
ORTALAMA |
2 |
BAĞ_DEĞ_SAY |
3 |
BAĞ_DEĞ_DOLU_SAY |
4 |
MAK |
5 |
MİN |
6 |
ÇARPIM |
7 |
STDSAPMA.S |
8 |
STDSAPMA.P |
9 |
TOPLA |
10 |
VAR.S |
11 |
VAR.P |
12 |
ORTANCA |
13 |
ENÇOK_OLAN.TEK |
14 |
BÜYÜK |
15 |
KÜÇÜK |
16 |
YÜZDEBİRLİK.HDL |
17 |
DÖRTTEBİRLİK.DHL |
18 |
YÜZDEBİRLİK.HRC |
19 |
DÖRTTEBİRLİK.HRC |
Seçenek – zorunlu bağımsız değişken. Hücreye yapılan 0 ile 7 aralığında bir dizin seçeneği veya başvuru, belirlenen işlev için mevcut aralıkta nelerin yoksayılacağını belirler.
Seçenek dizini |
Seçenek uygulandı |
0 |
Sadece iç içe ALTTOPLAM ve TOPLAM fonksiyonlarını yoksay |
1 |
Sadece gizli satırları, iç içe ALTTOPLAM ve TOPLAM fonksiyonlarını yoksay |
2 |
Sadece hataları, iç içe ALTTOPLAM ve TOPLAM fonksiyonlarını yoksay |
3 |
Sadece gizli satırları, hataları, iç içe ALTTOPLAM ve TOPLAM fonksiyonlarını yoksay |
4 |
Hiçbir şeyi yoksayma |
5 |
Sadece gizli satırları yoksay |
6 |
Sadece hataları yoksay |
7 |
Sadece gizli satırları ve hataları yoksay |
Ref1 – obligatory argument. The first numeric argument (if the range is set by a list of values inside the function) or a reference to a cell that contains it.
Ref2, 3, ... – optional. A numeric argument or a reference to a cell (up to 253 arguments), for which you need the aggregate value.
Array – obligatory argument. The array can be specified by the boundaries of the range, the name of the named range or the column label.
Sütun etiketlerini kullanmak için "Sütunları ve satırları otomatik olarak bul" işlevinin etkinleştirilmesi gerekir. |
k – obligatory argument for the following functions: LARGE, SMALL, PERCENTILE.INC, QUARTILE.INC, PERCENTILE.EXC, QUARTILE.EXC. It is a numeric argument, which must correspond to the second argument of these functions.
Örnekler
A |
B |
C |
|
1 |
SütunBir |
Sütunİki |
SütunÜç |
2 |
34 |
11 |
12 |
3 |
10 |
56 |
35 |
4 |
#BÖLÜ/0! |
5 |
3 |
5 |
20 |
8 |
1 |
6 |
0 |
8 |
9 |
7 |
#DEĞER! |
20 |
21 |
8 |
5 |
7 |
8 |
9 |
14 |
0 |
5 |
=AGGREGATE(4;2;A2:A9)
Returns maximum value for the range A2:A9 = 34, whereas =MAX(A2:A9) returns the error Err:511.
=AGGREGATE(9;5;A5:C5)
Returns sum for the range A5:C5 = 29, even if some of the columns are hidden.
=AGGREGATE(9;5;B2:B9)
Returns sum of the column B = 115. If any row is hidden, the function omit its value, for example if the 7th row is hidden, the function returns 95.
İşlevi 3 boyutlu bir aralıkla uygulamak istiyorsanız, bu örnek nasıl yapılacağını gösterir.
=AGGREGATE(13;3;Sheet1.B2:B9:Sheet3.B2:B9)
The function returns mode of the values of second columns through sheets 1:3 (that have the same data) = 8.
Formüldeki her bağımsız değişken için bir hücreye veya aralığa başvuru kullanabilirsiniz. Aşağıdaki örnek, nasıl çalıştığını gösterir. Ayrıca, bir dizi belirtmek için sütun etiketlerini kullanabileceğinizi gösterir.
=AGGREGATE(E3;E5;'ColumnOne')
If E3 = 13 and E5 = 5, the function returns mode of the first column = 10.