1
I have a large flat file of a bunch of ungrouped primary key values.
I want to filter on a key and populate cell A1 with the value selected from the dropdown list.
In the end, I want to see a sum of each primary key's associated value in column D & G after filtering on that primary key.
I'm using this function at the top of row D and G respectively:
=SUMIF(A:A,A1,D3:D12982)
=SUMIF(A:A,A1,G3:G12982)
Does anyone know, through using a function, not a macro, how to populate a cell with a filter's selected value?
Sample data & solution:
D G
7 6
id class trnsfr reg_hrs crs_no sec crs_hrs
6181191 BT R 4 INIS210 1 3
6181191 ED G 3 COMS223 4 3
interesting... but it gives me 6 as the result... i am looking for the sum, not the max... you know what number 1-11 that is? im going to google it now – None – 2009-02-05T16:07:45.380
edit your answer to 9 so i can credit you with the correct response! thanks, i never ran into this function and its usefulness is apparent to me now – None – 2009-02-05T16:11:24.937
Also, on the Data tab in Excel 2007 there is a Subtotal button which makes setting the formula up a little easier. Its been a while since I've used 2003 but something similar may exist in the menus. – Xantec – 2010-11-02T12:55:17.667