Filtered Sum

tatorman

New Member
Joined
Dec 15, 2004
Messages
13
This is a shared workbook, so I can't do VBA on this.

How do I Filter the unique values for this in place and show the sum of the materials.
QUEUE .xls
ABCD
1OrderStartMaterialOrderqty
211/23/2004BIKE1
31/15/2005MOTORCYCLE6
42/27/2005CAR1
53/15/2005TRUCK3
61/3/2005MOTORCYCLE1
71/3/2005CAR8
81/11/2005TRUCK1
91/3/2005BIKE7
101/3/2005BIKE9
01.12.05
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi
Would a combination of AUTOFILTER and SUBTOTAL do what you want You would have to do each category separately though
Bob
 
Upvote 0
Using a formula system...

Keywords. Extracting a unique list or a list of distinct items. [ ISNUMBER, LOOKUP, MATCH, ROW, SUMIF ]
Book5
ABCDEFG
14
2OrderStartMaterialOrderqty0DistinctMaterialTotalQty
311/23/2004BIKE11BIKE17
41/15/2005MOTORCYCLE62MOTORCYCLE7
52/27/2005CAR13CAR9
63/15/2005TRUCK34TRUCK4
71/3/2005MOTORCYCLE1   
81/3/2005CAR8 
91/11/2005TRUCK1 
101/3/2005BIKE7 
111/3/2005BIKE9 
01.12.05


Formulas...

D2 must house a 0.

D3, copied down:

=IF(ISNUMBER(MATCH(B3,$B$2:B2,0)),"",LOOKUP(9.99999999999999E+307,$D$2:D2)+1)

F1:

=LOOKUP(9.99999999999999E+307,D:D)

F3, copied down:

=IF(ROW()-ROW(E$3)+1<=$F$1,LOOKUP(ROW()-ROW(E$3)+1,D:D,B:B),"")

G3, copied down:

=IF(F3<>"",SUMIF(B:B,F3,C:C),"")
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,864
Members
449,052
Latest member
Fuddy_Duddy

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