Sales Order and Report Excel

stavrosiona

New Member
Joined
Apr 17, 2015
Messages
22
Hi I am creating an excel where in 1 sheet I will take lets say the order:
i.e:
Date, Customer Name, Product Code, Qty

and on the sheet 2 I will have on the A column all the products and on A2, A3,A4, A5 .. all the customers.

What I want to do is to be possible the Sheet 2 to read from Sheet 1 and do the following:
Add the qty order in sheet 1 for specific customer in the sheet 2 under the raw and line of the product for the specific customer.
Step 2 is in case a customer order today on the 28/05/2019 1 piece pf product 2 and after some days i.e 10/06/19 one more of the same product so the sheet 2 to do the ADD and show in sheet 2 under specific customer i.e Cust 2 the qty of Product1 to be 2.


Example f Sheet 1 :
Date, Customer Name, Product Code, Qty
28/05/19 Cust2 Product1 1
10/06/19 Cust2 Product1 1


See example of sheet 2 bellow:

Product Orders Cust1 Cust2 Cust 3 ...
Product 1 2
Product 2 1 1 1
Product 3 2 1
Product 4 3
 
With sheet 1 like


Excel 2013/2016
ABCD
1DateCustomer NameProduct CodeQty
228/05/2019Customer 1Product 51
310/06/2019Customer 2Product 41
415/07/2019Customer 1Product 51
Sheet1


Shhet2


Excel 2013/2016
ABCD
1Product OrdersCustomer 1Customer 2Customer 3
2Product 1000
3Product 2000
4Product 3000
5Product 4010
6Product 5200
7Product 6000
8Product 7000
9Product 8000
10Product 9000
11Product 10000
12Product 11000
Sheet2
Cell Formulas
RangeFormula
B2=SUMIFS(Sheet1!$D$2:$D$4,Sheet1!$C$2:$C$4,$A2,Sheet1!$B$2:$B$4,B$1)
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
How about PowerQuery (Get&Transform) or you want to stay with formula(s)?
Hi as I want to be more easy for the rest people of the company I believed that formulas or VBA was better.
I do not kn ow how to use Power Query, if you can help me in either way will be great.
thanks
 
Upvote 0
you got formula solution from Fluff :) so it should be easy

edit:
anyway, what is your Excel version? and everyone there has the same version?
 
Last edited:
Upvote 0
Worksheet Formulas
CellFormula
B2=SUMIFS(Sheet1!$D$2:$D$4,Sheet1!$C$2:$C$4,$A2,Sheet1!$B$2:$B$4,B$1)

<tbody>
</tbody>

<tbody>
</tbody>
This solution seems to work.
Thanks,
What about if in row1 and coumn A instead of text has formulas that read all the customers from another sheet abd alll products from another sheet. Will the formula work or has to be text in column a and row 1 to work? I mean in row A3 insted of "Custoner2" I have =Sheet4!A5 which is the sheet that has in all coumn A all the customers.
 
Last edited by a moderator:
Upvote 0
It should work quite happily if there is a formula in there rather than text

Also please do not quote entire posts, as it just clutters up the board
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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