Quantity from second worksheet

Trevor Kaltenbrunn

New Member
Joined
Feb 2, 2019
Messages
9
Hi Please help,

I have a worksheet entitled Sales and i have a second Sheet for a summary of sales YEARLY SALES by item. Sales worksheet SALES has 8 columns ( Invoice,date,item, Quantity, Description,Ect). In the second worksheet i would like to check a certain item in Sales worksheet and see how many have been sold.

In Sales worksheet column 3 has item and column 4 has amount soled. If i now have multiple row entries of the same item i need the value of that items total sold amount to be displayed in the summary sheet, next to the item header.

If you see example below, in SALES Column 3 i have labour Twice, i need to check the total of the labour sold in Column 2 YEARLY SALES

Sales Workbook

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Inv Nu[/TD]
[TD]Date[/TD]
[TD]Item[/TD]
[TD]Qty[/TD]
[TD]Description[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD]Labour[/TD]
[TD]4[/TD]
[TD]Labour[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]Call Out[/TD]
[TD]1[/TD]
[TD]Call Out[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]Pen[/TD]
[TD]7[/TD]
[TD]Pen[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]Labour[/TD]
[TD]8[/TD]
[TD]Labour[/TD]
[/TR]
</tbody>[/TABLE]

Yearly Sales

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Labour[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Call Out[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Pen[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]?[/TD]
[/TR]
</tbody>[/TABLE]

Thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
try


Book1
ABCDEFGH
1Inv NuDateItemQtyDescriptionYearly Sales
212Labour4LabourLabour12
32Call Out1Call OutCall Out1
43Pen7PenPen7
54Labour8Labour
Sheet1
Cell Formulas
RangeFormula
H2=SUMIF(C:C,G2,D:D)
 
Upvote 0
try

ABCDEFGH
Inv NuDateItemQtyDescriptionYearly Sales
LabourLabourLabour
Call OutCall OutCall Out
PenPenPen
LabourLabour

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: right"][/TD]

[TD="align: right"][/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]

[TD="align: right"]4[/TD]

[TD="align: right"][/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]12[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]

[TD="align: right"]1[/TD]

[TD="align: right"][/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]1[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"][/TD]

[TD="align: right"]7[/TD]

[TD="align: right"][/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]7[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"][/TD]

[TD="align: right"]8[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
Sheet1

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]H2[/TH]
[TD="align: left"]=SUMIF(C:C,G2,D:D)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Hi Alan

What can i do if they are on seperate worksheets. I want the results your column H in a seperate worksheet.
 
Upvote 0
the easiest way is create them in the same sheet, cut and paste the columns (e.g. G & H) to the new sheet, excel will adjust the reference automatically
 
Upvote 0

Forum statistics

Threads
1,224,826
Messages
6,181,192
Members
453,021
Latest member
pingpong7117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top