Summarizing data assigned to a label

A

Al Davis

I have a table of information, like this one...
Name Box Bag Total
Red 12 8 20
Blue 3 3 6
Green 41 41 82
Red 2 19 21
Blue 16 3 19
Green 1 8 9
Green 1 5 6

I want to get a some for each name
That is...
I'd like to get the total of
Green Items
Red Items
Blue Items
Each one has a total of items at the right; I'm trying to get the total for
each Name in the table.

Thanks,
Al Davis
 
T

T. Valko

Assume your data is in the range A2:D8

F2:F4 = unique names = Red, Blue, Green

Enter this formula in G2 and copy down to G4:

=SUMIF(A$2:A$8,F2,D$2:D$8)
 

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