Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Summarizing data assigned to a label

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


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Summarizing data assigned to a label

=SUMPRODUCT((A2:A8="Green")*(D2:D8))
similar for other colors
--
Gary''s Student - gsnu200813
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Summarizing data assigned to a label

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)

--
Biff
Microsoft Excel MVP


"Al Davis" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
importing data by assigned ID RickJB Excel Discussion (Misc queries) 0 May 15th 08 02:34 PM
Summarizing Data krc547 Excel Worksheet Functions 1 March 31st 08 07:13 PM
summarizing data skwirrel Excel Worksheet Functions 1 January 13th 08 05:40 AM
How to rezize data label box in pie charts (label wraps to two lin rolliedogg Charts and Charting in Excel 1 October 18th 06 08:17 PM
Summarizing data Pedro AM Excel Discussion (Misc queries) 1 July 3rd 06 08:29 PM


All times are GMT +1. The time now is 01:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"