Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello,
Column 1 contains a product ID and could contain just one entry or several entries depending upon how many reels of that product ID we have in inventory. Column 2 has the reel quantity in feet. I need to get a total quantity in feet for each product ID. Column 1 Column 2 Prod ID Feet ABC 100 ABC 150 ABC 200 XYZ 50 XYZ 50 I need the total product, in this example ABC = 450 ft and XYZ = 100 ft. I have over 3000 lines and over 600 products I can't do it manually. I think a pivot table would do it but I'm not sure... tks, steve |
#3
![]() |
|||
|
|||
![]()
To use sumif, you have create 600 sumif forumulaes, which is tedious.
A quick one: Sort on column 1 and do a subtotal (choosing Data - Subtotal from the menu bar). Collapse the detail and you have 600 lines subtotal lines to print. "sjs" wrote: Hello, Column 1 contains a product ID and could contain just one entry or several entries depending upon how many reels of that product ID we have in inventory. Column 2 has the reel quantity in feet. I need to get a total quantity in feet for each product ID. Column 1 Column 2 Prod ID Feet ABC 100 ABC 150 ABC 200 XYZ 50 XYZ 50 I need the total product, in this example ABC = 450 ft and XYZ = 100 ft. I have over 3000 lines and over 600 products I can't do it manually. I think a pivot table would do it but I'm not sure... tks, steve |
#4
![]() |
|||
|
|||
![]()
sjs wrote:
Hello, Column 1 contains a product ID and could contain just one entry or several entries depending upon how many reels of that product ID we have in inventory. Column 2 has the reel quantity in feet. I need to get a total quantity in feet for each product ID. Column 1 Column 2 Prod ID Feet ABC 100 ABC 150 ABC 200 XYZ 50 XYZ 50 I need the total product, in this example ABC = 450 ft and XYZ = 100 ft. I have over 3000 lines and over 600 products I can't do it manually. I think a pivot table would do it but I'm not sure... tks, steve if the functions in the freely downloadable file at http://home.pacbell.net/beban are available to your workbook, then array enter into C2:C700 =ArrayUniques(IF(A2:A700<"",A2:A700,"")) and enter into D2:D700 =SUM(vlookups(C2,A$1:B$700,2)) and copy it down as far as needed Alan Beban |
#5
![]() |
|||
|
|||
![]()
On Wed, 1 Dec 2004 09:21:07 -0800, sjs wrote:
Hello, Column 1 contains a product ID and could contain just one entry or several entries depending upon how many reels of that product ID we have in inventory. Column 2 has the reel quantity in feet. I need to get a total quantity in feet for each product ID. Column 1 Column 2 Prod ID Feet ABC 100 ABC 150 ABC 200 XYZ 50 XYZ 50 I need the total product, in this example ABC = 450 ft and XYZ = 100 ft. I have over 3000 lines and over 600 products I can't do it manually. I think a pivot table would do it but I'm not sure... tks, steve A Pivot table should do fine. Drag the Prod ID to Rows; and drag the Feet to Data. --ron |
#6
![]() |
|||
|
|||
![]() You could do a unique filter on Column 1 to summarise all the Product ID's into a single list DataFilterAdvanced FilterCopy to Another LocationUnique Records Only Then use a sumif function in the coloumn adjacent to the filtered list to determine how much is in each product ID =SUMIF(A:A,D2,B:B) "sjs" wrote in message ... Hello, Column 1 contains a product ID and could contain just one entry or several entries depending upon how many reels of that product ID we have in inventory. Column 2 has the reel quantity in feet. I need to get a total quantity in feet for each product ID. Column 1 Column 2 Prod ID Feet ABC 100 ABC 150 ABC 200 XYZ 50 XYZ 50 I need the total product, in this example ABC = 450 ft and XYZ = 100 ft. I have over 3000 lines and over 600 products I can't do it manually. I think a pivot table would do it but I'm not sure... tks, steve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
basic pie chart question | Charts and Charting in Excel | |||
Display question. | Excel Discussion (Misc queries) | |||
Display question. | Excel Discussion (Misc queries) | |||
Paste Special Question | Excel Discussion (Misc queries) | |||
Simple VBA question | Excel Discussion (Misc queries) |