I'm using the following SumProduct formula in P55 through P65 on a summary sheet. This is the formula for P55, but it changes accordingly as you work down to P65. There is a lot going on here, but basically D55:L55 are input cells that are used to match up with D61:D75 on the '11 - Chart - Investments. It basically allows me to combine multiple individual line items into summary line items by picking which items I want included.
=IF(And($D55="",$F55="",$H55="",$J55="",$L55),"",SUMPRODUCT(IFerror(ISNUMBER(SEARCH("," & '11 - Chart - Investments'!$D$61:$D$75 & ",","," & $D55&","&$F55&","&$H55&","&$J55&","&$L55 & ","))*'11 - Chart - Investm