国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

目次
Quick Links
The SUBTOTAL Function
How to Use the SUBTOTAL Function in Microsoft Excel
The AGGREGATE Function
How to Use Excel's AGGREGATE Function to Refine Calculations
How to Hide Cells, Rows, and Columns in Excel

Microsoft Excelのサブテルと集合體

May 24, 2025 am 12:29 AM

  • The SUBTOTAL Function
  • The AGGREGATE Function
  • Summary: SUBTOTAL vs. AGGREGATE in Excel

For many years, I used the SUBTOTAL function in Microsoft Excel to create easily visible subtotals at the top of my worksheets. However, when I encountered AGGREGATE, this became my go-to function for achieving the same result but with more flexibility.

Before I explain further, let's remind ourselves how the SUBTOTAL function works.

The SUBTOTAL Function

Microsoft Excel's SUBTOTAL function is quite simple to use. It lets you perform subtotal calculations for ranges of cells, and you can decide whether you want to include manually hidden rows in the result.

SUBTOTAL vs. AGGREGATE in Microsoft Excel

Related
How to Use the SUBTOTAL Function in Microsoft Excel

See the subtotal of values with this simple Excel function.

However, rows that are filtered out are always excluded, and the SUBTOTAL function doesn't work if there are errors in the data, unless you nest it within the IFERROR function. What's more, SUBTOTAL only supports 11 functions, limiting its use if you want to perform more complex statistical calculations.

Here's the syntax:

=SUBTOTAL(<em>a</em>,<em>b</em>,<em>c</em>)

where

  • a (required) is a number that represents the function you want to use in the calculation,
  • b (required) is the first range of cells to subtotal, and
  • c (optional) represents the first of up to 252 more ranges to subtotal, each separated by a comma.

For argument a, 1 or 101 = AVERAGE, 2 or 102 = COUNT, 3 or 103 = COUNTA, 4 or 104 = MAX, 5 or 105 = MIN, 6 or 106 = PRODUCT, 7 or 107 = STDEV, 8 or 108 = STDEV.P, 9 or 109 = SUM, 10 or 110 = VAR, and 11 or 111 = VARP.

How to Sort and Filter Data in Excel

Microsoft Excel has power sorting and filtering options. Here's how to use them in your spreadsheet.

In this final example, you can see that the SUBTOTAL function returns an error if there's an error in the range.

SUBTOTAL vs. AGGREGATE in Microsoft Excel

To avoid these issues, you can use the AGGREGATE function instead.

The AGGREGATE Function

The AGGREGATE function is similar to the SUBTOTAL function, but there are more options for the type of aggregation you want to create. Also, you have a wider choice of things you can exclude from the result, and you can make Excel ignore errors in your data.

In other words, compared to the SUBTOTAL function, AGGREGATE is more powerful and flexible.

The AGGREGATE function has two syntaxes—one for references and one for arrays—though you don't need to worry about which one you're using, as Excel selects the relevant one depending on the arguments you input.

SUBTOTAL vs. AGGREGATE in Microsoft Excel

Related
How to Use Excel's AGGREGATE Function to Refine Calculations

Miss out hidden rows, errors, or nested functions in your formulas.

The syntax for the reference form of the AGGREGATE function is:

=AGGREGATE(<em>a</em>,<em>b</em>,<em>c</em>,<em>d</em>)

where

  • a (required) is a number that represents the function you want to use in the calculation,
  • b (required) is a number that defines what you want the calculation to ignore,
  • c (required) is the range of cells on which the function will be applied, and
  • d (optional) is the first of up to 252 additional arguments that specify further ranges.

If you're working with arrays, the AGGREGATE function follows a slightly different syntax:

=AGGREGATE(<em>a</em>,<em>b</em>,<em>c</em>,<em>d</em>)

where

  • a (required) is a number that represents the function you want to use in the calculation,
  • b (required) is a number that defines what you want the calculation to ignore,
  • c (required) is the array of values on which the function will be applied, and
  • d is the second argument required by array functions like LARGE, SMALL, PERCENTILE.INC, and others.

The first difference to note between SUBTOTAL and AGGREGATE is that the latter has more options for argument a: 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, and 19 = QUARTILE.EXC.

