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 summing multiple lines throughout spreadsheet

Hello,

I was wondering if anyone could help. I have a 15000 lines
spreadsheet with different product codes on them. I need to take all
matching product codes and sum the total price of them. I was
wondering if there was an easy way to do this. In example below I
have three groups and basically I need a row added and a total line
made but I have about 300 different groups to sum.

Can anyone help? if this does not make any sense let me know.

Example:

1 10
1 12
1 14
2 20
2 12
2 13
2 15
3 11
3 9
3 8
3 9
3 12
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default summing multiple lines throughout spreadsheet

Joshua,

Use a Pivot Table - add the product code to the row area, and the price to the data area.

HTH,
Bernie
MS Excel MVP


"Joshua" wrote in message
...
Hello,

I was wondering if anyone could help. I have a 15000 lines
spreadsheet with different product codes on them. I need to take all
matching product codes and sum the total price of them. I was
wondering if there was an easy way to do this. In example below I
have three groups and basically I need a row added and a total line
made but I have about 300 different groups to sum.

Can anyone help? if this does not make any sense let me know.

Example:

1 10
1 12
1 14
2 20
2 12
2 13
2 15
3 11
3 9
3 8
3 9
3 12



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default summing multiple lines throughout spreadsheet

Hi,

you can also use Data Subtotal. First sort the codes in ascending order
(so that same produce codes appear together), then select the range and go
to Data Subtotal

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Joshua" wrote in message
...
Hello,

I was wondering if anyone could help. I have a 15000 lines
spreadsheet with different product codes on them. I need to take all
matching product codes and sum the total price of them. I was
wondering if there was an easy way to do this. In example below I
have three groups and basically I need a row added and a total line
made but I have about 300 different groups to sum.

Can anyone help? if this does not make any sense let me know.

Example:

1 10
1 12
1 14
2 20
2 12
2 13
2 15
3 11
3 9
3 8
3 9
3 12


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
Multiple Worksheets, multiple lines and summarizing into one works smiley61799 New Users to Excel 1 September 10th 09 09:31 PM
In Excel 2007 chart with multiple lines, mouse doesn't track lines sfuelling Charts and Charting in Excel 1 August 19th 09 09:41 PM
summing multiples lines in a vlookup function Rob T. Excel Worksheet Functions 5 December 16th 08 04:09 AM
display 1 line of multiple worksheets into multiple lines on 1 wks Golf Nut Excel Worksheet Functions 1 October 5th 06 08:28 AM
Display multiple lines of text within a cell from multiple column. Zeeshan Zaheer Excel Worksheet Functions 3 August 23rd 06 10:08 AM


All times are GMT +1. The time now is 07:19 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"