Download - Subtotal s
-
7/25/2019 Subtotal s
1/28
Boni MaysFayetteville Technical Community College
1 www.maysstuf.com
Subtotal Function
Returns a subtotal in a list or database. Subtotals can be insert automatically into sorted data using the Subtotal
grou on the !ata tab in "#cel $%%& and 'rom the !ata Menu in earlier versions o' "#cel.
Synta#( S)BTOT*+,'unction num- range or values
Function num is the number 1 to 11 ,includes hidden values or 1%1 to 111 ,ignores hidden values that seci/e
calculating subtotals within a list.
Function numbers
0ncludes hidden values 0gnores hidden values Function
1 1%1 *"R*2"
$ 1%$ CO)3T
4 1%4 CO)3T*
5 1%5 M*6
7 1%7 M03
8 1%8 9RO!)CT
& 1%& ST!"
: 1%: ST!"9
; 1%; S)M
1% 11% *R
11 111 *R9
0' there are other subtotals within the subtotal range- the subtotal values will be ignored. The Subtotal 'unction ig
in /lter results- regardless o' the 'unction number.
To insert subtotals- /rst sort the data with a rimary sort on the /eld you wish to create subtotals 'or. 0' you have
want to see totals by !eartment- then /rst sort on the !eartment /eld.
2o to the !etail
-
7/25/2019 Subtotal s
2/28
Boni MaysFayetteville Technical Community College
$ www.maysstuf.com
2o to the )se !ialog sheet to see in'ormation on how to use the 0nsert Subtotal dialog bo#.
-
7/25/2019 Subtotal s
3/28
Boni MaysFayetteville Technical Community College
4 www.maysstuf.com
ommand in the Outline
which 'unction to use in
ores rows not included
a !eartment /eld and
-
7/25/2019 Subtotal s
4/28
Boni MaysFayetteville Technical Community College
5 www.maysstuf.com
-
7/25/2019 Subtotal s
5/28
Boni MaysFayetteville Technical Community College
7 www.maysstuf.com
Inserting Subtotals
The subtotal dialog bo# is shown to the right. The /rst otion allows you to choose the /eld
on which you wish to base your subtotal. *t each change in( means that every time there
is a change in the data- a subtotal will be inserted. Ma=e sure you sort be'ore subtotaling.
>our rimary sort and *t each change in( choice should be the same column heading.
The second otion allows you to choose the 'unction you wish subtotal to insert.
The *dd subtotal to( section allows you to chec= the /elds to which you wish to aly that
subtotal.
By de'ault- Relace current subtotals and Summary below data will be chec=ed.
Remove the chec=mar= 'rom Relace current data to add a second subtotal to data that
already contains a subtotal.
Remove the chec= 'rom Summary below data to have the Summary aear above data.
Chec= 9age brea= between grous to have each subtotal section rint on a diferent age.
-
7/25/2019 Subtotal s
6/28
Boni MaysFayetteville Technical Community College
8 www.maysstuf.com
-
7/25/2019 Subtotal s
7/28
Boni MaysFayetteville Technical Community College
&
In this WorkbookOutline Bar
Worksheet Information About the Sheet!ata This wor=sheet contains the data used on each sheet in its original 'ormat- sorted by art number.
By tye
By det
*vg by !et
*vg Cost and Cnt by !et
ou can seesubtotal range includes rows hidden by the /lter- but that the total dislays the total o' only the tw
0n this wor=sheet- the Subtotal 'unction in cell F1: has been edited to use the ignore hidden values'unction number( AS)BTOT*+,1%;-F$(F1&. Rows 4 through 18 have been hidden and- as you can values are ignored by the subtotal 'unction.
0n cell F4%- the 'unction has not been changed. Rows $% through $: have been hidden- but their vaincluded in the F4% subtotal.
-
7/25/2019 Subtotal s
8/28
Boni Mays
Fayetteville Technical Community College: www.maysstuf.com
Part Number Type Department ost !uantity
1118574; RT !et $ 77.4% 17
1118575% *C !et 7 8;.7: &
11185751 *B !et 5 5&.:& 1
1118575$ RT !et $ 18.$$ 7
11185755 *C !et 7 75.48 1:
11185757 !" !et 7 &5.57 1411185758 !" !et $ 7$.%4 11
1118575& !" !et 5 $7.&5 :
1118575: !B !et 7 4;.1$ 15
1118575; !" !et 5 1%.;& 4
1118577% !B !et 1 1:.78 1$
11185771 RT !et $ 57.:% 1&
11185778 !" !et 5 ::.4; $
1118577& *B !et $ &;.%: 1$
1118577: !" !et 1 17.$: &
1118577; *C !et 1 $.&& 171118578% RT !et 7 5%.;8 %
11185781 RT !et 4 $7.%& 1$
1118578$ !" !et $ %.:5 1$
11185784 !" !et 1 ;.5$ 4
11185785 *C !et 7 18.%$ &
11185787 RT !et $ &&.:4 5
1118578& *B !et 4 1.75 17
1118578: *C !et 1 ;.:1 1
1118578; !" !et 4 1.&& :
111857&% !B !et 4 &.;; 14
111857&1 !" !et 7 $4.75 1%
111857&$ *B !et 5 &1.1% 5
111857&5 RT !et 1 85.85 7
111857&7 *B !et 7 7%.:& 1;
111857&; *C !et 5 $&.8% 4
111857:% !" !et 5 58.:7 ;
111857:1 RT !et 5 1.1: 18
111857:$ *B !et 1 47.%% 1%
111857:4 !" !et $ 1$.14 14
111857:5 !B !et 5 71.18 7
111857:7 !B !et 4 $&.:: $
111857:8 RT !et 4 $.41 18
111857:& RT !et 1 1.;8 7
111857;1 *C !et 4 %.;$ 5
111857;$ !" !et 1 1&.:& 1
111857;4 !" !et 7 1%.;% 5
111857;5 *C !et 5 :1.:% 11
111857;7 RT !et 5 4.85 8
-
7/25/2019 Subtotal s
9/28
Boni Mays
Fayetteville Technical Community College; www.maysstuf.com
111857;8 RT !et $ $4.&% %
111857;& *B !et 5 4.$$ $
111857;: !B !et 1 :.&5 5
111858%% *C !et 1 7.&$ %
111858%1 RT !et 1 8%.$5 1$
111858%$ *B !et 5 :.;8 1&
111858%4 !" !et 4 8%.&$ 18111858%5 !B !et 1 1.11 5
11185811 !" !et $ $7.75 7
1118581$ !" !et $ 15.58 1
11185814 *B !et 7 ;4.17 ;
11185815 *B !et 5 ;1.4& :
11185817 !" !et 5 54.%5 15
11185818 *C !et $ 1.88 1:
1118581& RT !et $ $7.;$ 1&
1118581: *B !et 7 5.44 1
1118581; RT !et 1 1$.74 :111858$% !" !et 4 ;1.&8 ;
111858$1 !" !et 7 44.8& 7
111858$$ RT !et $ 1$.&7 8
111858$4 !B !et 1 $1.%: 1$
111858$5 *B !et $ $&.15 5
111858$7 RT !et $ :5.;$ 5
111858$8 *B !et 1 %.:1 1;
111858$& *B !et 7 4.%8 %
111858$: *C !et $ 1;.1% 15
111858$; !" !et 7 &8.;: 8
1118584% !" !et 5 78.$7 :
11185841 !B !et 1 1;.51 8
1118584$ !" !et 1 85.%5 15
11185844 *B !et $ 58.4; 18
11185845 !" !et 5 8$.5; %
11185847 RT !et $ 74.88 $
11185848 !" !et 4 1.&1 $
1118584& *B !et 7 7%.:& $
-
7/25/2019 Subtotal s
10/28
Boni Mays
Fayetteville Technical Community College1% www.maysstuf.com
Total "alue
:$;.7%
5:&.%8
5&.:&
:1.1%
;&:.5:
;8&.:77&$.44
$%7.;$
75&.8:
4$.;1
$$$.&$
&&:.8%
1&8.&:
;5:.;8
1%8.;8
51.77
4%%.:5
1%.%:
$:.$8
11$.15
411.4$
$4.1%
;.:1
15.18
1%4.:&
$47.5%
$:5.5%
4$4.$%
;88.74
:$.:%
5$1.87
1:.::
47%.%%
17&.8;
$77.:%
77.&8
48.;8
;.:%
4.8:
1&.:&
54.8%
:;;.:%
$1.:5
-
7/25/2019 Subtotal s
11/28
Boni Mays
Fayetteville Technical Community College11 www.maysstuf.com
8.55
45.;8
&$$.::
17$.4$
;&1.7$5.55
1$&.&%
15.58
:4:.47
&4%.;8
8%$.78
$;.::
55%.85
5.44
1%%.$5:$7.:5
18:.47
&8.7%
$7$.;8
1%:.78
44;.8:
17.4;
$8&.5%
581.::
57%.%%
118.58
:;8.78
&5$.$5
1%&.4$
4.5$
1%1.&5
-
7/25/2019 Subtotal s
12/28
Boni Mays
Fayetteville Technical Community College1$ www.maysstuf.com
Part Number Type Department ost !uantity
111857&7 *B !et 7 7%.:& 1;
1118577& *B !et $ &;.%: 1$
11185814 *B !et 7 ;4.17 ;
11185844 *B !et $ 58.4; 18
11185815 *B !et 5 ;1.4& :
111857:$ *B !et 1 47.%% 1%111857&$ *B !et 5 &1.1% 5
111858%$ *B !et 5 :.;8 1&
111858$5 *B !et $ $&.15 5
1118584& *B !et 7 7%.:& $
11185751 *B !et 5 5&.:& 1
1118578& *B !et 4 1.75 17
111858$8 *B !et 1 %.:1 1;
111857;& *B !et 5 4.$$ $
1118581: *B !et 7 5.44 1
111858$& *B !et 7 4.%8 %AB Total 14;
A Total ;:
DB Total &$
D# Total 1:5
$T Total 17%
%ran& Total 854
-
7/25/2019 Subtotal s
13/28
Boni Mays
Fayetteville Technical Community College14 www.maysstuf.com
Total "alue
;88.74
;5:.;8
:4:.47
&5$.$5
&4%.;8
47%.%%$:5.5%
17$.4$
1%:.78
1%1.&5
5&.:&
$4.1%
17.4;
8.55
5.44
7-4$1.1;
$-;1$.8%
1-7;5.87
&-714.&7
5-5;;.4%
$1-:51.5;
-
7/25/2019 Subtotal s
14/28
Boni Mays
Fayetteville Technical Community College15 www.maysstuf.com
Part Number Type Department ost !uantity
Dept ' Total 14:
1118577& *B !et $ &;.%: 1$
1118574; RT !et $ 77.4% 17
11185771 RT !et $ 57.:% 1&
11185844 *B !et $ 58.4; 18
11185758 !" !et $ 7$.%4 111118581& RT !et $ $7.;$ 1&
111858$7 RT !et $ :5.;$ 5
11185787 RT !et $ &&.:4 5
111858$: *C !et $ 1;.1% 15
111857:4 !" !et $ 1$.14 14
11185811 !" !et $ $7.75 7
111858$5 *B !et $ $&.15 5
11185847 RT !et $ 74.88 $
1118575$ RT !et $ 18.$$ 7
111858$$ RT !et $ 1$.&7 811185818 *C !et $ 1.88 1:
1118581$ !" !et $ 15.58 1
1118578$ !" !et $ %.:5 1$
111857;8 RT !et $ $4.&% %
Dept ( Total 1&8
Dept ) Total ;&
Dept * Total 11&
Dept + Total 117
%ran& Total 854
-
7/25/2019 Subtotal s
15/28
Boni Mays
Fayetteville Technical Community College17 www.maysstuf.com
Total "alue
4-$75.%8
;5:.;8
:$;.7%
&&:.8%
&5$.$5
7&$.4455%.85
44;.8:
411.4$
$8&.5%
17&.8;
1$&.&%
1%:.78
1%&.4$
:1.1%
&8.7%$;.::
15.58
1%.%:
7-;54.;8
$-44;.17
5-4;%.;4
7-;14.4;
$1-:51.5;
-
7/25/2019 Subtotal s
16/28
Boni Mays
Fayetteville Technical Community College18 www.maysstuf.com
Part Number Type Department ost !uantity
1118584$ !" !et 1 85.%5 15
111858%1 RT !et 1 8%.$5 1$
111857:$ *B !et 1 47.%% 1%
111857&5 RT !et 1 85.85 7
111858$4 !B !et 1 $1.%: 1$
1118577% !B !et 1 1:.78 1$11185841 !B !et 1 1;.51 8
1118577: !" !et 1 17.$: &
1118581; RT !et 1 1$.74 :
1118577; *C !et 1 $.&& 17
111857;: !B !et 1 :.&5 5
11185784 !" !et 1 ;.5$ 4
111857;$ !" !et 1 1&.:& 1
111858$8 *B !et 1 %.:1 1;
1118578: *C !et 1 ;.:1 1
111857:& RT !et 1 1.;8 7111858%5 !B !et 1 1.11 5
111858%% *C !et 1 7.&$ %
Dept ' A,erage :
Dept ( A,erage ;
Dept ) A,erage 1%
Dept * A,erage &
Dept + A,erage :
%ran& A,erage :
-
7/25/2019 Subtotal s
17/28
Boni Mays
Fayetteville Technical Community College1& www.maysstuf.com
Total "alue
:;8.78
&$$.::
47%.%%
4$4.$%
$7$.;8
$$$.&$118.58
1%8.;8
1%%.$5
51.77
45.;8
$:.$8
1&.:&
17.4;
;.:1
;.:%5.55
1:%.&:
41$.:5
$44.;$
$7:.$;
4;5.$4
$&8.5&
-
7/25/2019 Subtotal s
18/28
Boni Mays
Fayetteville Technical Community College1: www.maysstuf.com
Part Number Type Department ost !uantity
1118584$ !" !et 1 85.%5 15
111858%1 RT !et 1 8%.$5 1$
111857:$ *B !et 1 47.%% 1%
111857&5 RT !et 1 85.85 7
111858$4 !B !et 1 $1.%: 1$
1118577% !B !et 1 1:.78 1$11185841 !B !et 1 1;.51 8
1118577: !" !et 1 17.$: &
1118581; RT !et 1 1$.74 :
1118577; *C !et 1 $.&& 17
111857;: !B !et 1 :.&5 5
11185784 !" !et 1 ;.5$ 4
111857;$ !" !et 1 1&.:& 1
111858$8 *B !et 1 %.:1 1;
1118578: *C !et 1 ;.:1 1
111857:& RT !et 1 1.;8 7111858%5 !B !et 1 1.11 5
111858%% *C !et 1 7.&$ %
Dept ' ount 1:
Dept ' A,erage $%.7%
Dept ( ount 1;
Dept ( A,erage 47.7%
Dept ) ount 1%
Dept ) A,erage $$.1&
Dept * ount 1&
Dept * A,erage 5$.57
Dept + ount 17
Dept + A,erage 5$.&;
%ran& ount -)
%ran& A,erage 44.$&
-
7/25/2019 Subtotal s
19/28
Boni Mays
Fayetteville Technical Community College1; www.maysstuf.com
Total "alue
:;8.78
&$$.::
47%.%%
4$4.$%
$7$.;8
$$$.&$118.58
1%8.;8
1%%.$5
51.77
45.;8
$:.$8
1&.:&
17.4;
;.:1
;.:%5.55
-
7/25/2019 Subtotal s
20/28
Boni Mays
Fayetteville Technical Community College$% www.maysstuf.com
Part Number Type Department ost !uantity
DB Total 1$
D# Total &
A Total 17
D# Total 4
A Total 1
$T Total 7AB Total 1%
$T Total 7
D# Total 1
DB Total 5
A Total %
$T Total 1$
DB Total 5
$T Total :
DB Total 1$
AB Total 1;DB Total 8
1118584$ !" !et 1 85.%5 15
D# Total 15
1118574; RT !et $ 77.4% 17
1118575$ RT !et $ 18.$$ 7
$T Total $%
D# Total 11
$T Total 1&
AB Total 1$
D# Total 1$
$T Total 5
D# Total 14
$T Total %
D# Total 8
A Total 1:
$T Total $4
AB Total 5
$T Total 5
A Total 15
AB Total 18
$T Total 15
AB Total 17
D# Total :
DB Total 17
$T Total 18
A Total 5
D# Total $&
AB Total 1
-
7/25/2019 Subtotal s
21/28
Boni Mays
Fayetteville Technical Community College$1 www.maysstuf.com
D# Total 14
AB Total 5
A Total 4
D# Total ;
$T Total 18
DB Total 7
A Total 11$T Total 8
AB Total $&
D# Total $$
A Total $7
D# Total 14
DB Total 15
$T Total %
A Total &
D# Total 1%
AB Total 1;D# Total 5
AB Total 1%
D# Total 7
AB Total %
D# Total 8
AB Total $
%ran& Total 854
-
7/25/2019 Subtotal s
22/28
Boni Mays
Fayetteville Technical Community College$$ www.maysstuf.com
Total "alue
$$$.&$
1%8.;8
51.77
$:.$8
;.:1
4$4.$%47%.%%
;.:%
1&.:&
45.;8
&$$.::
5.55
1%%.$5
$7$.;8
17.4;118.58
:;8.78
:;8.78
:$;.7%
:1.1%
;1%.8%
7&$.44
&&:.8%
;5:.;8
1%.%:
411.4$
17&.8;
15$.18
$;.::
71&.15
1%:.78
44;.8:
$8&.5%
&5$.$5
5%:.18
$4.1%
15.18
17;.84
48.;8
4.8:
1-:%%.&:
5&.:&
-
7/25/2019 Subtotal s
23/28
Boni Mays
Fayetteville Technical Community College$4 www.maysstuf.com
517.81
$:5.5%
:$.:%
5$1.87
1:.::
$77.:%
:;;.:%$1.:5
::;.&$
1-%7$.78
1-587.75
;8&.:7
75&.8:
11$.15
$47.5%
;88.7454.8%
:5$.8:
18:.47
581.::
1%1.&5
$1-:51.5;
-
7/25/2019 Subtotal s
24/28
Boni Mays
Fayetteville Technical Community College$5 www.maysstuf.com
Part Number Type Department ost !uantity
111857:$ *B !et 1 47.%% 1%
111858$8 *B !et 1 %.:1 1;
AB Total $;
1118577; *C !et 1 $.&& 17
1118578: *C !et 1 ;.:1 1
111858%% *C !et 1 7.&$ %A Total 18
1118577% !B !et 1 1:.78 1$
111857;: !B !et 1 :.&5 5
111858%5 !B !et 1 1.11 5
111858$4 !B !et 1 $1.%: 1$
11185841 !B !et 1 1;.51 8
DB Total 4:
1118577: !" !et 1 17.$: &
11185784 !" !et 1 ;.5$ 4
111857;$ !" !et 1 1&.:& 11118584$ !" !et 1 85.%5 15
D# Total $7
111857&5 RT !et 1 85.85 7
111857:& RT !et 1 1.;8 7
111858%1 RT !et 1 8%.$5 1$
1118581; RT !et 1 1$.74 :
$T Total 4%
%ran& Total 14:
-
7/25/2019 Subtotal s
25/28
Boni Mays
Fayetteville Technical Community College$7 www.maysstuf.com
Total "alue
47%.%%
17.4;
487.4;
51.77
;.:1
71.48
$$$.&$
45.;8
5.55
$7$.;8
118.58
841.75
1%8.;8
$:.$8
1&.:&:;8.78
1-%5;.87
4$4.$%
;.:%
&$$.::
1%%.$5
1-178.1$
4-$75.%8
-
7/25/2019 Subtotal s
26/28
Boni Mays
Fayetteville Technical Community College$8 www.maysstuf.com
Part Number Type Department ost !uantity
111857:$ *B !et 1 47.%% 1%
1118584& *B !et 7 7%.:& $
AB Total "rr(7%$
1118577; *C !et 1 $.&& 17
11185785 *C !et 7 18.%$ &
A Total ;:DB Total "rr(7%$
D# Total "rr(7%$
$T Total "rr(7%$
%ran& Total "rr(7%$
-
7/25/2019 Subtotal s
27/28
Boni Mays
Fayetteville Technical Community College$& www.maysstuf.com
Total "alue
47%.%%
1%1.&5
"rr(7%$
51.77
11$.15
$-;1$.8%"rr(7%$
"rr(7%$
"rr(7%$
"rr(7%$
-
7/25/2019 Subtotal s
28/28
More in'ormation and e#amles are also
available 'or the 'ollowing 'unctions- visit
Bonis Site(
*"R*2" M03)T"
*"R*2"0F MO3T?*"R*2"0FS MRO)3!
C"0+032 3"TS
CO)3T 3O