Need help with Subtotaling

alan.sluder

New Member
Joined
Aug 29, 2011
Messages
27
I am trying to do be able to get a total of materials by spec, type and then size. I have sorted my data by the spec, type and then size.

Example:

I want to know the total footage of say 3" pipe by the PPL45 spec...in this example 48.


Excel 2010
ACDEFGHIJKLMNOPQRSTUVWX
6MTO
7InstallMaterial
8Item No.Insulated Y/NLine #P&ID #ISO #Spool #Valve IDSizeSizeDescriptionMaterial or SpecPaint SpecByItem CodeQtySetsUnitUnit M.H.Difficulty FactorTotal M.H.Unit CostTotal
934401308P017162SK-P158-01308-01/02345 D Elbow, A395 DI, B16.5, CL 150, Fixed Flg, PP Liner, Crane Resistoflex Series E500P1VV0NXXXPPL45DC-1OE221EA4.001.008.0000
10137501550P017139SK-P158-01550-01490 D Elbow, A395 DI, B16.5, CL 150, Fixed Flg, PP Liner, Crane Resistoflex Series E900P1VV0NXXXPPL45DC-1OV221EA2.001.004.0000
1134701308P017162SK-P158-01308-01/02390 D Elbow, A395 DI, B16.5, CL 150, Fixed Flg, PP Liner, Crane Resistoflex Series E900P1VV0NXXXPPL45DC-1OP1201EA0.411.008.2000
1235201308P017162SK-P158-01308-01/02390 D Elbow, A395 DI, B16.5, CL 150, Fixed Flg, PP Liner, Crane Resistoflex Series E900P1VV0NXXXPPL45DC-1OE221EA4.001.008.0000
13137601550P017139SK-P158-01550-01BA404Ball Valve, BA40, RFFE, CL 150, Full PortPPL45DC-1OV111EA2.001.002.0000
14137201550P017139SK-P158-01550-014BNG SetPPL45DC-1FB221EA1.301.002.6000
1534301308P017162SK-P158-01308-01/023BNG SetPPL45DC-1FB441EA1.001.004.0000
1635001308P017162SK-P158-01308-01/023BNG SetPPL45DC-1FB01EA1.001.000.0000
17137701550P017139SK-P158-01550-01CK244Check Valve, Swing, CK24, Wafer RF, CL150PPL45DC-1OV111EA2.001.002.0000
1834801308P017162SK-P158-01308-01/023Pipe SupportPPL45DC-1S331EA3.001.5013.5000
19137401550P017139SK-P158-01550-014Pipe, Swaged, Lined A587, B36.10M, CL 150, RFFEWG, Full Vacuum rated with locked PP Liner w/ ductile iron A395 fixed thd flange both ends Crane Resistoflex Series GS101220XXX S-STDPPL45DC-1OV111EA2.001.002.0000
2034501308P017162SK-P158-01308-01/023Pipe, Swaged, Lined A587, B36.10M, CL 150, RFFEWG, Full Vacuum rated with locked PP Liner w/ ductile iron A395 fixed thd flange both ends Crane Resistoflex Series GS101220XXX S-STDPPL45DC-1OE20201EA4.001.0080.0000
2134601308P017162SK-P158-01308-01/023Pipe, Swaged, Lined A587, B36.10M, CL 150, RFFEWG, Full Vacuum rated with locked PP Liner w/ ductile iron A395 fixed thd flange both ends Crane Resistoflex Series GS101220XXX S-STDPPL45DC-1OP11.11201EA0.411.008.2000
2235101308P017162SK-P158-01308-01/023Pipe, Swaged, Lined A587, B36.10M, CL 150, RFFEWG, Full Vacuum rated with locked PP Liner w/ ductile iron A395 fixed thd flange both ends Crane Resistoflex Series GS101220XXX S-STDPPL45DC-1OP13.25201EA0.411.008.2000
2335301308P017162SK-P158-01308-01/023Pipe, Swaged, Lined A587, B36.10M, CL 150, RFFEWG, Full Vacuum rated with locked PP Liner w/ ductile iron A395 fixed thd flange both ends Crane Resistoflex Series GS101220XXX S-STDPPL45DC-1OP3.64201EA0.411.008.2000
2435401308P017162SK-P158-01308-01/023Pipe, Swaged, Lined A587, B36.10M, CL 150, RFFEWG, Full Vacuum rated with locked PP Liner w/ ductile iron A395 fixed thd flange both ends Crane Resistoflex Series GS101220XXX S-STDPPL45DC-1OP0.58201EA0.411.008.2000
25137801550P017139SK-P158-01550-01MK-P158-01550-1/2/3/44Spool PiecePPL45DC-1FP441EA0.531.503.1800
2634901308P017162SK-P158-01308-01/02MK-P158-01308-1/2/3/4/53Spool PiecePPL45DC-1FP551EA0.411.503.0800
2735501308P017162SK-P158-01308-01/02MK-P158-01308-6/7/8/9/103Spool PiecePPL45DC-1FP551EA0.411.503.0800
28137301550P017139SK-P158-01550-0143Tee Red, A395 DI, B16.5, CL 150, Fixed Flg, PP Liner, Crane Resistoflex Series TR00P1VVVNXXXPPL45DC-1OV111EA2.001.002.0000
29PPL45 Total82.58178.430
3041601425P017138SK-P158-01425-01390 LR, B16.9, BE, A234 WPB, S-STDPS27HDC-1SE111EA4.001.004.0000
3151501428P017138SK-P158-01428-01390 LR, B16.9, BE, A234 WPB, S-STDPS27HDC-1SE221EA4.001.008.0000
3238001311P017162SK-P158-01311-01/02290 LR, B16.9, BE, A234 WPB, S-XSPS27HDC-1SE551EA3.221.0016.1000
3338701311P017162SK-P158-01311-01/02290 LR, B16.9, BE, A234 WPB, S-XSPS27HDC-1SE01EA3.221.000.0000
3472801461P017139SK-P158-01461-01190 LR, B16.9, BE, A234 WPB, S-XSPS27HDC-1SE111EA1.641.001.6400
35139201552P017139SK-P158-01552-01190 LR, B16.9, BE, A234 WPB, S-XSPS27HDC-1SE331EA1.641.004.9200
36140201553P017139SK-P158-01553-01/02190 LR, B16.9, BE, A234 WPB, S-XSPS27HDC-1SE111EA1.641.001.6400
37141401553P017139SK-P158-01553-01/02190 LR, B16.9, BE, A234 WPB, S-XSPS27HDC-1SE221EA1.641.003.2800
3895501476P017140SK-P158-01476-011/290 LR, B16.9, BE, A234 WPB, S-XSPS27HDC-1SE331EA0.861.002.5800
39140801553P017139SK-P158-01553-01/02BA04V1/2Ball Valve, BA04V, FTE, WOG 2000, Full PortPS27HDC-1OV111EA1.001.001.0000
4042301425P017138SK-P158-01425-01BA103Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV111EA2.001.002.0000
4139401311P017162SK-P158-01311-01/02BA101Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV01EA2.001.000.0000
4242501425P017138SK-P158-01425-01BA101Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV111EA2.001.002.0000
4374401462P017139SK-P158-01462-01BA101Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV111EA2.001.002.0000
44139601552P017139SK-P158-01552-01BA101Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV111EA2.001.002.0000
45140701553P017139SK-P158-01553-01/02BA101Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV111EA2.001.002.0000
46142201553P017139SK-P158-01553-01/02BA101Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV111EA2.001.002.0000
4796201476P017140SK-P158-01476-01BA101/2Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV221EA1.001.002.0000
4897301477P017140SK-P158-01477-01BA101/2Ball Valve, BA10, RFFE, CL 150, Standard PortPS27HDC-1OV221EA1.001.002.0000
4996301476P017140SK-P158-01476-01BA123V1/2Ball Valve, BA123V, FTE, CL600, Standard PortPS27HDC-1OV111EA1.001.001.0000
5097401477P017140SK-P158-01477-01BA123V1/2Ball Valve, BA123V, FTE, CL600, Standard PortPS27HDC-1OV111EA1.001.001.0000
5142101425P017138SK-P158-01425-013BNG SetPS27HDC-1FB661EA1.001.006.0000
5251701428P017138SK-P158-01428-013BNG SetPS27HDC-1FB111EA1.001.001.0000
5339201311P017162SK-P158-01311-01/022BNG SetPS27HDC-1FB01EA0.801.000.0000
5439301311P017162SK-P158-01311-01/021BNG SetPS27HDC-1FB01EA0.801.000.0000
5542201425P017138SK-P158-01425-011BNG SetPS27HDC-1FB221EA0.801.001.6000
5673401461P017139SK-P158-01461-011BNG SetPS27HDC-1FB221EA0.801.001.6000
5774301462P017139SK-P158-01462-011BNG SetPS27HDC-1FB441EA0.801.003.2000
58139501552P017139SK-P158-01552-011BNG SetPS27HDC-1FB221EA0.801.001.6000
59140601553P017139SK-P158-01553-01/021BNG SetPS27HDC-1FB331EA0.801.002.4000
60142001553P017139SK-P158-01553-01/021BNG SetPS27HDC-1FB331EA0.801.002.4000
6196101476P017140SK-P158-01476-011/2BNG SetPS27HDC-1FB441EA0.801.003.2000
6297201477P017140SK-P158-01477-011/2BNG SetPS27HDC-1FB441EA0.801.003.2000
6342401425P017138SK-P158-01425-01CK043Check Valve, Swing, CK03, RFFE, CL150PS27HDC-1OV111EA2.001.002.0000
64142101553P017139SK-P158-01553-01/02CK031Check Valve, Swing, CK03, RFFE, CL150PS27HDC-1OV111EA2.001.002.0000
65141301553P017139SK-P158-01553-01/0213/4Conc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSPS27HDC-1SR111EA1.441.001.4400
6638401311P017162SK-P158-01311-01/022Field WeldPS27HDC-1F331EA1.101.003.3000
6739701311P017162SK-P158-01311-01/022Field WeldPS27HDC-1F221EA1.101.002.2000
68139801552P017139SK-P158-01552-011Field WeldPS27HDC-1F111EA0.801.000.8000
69141001553P017139SK-P158-01553-01/021Field WeldPS27HDC-1F111EA0.801.000.8000
7039101311P017162SK-P158-01311-01/0211/2Flg, THRD, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1FF01EA1.201.000.0000
7142001425P017138SK-P158-01425-0111/2Flg, THRD, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1FF111EA1.201.001.2000
7274201462P017139SK-P158-01462-0111/2Flg, THRD, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1FF111EA1.201.001.2000
7373301461P017139SK-P158-01461-011Flg, THRD, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1FF111EA1.201.001.2000
7496001476P017140SK-P158-01476-011/2Flg, THRD, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1FF111EA0.701.000.7000
7597101477P017140SK-P158-01477-011/2Flg, THRD, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1FF111EA0.701.000.7000
7641701425P017138SK-P158-01425-013Flg, WN, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1SF661EA2.501.0015.0000
7751601428P017138SK-P158-01428-013Flg, WN, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1SF111EA2.501.002.5000
7838801311P017162SK-P158-01311-01/022Flg, WN, A105, B16.5, CL 150, RFFE, S-STDPS27HDC-1SF01EA2.101.000.0000
7938101311P017162SK-P158-01311-01/022Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF111EA2.101.002.1000
8038901311P017162SK-P158-01311-01/021Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF01EA1.201.000.0000
8141801425P017138SK-P158-01425-011Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF111EA1.201.001.2000
8273001461P017139SK-P158-01461-011Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF111EA1.201.001.2000
8373901462P017139SK-P158-01462-011Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF221EA1.201.002.4000
84139301552P017139SK-P158-01552-011Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF221EA1.201.002.4000
85140401553P017139SK-P158-01553-01/021Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF331EA1.201.003.6000
86141701553P017139SK-P158-01553-01/021Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF221EA1.201.002.4000
8795701476P017140SK-P158-01476-011/2Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF331EA0.701.002.1000
8896801477P017140SK-P158-01477-011/2Flg, WN, A105, B16.5, CL 150, RFFE, S-XSPS27HDC-1SF331EA0.701.002.1000
8974501462P017139SK-P158-01462-011Instrument Tag PT-158550PS27HDC-1OV111EA2.001.002.0000
9073801462P017139SK-P158-01462-011Nipple, Pipe, SMLS, A106 GR B, A733/B36.10M, 3" Long, BOE/TOE, S-XSPS27HDC-1SP111EA0.251.000.2500
91141501553P017139SK-P158-01553-01/021Nipple, Pipe, SMLS, A106 GR B, A733/B36.10M, 3" Long, BOE/TOE, S-XSPS27HDC-1SP221EA0.251.000.5000
92141601553P017139SK-P158-01553-01/023/4Nipple, Pipe, SMLS, A106 GR B, A733/B36.10M, 3" Long, BOE/TOE, S-XSPS27HDC-1SP111EA0.241.000.2400
9395401476P017140SK-P158-01476-011/2Nipple, Pipe, SMLS, A106 GR B, A733/B36.10M, 3" Long, BOE/TOE, S-XSPS27HDC-1SP441EA0.231.000.9200
MTO
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
You'll probably need to give more specific info which colums are which, and where you want the result