However, where AGGREGATE really trumps SUBTOTAL is in its ability to exclude certain values from the result (argument b):

Number

What Is Ignored

0

Nested SUBTOTAL and AGGREGATE functions

1

Hidden rows, and nested SUBTOTAL and AGGREGATE functions

2

Errors, and nested SUBTOTAL and AGGREGATE functions

3

Hidden rows, error values, and nested SUBTOTAL and AGGREGATE functions

4

Nothing

5

Hidden rows only

6

Errors only

7

Hidden rows and errors

So, let's see it in action.

In this example, typing:

=AGGREGATE(1,7,Team_Scores[Score])

into cell E2 returns the average (argument a = 1) of the visible values in column B, ignoring the hidden value in row 8 and the error in row 7 (argument b = 7).

SUBTOTAL vs. AGGREGATE in Microsoft Excel

SUBTOTAL vs. AGGREGATE in Microsoft Excel

Related
How to Hide Cells, Rows, and Columns in Excel

There may be times when you want to hide information in certain cells or hide entire rows or columns in an Excel worksheet.

You wouldn't be able to get the same result using the SUBTOTAL function alone in this scenario, as it can't overlook errors without being nested within an IFERROR formula.

Summary: SUBTOTAL vs. AGGREGATE in Excel

Here's a summary of Microsoft Excel's SUBTOTAL and AGGREGATE functions:

Feature

SUBTOTAL

AGGREGATE

Suitable for straightforward aggregations

Y

Y

Suitable for complex statistical aggregations

N

Y

Number of functions supported

11

19

Can include or exclude manually hidden rows

Y

Y

Can include or exclude filtered rows

N

Y

Can ignore errors

N

Y

Can ignore nested SUBTOTAL or AGGREGATE results

Y

Y

Offers further options for array functions

N

Y


Even if you think you've settled on a function that works for you, always double-check that there isn't another function that does the job even better! Microsoft often introduces new functions that are upgrades from older ones—for example, I now use XLOOKUP instead of VLOOKUP, and XMATCH is much more user-friendly than MATCH.

以上がMicrosoft Excelのサブテルと集合體の詳細(xì)內(nèi)容です。詳細(xì)については、PHP 中國(guó)語(yǔ) Web サイトの他の関連記事を參照してください。

このウェブサイトの聲明
この記事の內(nèi)容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰屬します。このサイトは、それに相當(dāng)する法的責(zé)任を負(fù)いません。盜作または侵害の疑いのあるコンテンツを見(jiàn)つけた場(chǎng)合は、admin@php.cn までご連絡(luò)ください。

ホットAIツール

Undress AI Tool

Undress AI Tool

脫衣畫(huà)像を無(wú)料で

Undresser.AI Undress

Undresser.AI Undress

リアルなヌード寫(xiě)真を作成する AI 搭載アプリ

AI Clothes Remover

AI Clothes Remover

寫(xiě)真から衣服を削除するオンライン AI ツール。

Clothoff.io

Clothoff.io

AI衣類リムーバー

Video Face Swap

Video Face Swap

完全無(wú)料の AI 顔交換ツールを使用して、あらゆるビデオの顔を簡(jiǎn)単に交換できます。

ホットツール

メモ帳++7.3.1

メモ帳++7.3.1

使いやすく無(wú)料のコードエディター

SublimeText3 中國(guó)語(yǔ)版

SublimeText3 中國(guó)語(yǔ)版

中國(guó)語(yǔ)版、とても使いやすい

ゼンドスタジオ 13.0.1

ゼンドスタジオ 13.0.1

強(qiáng)力な PHP 統(tǒng)合開(kāi)発環(huán)境

ドリームウィーバー CS6

ドリームウィーバー CS6

ビジュアル Web 開(kāi)発ツール

SublimeText3 Mac版

SublimeText3 Mac版

神レベルのコード編集ソフト(SublimeText3)

Excel Pivotテーブルで月ごとにグループ化する方法 Excel Pivotテーブルで月ごとにグループ化する方法 Jul 11, 2025 am 01:01 AM

