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

Table des matières
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
Maison Tutoriel logiciel Logiciel de bureau Subtotal vs agrégat dans Microsoft Excel

Subtotal vs agrégat dans 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.

Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!

Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefa?on, veuillez contacter admin@php.cn

Outils d'IA chauds

Undress AI Tool

Undress AI Tool

Images de déshabillage gratuites

Undresser.AI Undress

Undresser.AI Undress

Application basée sur l'IA pour créer des photos de nu réalistes

AI Clothes Remover

AI Clothes Remover

Outil d'IA en ligne pour supprimer les vêtements des photos.

Clothoff.io

Clothoff.io

Dissolvant de vêtements AI

Video Face Swap

Video Face Swap

échangez les visages dans n'importe quelle vidéo sans effort grace à notre outil d'échange de visage AI entièrement gratuit?!

Article chaud

Outils chauds

Bloc-notes++7.3.1

Bloc-notes++7.3.1

éditeur de code facile à utiliser et gratuit

SublimeText3 version chinoise

SublimeText3 version chinoise

Version chinoise, très simple à utiliser

Envoyer Studio 13.0.1

Envoyer Studio 13.0.1

Puissant environnement de développement intégré PHP

Dreamweaver CS6

Dreamweaver CS6

Outils de développement Web visuel

SublimeText3 version Mac

SublimeText3 version Mac

Logiciel d'édition de code au niveau de Dieu (SublimeText3)

Sujets chauds

Tutoriel PHP
1502
276
Comment se regrouper par mois dans Excel Pivot Table Comment se regrouper par mois dans Excel Pivot Table Jul 11, 2025 am 01:01 AM

Le regroupement par mois dans une table de pivot Excel vous oblige à vous assurer que la date est formatée correctement, puis à insérer la table de pivot et à ajouter le champ de date, et enfin cliquez avec le bouton droit sur le groupe pour sélectionner l'agrégation "mois". Si vous rencontrez des problèmes, vérifiez s'il s'agit d'un format de date standard et que la plage de données est raisonnable et ajustez le format numéro pour afficher correctement le mois.

Comment changer Outlook en thème sombre (mode) et l'éteindre Comment changer Outlook en thème sombre (mode) et l'éteindre Jul 12, 2025 am 09:30 AM

Le tutoriel montre comment basculer le mode clair et sombre dans différentes applications Outlook et comment garder un volet de lecture blanc dans le thème noir. Si vous travaillez fréquemment avec votre e-mail tard dans la nuit, Outlook Dark peut réduire la fatigue oculaire et

Comment répéter les lignes d'en-tête sur chaque page lors de l'impression Excel Comment répéter les lignes d'en-tête sur chaque page lors de l'impression Excel Jul 09, 2025 am 02:24 AM

Pour configurer les en-têtes répétitifs par page lorsque Excel imprime, utilisez la fonction "Top Title Row". étapes spécifiques: 1. Ouvrez le fichier Excel et cliquez sur l'onglet "Page de mise en page"; 2. Cliquez sur le bouton "Imprimer le titre"; 3. Sélectionnez "Top Title Line" dans la fenêtre contextuelle et sélectionnez la ligne à répéter (comme la ligne 1); 4. Cliquez sur "OK" pour terminer les paramètres. Les notes incluent: uniquement les effets visibles lors de l'impression de prévisualisation ou d'impression réelle, évitez de sélectionner trop de lignes de titre pour affecter l'affichage du texte, les différentes feuilles de calcul doivent être définies séparément, Excelonline ne prend pas en charge cette fonction, nécessite la version locale, le fonctionnement de la version MAC est similaire, mais l'interface est légèrement différente.

Comment capturer la capture sur Windows PCS: Windows 10 et 11 Comment capturer la capture sur Windows PCS: Windows 10 et 11 Jul 23, 2025 am 09:24 AM

Il est courant de vouloir prendre une capture d'écran sur un PC. Si vous n'utilisez pas un outil tiers, vous pouvez le faire manuellement. Le moyen le plus évident est d'appuyer sur le bouton PRT SC / ou d'imprimer le bouton SCRN (touche d'écran d'impression), qui saisira l'ensemble de l'écran PC. Tu fais

Où les équipes se réunissent-elles enregistrées? Où les équipes se réunissent-elles enregistrées? Jul 09, 2025 am 01:53 AM

MicrosoftTeamsRecordingsArestoredIntheCloud, généralement INOONEDRIVEORSHAREPOINT.1.Recordings, insuffisant de manière "

Comment trouver la deuxième plus grande valeur dans Excel Comment trouver la deuxième plus grande valeur dans Excel Jul 08, 2025 am 01:09 AM

La recherche de la deuxième plus grande valeur dans Excel peut être implémentée par grande fonction. La formule est = grande (plage, 2), où la plage est la zone de données; Si la valeur maximale appara?t à plusieurs reprises et que toutes les valeurs maximales doivent être exclues et que la deuxième valeur maximale est trouvée, vous pouvez utiliser la formule du tableau = max (if (RangeMax (plage), plage))), et l'ancienne version d'Excel doit être exécutée par Ctrl Shift Entrée; Pour les utilisateurs qui ne connaissent pas les formules, vous pouvez également rechercher manuellement en triant les données par ordre décroissant et en affichant la deuxième cellule, mais cette méthode modifiera l'ordre des données d'origine. Il est recommandé de copier d'abord les données, puis de fonctionner.

Comment obtenir des données sur le Web dans Excel Comment obtenir des données sur le Web dans Excel Jul 11, 2025 am 01:02 AM

TopulldatafromThewebintoExcelceditcoding, usepowerQueryForstructuredhtmlTablesByenteringheurLunderData> getData> FromWebandSelectingTheDeSiredTable;

Comment combiner plusieurs documents de mots Comment combiner plusieurs documents de mots Jul 08, 2025 am 12:36 AM

Pour fusionner plusieurs documents de mots, trois méthodes peuvent être adoptées: Premièrement, utilisez la fonction "insérer" intégrée de Word en fonction des documents avec un format unifié et un petit nombre d'entre eux; Deuxièmement, copiez et collez et sélectionnez "conserver le texte" pour éviter les conflits de format, ce qui convient aux situations où la composition doit être contr?lée de manière flexible; Troisièmement, utilisez troisièmement, utilisez des outils tiers tels que PowerAutomate, WPSOffice ou outils en ligne pour obtenir un traitement par lots, ce qui convient à la fusion fréquente de grandes quantités de documents. Chaque méthode a ses propres scénarios applicables et doit être sélectionné en fonction des besoins réels.

See all articles