Miten käytän funktiota AGGREGATE Excelissä?
Performs aggregate calculations with ignore options. Funktioon AGGREGATE kirjoitetaan Function number, Options, Target range tässä järjestyksessä, ja valinnaiset argumentit lisätään tarpeen mukaan.
Performs aggregate calculations with ignore options.
AGGREGATE(function_num, options, array, [k])function_num
PakollinenAGGREGATE operation code: 1=AVERAGE, 2=COUNT, 3=COUNTA, 4=MAX, 5=MIN, 6=PRODUCT, 7=STDEV.S, 8=STDEV.P, 9=SUM, 10=VAR.S, 11=VAR.P, 12=MEDIAN, 13=MODE.SNGL, 14=LARGE, 15=SMALL, 16=PERCENTILE.INC, 17=QUARTILE.INC, 18=PERCENTILE.EXC, 19=QUARTILE.EXC.
options
PakollinenIgnore options: 0/omitted=ignore nested SUBTOTAL/AGGREGATE, 1=ignore hidden rows + nested, 2=ignore errors + nested, 3=ignore hidden rows + errors + nested, 4=ignore nothing, 5=ignore hidden rows, 6=ignore errors, 7=ignore hidden rows + errors.
array
PakollinenSpecify a reference range. You can drag or click start/end cells.
k
ValinnainenEnter a numeric value.
Use AGGREGATE to aggregate Sales in column D with 9 (SUM) while ignoring its error value (6 (ignore error values)).
| # | AProduct ID | BProduct Name | CCategory | DSales |
|---|---|---|---|---|
| 2 | P001 | Apple | Food | 1200 |
| 3 | P002 | Banana | Food | #DIV/0! |
| 4 | P003 | Notebook | Stationery | 450 |
| 5 | P004 | Pen | Stationery | 300 |
| 6 | P005 | Grapes | Food | 1500 |
| 7 | P006 | Ruler | Stationery | 250 |
| 8 | P007 | Peach | Food | 860 |
Näin käytät sitä (kaava)
=AGGREGATE(9, 6, D2:D8)Tulos
4560
Performs aggregate calculations with ignore options. Funktioon AGGREGATE kirjoitetaan Function number, Options, Target range tässä järjestyksessä, ja valinnaiset argumentit lisätään tarpeen mukaan.
Tämän sivun harjoituspainikkeesta aloitat suoraan tehtävät funktiosta AGGREGATE.
Tärkeimmät argumentit ovat Function number, Options, Target range, Rank. Aloita pakollisista argumenteista ja lisää valinnaiset tarpeen mukaan.