ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sum values in a data group (https://www.excelbanter.com/excel-worksheet-functions/47677-sum-values-data-group.html)

BigTim

sum values in a data group
 
I would like to find a way to dynamically sum values in a datagroup so that
if I add or remove items from the the grou the SUM value is updated.

Example:
I create a list of items in a price sheet.

Widget Parts Price$6
part1 $1
part2 $2
part3 $3

I group them all together:
data group and outline grouip

I want to sum all the parts so that no matter how many parts I add or remove
the Price$ will automically update. Currently, if I add or remove parts I
have to update the SUM() for Price$.


Dave Peterson

If you put "widget" on each of the part# rows, you could sort your data and do
Data|Subtotals to get those totals. If you add more parts/assemblies, you could
resort and redo the data|subtotals.

BigTim wrote:

I would like to find a way to dynamically sum values in a datagroup so that
if I add or remove items from the the grou the SUM value is updated.

Example:
I create a list of items in a price sheet.

Widget Parts Price$6
part1 $1
part2 $2
part3 $3

I group them all together:
data group and outline grouip

I want to sum all the parts so that no matter how many parts I add or remove
the Price$ will automically update. Currently, if I add or remove parts I
have to update the SUM() for Price$.


--

Dave Peterson


All times are GMT +1. The time now is 10:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com