Excel Pivotテーブルで月ごとにグループ化するには、日付が正しくフォーマットされていることを確認(rèn)し、ピボットテーブルを挿入して日付フィールドを追加し、最後にグループを右クリックして「月」集約を選択する必要があります。問(wèn)題が発生した場(chǎng)合は、標(biāo)準(zhǔn)の日付形式であるかどうかを確認(rèn)し、データ範(fàn)囲が妥當(dāng)かどうかを確認(rèn)し、數(shù)値形式を調(diào)整して月を正しく表示します。

Microsoft 365でAutoSaveを修正する方法 Microsoft 365でAutoSaveを修正する方法 Jul 07, 2025 pm 12:31 PM

クイックリンクファイルの自動(dòng)保存ステータスを確認(rèn)します

Outlookを暗いテーマ(モード)に変更してオフにする方法 Outlookを暗いテーマ(モード)に変更してオフにする方法 Jul 12, 2025 am 09:30 AM

このチュートリアルでは、さまざまなOutlookアプリケーションで明るいモードとダークモードを切り替える方法と、白い読書(shū)ペインを黒いテーマに保つ方法を示しています。 夜遅くに電子メールを頻繁に操作すると、Outlook Dark Modeは目の緊張を軽減し、

Excelの印刷時(shí)にすべてのページでヘッダー行を繰り返す方法 Excelの印刷時(shí)にすべてのページでヘッダー行を繰り返す方法 Jul 09, 2025 am 02:24 AM

Excelが印刷するときにページごとに繰り返しヘッダーを設(shè)定するには、「トップタイトル行」機(jī)能を使用します。特定の手順:1。Excelファイルを開(kāi)き、[ページレイアウト]タブをクリックします。 2。[タイトルの印刷]ボタンをクリックします。 3.ポップアップウィンドウで「トップタイトル行」を選択し、繰り返す行(行1など)を選択します。 4. [OK]をクリックして設(shè)定を完了します。メモには以下が含まれます。プレビューまたは実際の印刷の印刷のみ、テキストの表示に影響を與えるにはあまりにも多くのタイトル行を選択しないでください。異なるワークシートを個(gè)別に設(shè)定する必要があります。Excelonlineはこの機(jī)能をサポートせず、ローカルバージョン、Macバージョンの操作は類似していますが、インターフェイスはわずかに異なります。

WindowsPCでスクリーンショットする方法:Windows10と11 WindowsPCでスクリーンショットする方法:Windows10と11 Jul 23, 2025 am 09:24 AM

PCでスクリーンショットを撮りたいと思うことがよくあります。サードパーティツールを使用していない場(chǎng)合は、手動(dòng)で行うことができます。最も明白な方法は、PRT SCボタン/またはSCRNボタンを印刷する(畫(huà)面キーを印刷)押して、PC畫(huà)面全體をつかむことです。あなたがやる

録音を満たしているチームはどこで救われていますか? 録音を満たしているチームはどこで救われていますか? Jul 09, 2025 am 01:53 AM

MicrosoftTeamSrecordingSarestoredInThecloud、gutivationalinedriveorsharepoint.1.RecordingsivesivelySaveTotheInitiatator’sonedriveina "recordings" folderunder "content。

Excelで2番目に大きな値を見(jiàn)つける方法 Excelで2番目に大きな値を見(jiàn)つける方法 Jul 08, 2025 am 01:09 AM

Excelで2番目に大きい値を見(jiàn)つけることは、大きな機(jī)能によって実裝できます。式は=大きい(範(fàn)囲、2)、範(fàn)囲はデータ領(lǐng)域です。最大値が繰り返し表示され、すべての最大値を除外する必要があり、2番目の最大値が見(jiàn)つかる場(chǎng)合、配列式= max(if(rangemax(range)、range))を使用できます。フォーミュラに慣れていないユーザーの場(chǎng)合、データを降順で並べ替えて2番目のセルを表示することで手動(dòng)で検索することもできますが、この方法は元のデータの順序を変更します。最初にデータをコピーしてから操作することをお?jiǎng)幛幛筏蓼埂?/p>

ExcelでWebからデータを取得する方法 ExcelでWebからデータを取得する方法 Jul 11, 2025 am 01:02 AM

topulldatafromthewebintoexcelewithotoding、usepowerqueryforturturedhtmltablesはgetdata> getdata> fromewebandselectingthedesiredtable;

See all articles