SUM OF GROUPS

A

ADK

I have two columns.

Column C is labeled: Group
Column D is Labeled: Weight

I have 27 rows with data. I would like to tally the group weights

example: 5 of the 27 rows are under Group number 630 (the cell in column C
has the value 630). Each one has a weight ...I'd like a total weight for all
items with the group number 630 and so forth. I am guessing this is maybe
some kind of lookup function but have no idea on how to add each room with
the same group number.

Thanks in Advance
 
B

Bob Phillips

=SUMIF(C:C,630,D:D)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
R

Richard Buttrey

I have two columns.

Column C is labeled: Group
Column D is Labeled: Weight

I have 27 rows with data. I would like to tally the group weights

example: 5 of the 27 rows are under Group number 630 (the cell in column C
has the value 630). Each one has a weight ...I'd like a total weight for all
items with the group number 630 and so forth. I am guessing this is maybe
some kind of lookup function but have no idea on how to add each room with
the same group number.

Thanks in Advance


You could use a pivot table, or alternatively a SumIF

For the pivot table just position your cursor anywhere in the data
table and select

Data, Pivot Table, Next, Next, Layout, drag your column C Group into
the row section of the wizard, and the Col D Weights into the Data
section and click OK.


ALternatively get a unique list of the Group Numbers in say column E,
and then in F2 enter

=sumif(C:C,E2,D:D)

and copy down.

HTH

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top