Show Sale of Town A or etc from 1 sheet to another sheet

smyle

New Member
Joined
Nov 24, 2017
Messages
1
Dear Experts, i have 2 sheets, in 1 sheet we have different town sale and in 2nd sheet how can i put these sale into their column. please help me in this.

Sheet 1

SAPCODECodeSKUNameIDSKUIDOpening StockReceiptPurchase ReturnMTD IssuedSReturnCStockAKZ
123Pencil10511211
456Paper10511211
789Cup1052346
1122Scale1056225
3344Sharpner1056315
5566Cutter1053309
7788Gum Stick10531011

<colgroup><col><col><col><col span="7"><col><col span="3"></colgroup><tbody>
</tbody>

Sheet 2

Opening Stock Received From Company Recevied From Others Town List Town List Town List Town List
Sku CodeSKU Cases Cases Cases A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
123Pencil 10 5
456Paper 10 5
789Cup 10 5
1122Scale 10 5
3344Sharpner 10 5
5566Cutter 10 5
7788Gum Stick 10 5

<colgroup><col><col><col><col><col><col span="26"></colgroup><tbody>
</tbody>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi,
copy this into sheet 2 under town A and copy down and across.
Code:
=IFERROR(SUMPRODUCT(--((Sheet1!$A$2:$A$8=Sheet2!$A3)*(Sheet1!$C$2:$C$8=Sheet2!$B3)*(Sheet1!$L$1:$N$1=Sheet2!F$2)),Sheet1!$L$2:$N$8),0)
 
Upvote 0

Forum statistics

Threads
1,215,327
Messages
6,124,276
Members
449,149
Latest member
mwdbActuary

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