(you could look at SUMIFS if you running 2007+)
 
Upvote 0
More specifically,

I am looking to do a totaling that looks similar to the example below where I sort by column L - Material or Spec, then column K -Description and finally column I - Size


Excel 2010
ACDEFGHIJKLMNOP
8Item No.Insulated Y/NSystemServiceLocationValve IDSizeDescriptionMaterial or SpecByItem CodeQtySetsUnit
911Pipe, SMLS, A106 Gr B, B36.10, 10M PE, S-XSOP4484401EA
1022Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-XSOP3123201EA
1132Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-XSOP1461401EA
1243Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-STDOP73801EA
1353Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-XSOP7757801EA
1464Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-STDOP45401EA
1574Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-XSOP2963001EA
1686Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-STDOP58601EA
1796Trunnion Pipe, SMLS, A106 GR B, B36.10M, BE, S-XSOP3201EA
18108Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-STDOP49401EA
191110Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-STDOP3413401EA
20121/2Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-XSOP7201EA
21131 1/2Pipe, SMLS, A106 Gr B, B36.10, 10M BE, S-XSOP64601EA
2214190 LR, B16.9, BE, A234 WPB, S-XSOE55551EA
2315290 LR, B16.9, BE, A234 WPB, S-XSOE21211EA
2416290 LR, B16.9, BE, A234 WPB, S-XSOE10101EA
2517390 LR, B16.9, BE, A234 WPB, S-STDOE15151EA
2618390 LR, B16.9, BE, A234 WPB, S-XSOE43431EA
2719490 LR, B16.9, BE, A234 WPB, S-STDOE14141EA
2820490 LR, B16.9, BE, A234 WPB, S-XSOE32321EA
29211090 LR, B16.9, BE, A234 WPB, S-STDOE111EA
30221/290 LR, B16.9, BE, A234 WPB, S-XSOE10101EA
31231 1/290 LR, B16.9, BE, A234 WPB, S-XSOE23231EA
3224145 LR, B16.9, BE, A234 WPB, S-XSOE111EA
3325390 LR, B16.9, BE, A234 WPB, S-STDOE111EA
3426345 LR, B16.9, BE, A234 WPB, S-XSOE771EA
3527490 LR, B16.9, BE, A234 WPB, S-STDOE111EA
3628445 LR, B16.9, BE, A234 WPB, S-XSOE441EA
3729890 LR, B16.9, BE, A234 WPB, S-STDOE111EA
38301090 LR, B16.9, BE, A234 WPB, S-STDOE221EA
39311 1/245 LR, B16.9, BE, A234 WPB, S-XSOE221EA
40321 1/2x 1/2" Tee Red, B16.9, BE x BE, A234, WPB, S-XS x S-XSOV331EA
41334x 3" Tee Red, B16.9, BE x BE, A234, WPB, S-XS x S-XSOV221EA
42346x 3" Tee Red, B16.9, BE x BE, A234, WPB, S-XS x S-XSOV111EA
43351x 1/2" Swage, Concentric, A234 WPB, MSS-SP-95/B36.10M, BLE/TSE, S-XS x S-XSOR441EA
44361x 3/4" Conc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR551EA
45371 1/2x 1" Conc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR221EA
46382x 1" Conc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR111EA
47393x 2" Conc Red, B16.9, BE x BE, A234 WPB, S-STD x S-STDOR111EA
48403x 2" Conc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR221EA
49414x 1 1/2" Conc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR111EA
50424x 2" Conc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR551EA
51434x 3" Conc Red, B16.9, BE x BE, A234 WPB, S-STD x S-STDOR661EA
52448x 4" Conc Red, B16.9, BE x BE, A234 WPB, S-STD x S-STDOR111EA
534512x 8" Conc Red, B16.9, BE x BE, A234 WPB, S-STD x S-STDOR111EA
54463x 2" Ecc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR111EA
55474x 2" Ecc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR111EA
56484x 3" Ecc Red, B16.9, BE x BE, A234 WPB, S-XS x S-XSOR111EA
57491Tee, B16.9, BE, A234 WPB, S-XSOT13131EA
Owner Furnished Pipe
 
Upvote 0

Forum statistics

Threads
1,215,265
Messages
6,123,961
Members
449,135
Latest member
jcschafer209

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top