Difference between revisions of "FR/Documentation/Calc:Fonction SOUS.TOTAL"
From Apache OpenOffice Wiki
< FR  Documentation
OOoWikiBot (Talk  contribs) m (Documentation/FR/Calc:Fonction SOUS.TOTAL moved to FR/Documentation/Calc:Fonction SOUS.TOTAL: Robot: moved page) 

(No difference)

Revision as of 12:59, 10 December 2008
SOUS.TOTAL
Renvoi la valeur SOMME, MOYENNE, STDEV, etc. sur des données filtrées.
Syntaxe:
SOUS.TOTAL(fonction; plage)
 plage is the overall range from which cells for calculation are selected by filtering.
 fonction est un nombre qui designe la fonction a calculer comme suit :
fonction  Fonction 

1  AVERAGE 
2  COUNT 
3  COUNTA 
4  MAX 
5  MIN 
6  PRODUCT 
7  STDEV 
8  STDEVP 
9  SUM 
10  VAR 
11  VARP 
 If range contains other SUBTOTAL functions they are ignored to avoid double counting.
Exemple:
You have a table in the cell range A1:B5 containing cities in column A and accompanying figures in column B. You have used an AutoFilter so that you only see rows containing the city Hamburg. You want to see the sum of the figures that are displayed; that is, just the subtotal for the filtered rows.
SUBTOTAL(9; B1:B5)
 returns the desired result.
See also:
AVERAGE, COUNT, COUNTA, MAX, MIN, PRODUCT, STDEV, STDEVP, SUM, VAR, VARP,
Filtering Cell Ranges