#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jennifer Brodie
 
Posts: n/a
Default Grouping


I have two columns: Col A contains part numbers, some of which are the
same. Col B contains quantities for each part number. Because some of
the part numbers are repeated, I need to add all the quantities for a
specific part number.

How do I SUM the quantities and group the part numbers in one single
function? Example:

Col A Col B

abc 10
abc 9
abc 8
def 5
ghi 3
ghi 8

I want to end up with:

Col A Col B
abc 27
def 8
ghi 11

Please help.
Jennifer


--
Jennifer Brodie
------------------------------------------------------------------------
Jennifer Brodie's Profile: http://www.excelforum.com/member.php...o&userid=30792
View this thread: http://www.excelforum.com/showthread...hreadid=504514

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Grouping

I recommend you check out the Data SubTotals feature............

Vaya con Dios,
Chuck, CABGx3



"Jennifer Brodie" wrote:


I have two columns: Col A contains part numbers, some of which are the
same. Col B contains quantities for each part number. Because some of
the part numbers are repeated, I need to add all the quantities for a
specific part number.

How do I SUM the quantities and group the part numbers in one single
function? Example:

Col A Col B

abc 10
abc 9
abc 8
def 5
ghi 3
ghi 8

I want to end up with:

Col A Col B
abc 27
def 8
ghi 11

Please help.
Jennifer


--
Jennifer Brodie
------------------------------------------------------------------------
Jennifer Brodie's Profile: http://www.excelforum.com/member.php...o&userid=30792
View this thread: http://www.excelforum.com/showthread...hreadid=504514


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
Protected cells and grouping JimS Excel Discussion (Misc queries) 1 January 5th 06 03:28 AM
Grouping stuart.young Excel Discussion (Misc queries) 1 August 1st 05 12:56 PM
How to unprotect Grouping controls Bob Laithwaite Excel Worksheet Functions 1 May 18th 05 01:32 AM
grouping of cells in protected sheets Christian Galbavy Excel Worksheet Functions 1 May 10th 05 12:32 AM
Date Format Pivot Grouping Easton Excel Discussion (Misc queries) 1 March 8th 05 12:53 PM


All times are GMT +1. The time now is 06:34 AM.

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"